From 21fcd86ea90183129a29a804c1317afc74cba381 Mon Sep 17 00:00:00 2001 From: LimePotato Date: Sun, 29 Oct 2023 21:34:09 -0600 Subject: [PATCH] 202310292134 --- src/components/Card-noimg.astro | 62 ++++++++++++++++++++ src/components/Footer.astro | 42 ++++++++++++++ src/components/Header.astro | 58 ++++++++++++++++++ src/layouts/Layout.astro | 100 ++------------------------------ src/layouts/MDPost.astro | 84 +++++++++++++++++++++++++++ src/pages/blog.astro | 16 +++++ src/pages/posts/post-1.md | 13 +++++ 7 files changed, 279 insertions(+), 96 deletions(-) create mode 100755 src/components/Card-noimg.astro create mode 100644 src/components/Footer.astro create mode 100644 src/components/Header.astro create mode 100755 src/layouts/MDPost.astro create mode 100644 src/pages/posts/post-1.md diff --git a/src/components/Card-noimg.astro b/src/components/Card-noimg.astro new file mode 100755 index 0000000..3b7d9e1 --- /dev/null +++ b/src/components/Card-noimg.astro @@ -0,0 +1,62 @@ +--- +interface Props { + title: string; + body: string; + href: string; + source: string; +} + +const { href, title, body, source } = Astro.props; +--- + + + diff --git a/src/components/Footer.astro b/src/components/Footer.astro new file mode 100644 index 0000000..8989244 --- /dev/null +++ b/src/components/Footer.astro @@ -0,0 +1,42 @@ +--- +--- +
+
+ \ No newline at end of file diff --git a/src/components/Header.astro b/src/components/Header.astro new file mode 100644 index 0000000..886b8c7 --- /dev/null +++ b/src/components/Header.astro @@ -0,0 +1,58 @@ +--- +--- + \ No newline at end of file diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index 00ff91f..ef62889 100755 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -1,4 +1,6 @@ --- +import Header from '../components/Header.astro'; +import Footer from '../components/Footer.astro'; interface Props { title: string; } @@ -23,108 +25,14 @@ const { title } = Astro.props; - +
-
-
- +