From 0f65b996085d8aa76029163817bf7f28215cd5d6 Mon Sep 17 00:00:00 2001 From: "houston[bot]" Date: Thu, 12 Jun 2025 22:12:30 +0200 Subject: Initial commit from Astro --- src/layouts/CenteredLayout.astro | 28 +++++++++++++++++++++ src/layouts/StandardLayout.astro | 54 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 82 insertions(+) create mode 100644 src/layouts/CenteredLayout.astro create mode 100644 src/layouts/StandardLayout.astro (limited to 'src/layouts') diff --git a/src/layouts/CenteredLayout.astro b/src/layouts/CenteredLayout.astro new file mode 100644 index 0000000..1b9286c --- /dev/null +++ b/src/layouts/CenteredLayout.astro @@ -0,0 +1,28 @@ +--- +import "../styles/global.css"; +import Analytics from "../components/Analytics.astro"; + +interface Props { + title?: string; +} + +const { title = "Astro Site" } = Astro.props; +--- + + + + + + + + {title} + + + +
+
+ +
+
+ + diff --git a/src/layouts/StandardLayout.astro b/src/layouts/StandardLayout.astro new file mode 100644 index 0000000..e6a4bec --- /dev/null +++ b/src/layouts/StandardLayout.astro @@ -0,0 +1,54 @@ +--- +import "../styles/global.css"; + +interface Props { + title?: string; + description?: string; +} + +const { + title = "Astro Site", + description = "A simple Astro site with blog functionality", +} = Astro.props; + +import Analytics from "../components/Analytics.astro"; +--- + + + + + + + + + {title} + + + +
+
+ +
+
+ +
+
+ +
+
+ + + + -- cgit v1.3.1