diff --git a/components/BlogIndexPage.tsx b/components/BlogIndexPage.tsx deleted file mode 100644 index cbde736..0000000 --- a/components/BlogIndexPage.tsx +++ /dev/null @@ -1,44 +0,0 @@ -import { PageProps } from "$fresh/server.ts"; - -interface Post { - slug: string; - title: string; - publishedAt: Date; - content: string; - snippet: string; -} - -export default function BlogIndexPage(props: PageProps) { - const posts = props.data; - return ( -
-

Blog

-
- {posts.map((post) => )} -
-
- ); -} - -function PostCard(props: { post: Post }) { - const { post } = props; - return ( -
- -

- {post.title} -

- -
- {post.snippet} -
-
-
- ); -} diff --git a/components/Button.tsx b/components/Button.tsx deleted file mode 100644 index f1b80a0..0000000 --- a/components/Button.tsx +++ /dev/null @@ -1,12 +0,0 @@ -import { JSX } from "preact"; -import { IS_BROWSER } from "$fresh/runtime.ts"; - -export function Button(props: JSX.HTMLAttributes) { - return ( -