From ba1be9573ef20d6424ae987257a1c727c47d4b53 Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Tue, 6 Oct 2026 20:46:31 +0300 Subject: Initial setup for website rewrite --- src/components/BlogItem.astro | 40 ---------------------------------------- 1 file changed, 40 deletions(-) delete mode 100644 src/components/BlogItem.astro (limited to 'src/components/BlogItem.astro') diff --git a/src/components/BlogItem.astro b/src/components/BlogItem.astro deleted file mode 100644 index 8440d85..0000000 --- a/src/components/BlogItem.astro +++ /dev/null @@ -1,40 +0,0 @@ ---- -import TerminalBorder from "@components/TerminalBorder.astro"; - -function formatDate(date: Date) { - const day = date.getDate(); - const month = date.toLocaleString("default", { month: "long" }); - const year = date.getFullYear(); - return `${month} ${day}, ${year}`; -} - -interface Props { - title: string; - description: string; - date: Date; - href?: string; - header?: string; -} - -const { title, description, date, href, header } = Astro.props; ---- - - - - { - href ? ( - -

- {title} -

-

{description}

-
- ) : ( - <> -

{title}

-

{description}

- - ) - } -
-
-- cgit v1.3.1