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; - +
-
-
- +