Add page footer

This commit is contained in:
pancakes 2025-09-12 20:01:07 +10:00
parent 1aff9f655d
commit 77b2bb18ae
Signed by: pancakes
SSH key fingerprint: SHA256:yrp4c4hhaPoPG07fb4QyQIgAdlbUdsJvUAydJEWnfTw
2 changed files with 17 additions and 1 deletions

View file

@ -1,4 +1,5 @@
@using PancakesWeb.Components.UI
@using Microsoft.AspNetCore.Components.Sections
@using PancakesWeb.Components.UI
@inherits LayoutComponentBase
<a class="skip-to-content" href="#main-content">Skip to main content</a>
@ -9,6 +10,13 @@
@Body
<footer>
<div class="container">
<SectionOutlet SectionName="Footer"/>
<p>🐈‍⬛</p>
</div>
</footer>
<div id="blazor-error-ui" data-nosnippet>
An unhandled error has occurred.
<a href="." class="reload">Reload</a>

View file

@ -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;