Welcome to Astro
-
- To get started, open the directory src/pages
in your project.
- Code Challenge: Tweak the "Welcome to Astro" message above.
-
-
-
From d4c5b29f3d1e1389a46093f00f86efc290678c8c Mon Sep 17 00:00:00 2001 From: bitbloxhub <45184892+bitbloxhub@users.noreply.github.com> Date: Sat, 22 Jul 2023 12:01:26 -0700 Subject: [PATCH] a blog? --- src/components/Card.astro | 63 -------------------------- src/layouts/MarkdownPostLayout.astro | 7 +++ src/pages/index.astro | 68 +--------------------------- src/pages/posts/first-post.md | 11 +++++ 4 files changed, 20 insertions(+), 129 deletions(-) delete mode 100644 src/components/Card.astro create mode 100644 src/layouts/MarkdownPostLayout.astro create mode 100644 src/pages/posts/first-post.md diff --git a/src/components/Card.astro b/src/components/Card.astro deleted file mode 100644 index 200b041..0000000 --- a/src/components/Card.astro +++ /dev/null @@ -1,63 +0,0 @@ ---- -interface Props { - title: string - body: string - href: string -} - -const { href, title, body } = Astro.props ---- - -
- {body} -
- -Written by {frontmatter.author}
+Published {frontmatter.pubDate}
+
- To get started, open the directory src/pages
in your project.
- Code Challenge: Tweak the "Welcome to Astro" message above.
-