diff --git a/Foxnouns.Frontend/src/app.scss b/Foxnouns.Frontend/src/app.scss index e1d59ab..c678355 100644 --- a/Foxnouns.Frontend/src/app.scss +++ b/Foxnouns.Frontend/src/app.scss @@ -64,3 +64,11 @@ max-width: 200px; border-radius: 3px; } + +.big-footer { + @media (prefers-color-scheme: dark) { + background-color: bootstrap.shade-color(bootstrap.$dark, 20%); + } + + background-color: bootstrap.shade-color(bootstrap.$light, 5%); +} diff --git a/Foxnouns.Frontend/src/lib/components/Footer.svelte b/Foxnouns.Frontend/src/lib/components/Footer.svelte new file mode 100644 index 0000000..f3315f2 --- /dev/null +++ b/Foxnouns.Frontend/src/lib/components/Footer.svelte @@ -0,0 +1,83 @@ + + + diff --git a/Foxnouns.Frontend/src/routes/+layout.svelte b/Foxnouns.Frontend/src/routes/+layout.svelte index ceff270..e5be130 100644 --- a/Foxnouns.Frontend/src/routes/+layout.svelte +++ b/Foxnouns.Frontend/src/routes/+layout.svelte @@ -3,11 +3,16 @@ import "../app.scss"; import type { LayoutData } from "./$types"; import Navbar from "$components/Navbar.svelte"; + import Footer from "$components/Footer.svelte"; type Props = { children: Snippet; data: LayoutData }; let { children, data }: Props = $props(); - - -{@render children?.()} +
+
+ + {@render children?.()} +
+