From 77b2bb18ae7b45b17fa3a426992f0885d5039e42 Mon Sep 17 00:00:00 2001 From: pancakes Date: Fri, 12 Sep 2025 20:01:07 +1000 Subject: [PATCH] Add page footer --- PancakesWeb/Components/Layout/MainLayout.razor | 10 +++++++++- PancakesWeb/Components/Layout/MainLayout.razor.css | 8 ++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/PancakesWeb/Components/Layout/MainLayout.razor b/PancakesWeb/Components/Layout/MainLayout.razor index 7ef0b71..2eceb99 100644 --- a/PancakesWeb/Components/Layout/MainLayout.razor +++ b/PancakesWeb/Components/Layout/MainLayout.razor @@ -1,4 +1,5 @@ -@using PancakesWeb.Components.UI +@using Microsoft.AspNetCore.Components.Sections +@using PancakesWeb.Components.UI @inherits LayoutComponentBase Skip to main content @@ -9,6 +10,13 @@ @Body + +
An unhandled error has occurred. Reload diff --git a/PancakesWeb/Components/Layout/MainLayout.razor.css b/PancakesWeb/Components/Layout/MainLayout.razor.css index c4f971c..96f6c7e 100644 --- a/PancakesWeb/Components/Layout/MainLayout.razor.css +++ b/PancakesWeb/Components/Layout/MainLayout.razor.css @@ -1,3 +1,11 @@ +footer { + margin-top: 3rem; + padding: 3rem 0; + + text-align: center; + background-color: var(--foreground); +} + #blazor-error-ui { color-scheme: light only; background: lightyellow;