From 8b6c21b5f93ea6884708b3f9d542666bbd12d122 Mon Sep 17 00:00:00 2001
From: schererleander <leander@schererleander.de>
Date: Mon, 14 Jul 2025 18:09:54 +0200
Subject: chore: remove components replaced by shadcn

---
 src/components/Entry.tsx | 46 ----------------------------------------------
 1 file changed, 46 deletions(-)
 delete mode 100644 src/components/Entry.tsx

(limited to 'src/components/Entry.tsx')

diff --git a/src/components/Entry.tsx b/src/components/Entry.tsx
deleted file mode 100644
index 4051791..0000000
--- a/src/components/Entry.tsx
+++ /dev/null
@@ -1,46 +0,0 @@
-interface Meta {
-  title: string;
-  excerpt: string;
-  date: string;
-  cover?: string;
-  href?: string;
-}
-
-export default function Entry({
-  title,
-  excerpt,
-  date,
-  cover,
-  href,
-}: Meta) {
-  const formatted = new Intl.DateTimeFormat("de-DE", { dateStyle: "medium" }).format(new Date(date));
-
-  const content = (
-    <div className="flex flex-col h-full gap-2 p-2 rounded-lg border border-neutral-300 dark:border-neutral-800 bg-neutral-100 dark:bg-neutral-900">
-      {cover && (
-        <img
-          src={cover}
-          alt={title}
-          className="w-full h-48 object-cover rounded-md"
-        />
-      )}
-      <h3 className="text-lg font-semibold text-neutral-900 dark:text-neutral-100">
-        {title}
-      </h3>
-      <p className="mt-1 text-sm text-neutral-700 dark:text-neutral-300">
-        {excerpt}
-      </p>
-      <time className="mt-auto block text-xs text-neutral-500 dark:text-neutral-400">
-        {formatted}
-      </time>
-    </div>
-  );
-
-  return href ? (
-    <a href={href} target="_blank" rel="noopener noreferrer">
-      {content}
-    </a>
-  ) : (
-    content
-  );
-}
-- 
cgit v1.3.1

