From 5bc025bd279639d3f380bcb617e837f1398a4151 Mon Sep 17 00:00:00 2001 From: zepp Date: Wed, 19 Feb 2025 22:00:20 -0500 Subject: [PATCH] BasicLayout complete tested with index.astro in light and dark modes --- src/components/Footer.astro | 10 +++++-- src/components/Header.astro | 8 ++++- src/components/Navigation.astro | 9 +++++- src/layouts/BasicLayout.astro | 10 +++++++ src/pages/index.astro | 52 ++++++++++++++++++--------------- 5 files changed, 61 insertions(+), 28 deletions(-) create mode 100644 src/layouts/BasicLayout.astro diff --git a/src/components/Footer.astro b/src/components/Footer.astro index be65e2f..1c05d5b 100644 --- a/src/components/Footer.astro +++ b/src/components/Footer.astro @@ -1,5 +1,6 @@ --- const backgroundColor = "#ffd4de"; +const backgroundColorNightMode = "#240046"; const disabilityPrideBlack = "#595959"; const disabilityPrideRed = "#cf7280"; const disabilityPrideYellow = "#eede77"; @@ -14,7 +15,7 @@ const disabilityPrideGreen = "#3bb07d"; - \ No newline at end of file diff --git a/src/components/Header.astro b/src/components/Header.astro index 9f321a4..77f8969 100644 --- a/src/components/Header.astro +++ b/src/components/Header.astro @@ -6,6 +6,7 @@ const pageTitle = "emma's place"; const motto = "a celebration of self-expression through the personal web"; const backgroundColor = "#ffd4de"; +const backgroundColorNightMode = "#240046"; const biPridePink = "#d60270"; const biPridePurple = "#9b4f96"; const biPrideBlue = "#0038a8"; @@ -20,7 +21,7 @@ const biPrideBlue = "#0038a8"; - \ No newline at end of file diff --git a/src/components/Navigation.astro b/src/components/Navigation.astro index ad2a1c8..92f967e 100644 --- a/src/components/Navigation.astro +++ b/src/components/Navigation.astro @@ -1,5 +1,6 @@ --- const backgroundColor = "#ffd4de"; +const backgroundColorNightMode = "#240046"; const transPrideBlue = "#5bcefa"; const transPridePink = "#f5a9b8"; const transPrideWhite = "#ffffff"; @@ -36,7 +37,7 @@ const transPrideWhite = "#ffffff"; - \ No newline at end of file diff --git a/src/layouts/BasicLayout.astro b/src/layouts/BasicLayout.astro new file mode 100644 index 0000000..6c88f0a --- /dev/null +++ b/src/layouts/BasicLayout.astro @@ -0,0 +1,10 @@ +--- +import Header from "../components/Header.astro"; +import Navigation from "../components/Navigation.astro"; +import Footer from "../components/Footer.astro"; +--- + +
+ + +