From 9735f3bd1d8f823402814116464f1e3ae344e3e9 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Tue, 2 Jan 2024 01:35:01 -0500 Subject: Starting to take shape --- src/layouts/Default.astro | 57 ++++++++++++++++++++++++++++++++++ src/layouts/Layout.astro | 79 ----------------------------------------------- 2 files changed, 57 insertions(+), 79 deletions(-) create mode 100644 src/layouts/Default.astro delete mode 100644 src/layouts/Layout.astro (limited to 'src/layouts') diff --git a/src/layouts/Default.astro b/src/layouts/Default.astro new file mode 100644 index 0000000..9cbaf7a --- /dev/null +++ b/src/layouts/Default.astro @@ -0,0 +1,57 @@ +--- +interface Props { + title: string; +} + +const { title } = Astro.props; +import Navbar from '../components/Navbar.astro'; +--- + + + + + + + + + + + + + {title} + + + + +
+

© Copyright 2018-2024, Andrew Lee

+
+ + + diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro deleted file mode 100644 index 23e3efb..0000000 --- a/src/layouts/Layout.astro +++ /dev/null @@ -1,79 +0,0 @@ ---- -interface Props { - title: string; -} - -const { title } = Astro.props; -import Navbar from '../components/Navbar.astro'; ---- - - - - - - - - - - - - - {title} - - - - -
-

© Copyright 2018-2024

-
- - - -- cgit v1.2.3