From 6736b26552b2fdc566fd5e154cd07f3ce909fddc Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Tue, 31 Dec 2024 22:11:04 -0500 Subject: Website now uses astro rather than plain html; Added a few more releases --- src/layouts/Layout.astro | 34 ++++++++++++++++++++++++++++++++++ src/layouts/Page.astro | 10 ++++++++++ 2 files changed, 44 insertions(+) create mode 100644 src/layouts/Layout.astro create mode 100644 src/layouts/Page.astro (limited to 'src/layouts') diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro new file mode 100644 index 0000000..2ca1f25 --- /dev/null +++ b/src/layouts/Layout.astro @@ -0,0 +1,34 @@ +--- +interface Props { + title: string; + description: string; +} + +const { title = "ShiftOS: The Archive", description } = Astro.props; +import '../styles/style.css'; +--- + + + + + + + + + + + + + + + + + + + + {title} + + + + + diff --git a/src/layouts/Page.astro b/src/layouts/Page.astro new file mode 100644 index 0000000..2cafa0c --- /dev/null +++ b/src/layouts/Page.astro @@ -0,0 +1,10 @@ +--- +import Layout from '../layouts/Layout.astro'; +const { title, description } = Astro.props; +--- + + +
+ +
+
\ No newline at end of file -- cgit v1.2.3