Rename content slot to main, remove h1 from header for better
Some checks failed
Build And Deploy / build-and-deploy (push) Has been cancelled

accessibility, and unify SVG fill color to #fff

Update BaseLayout to use a header <p> for the website title, rename the
main slot/id to
"main", and update all pages to match. Add CSS rule svg { fill:
currentColor }
and size header > p the same as h1. Fix a minor comment typo.
This commit is contained in:
badblocks 2026-03-22 13:56:24 -07:00
parent 75a413621d
commit da4925753d
Signed by: badblocks
SSH key fingerprint: SHA256:hEcM6BP4hKm9F7WsomNuXSBpPn2BSDnFzPSl3y1NerQ
8 changed files with 22 additions and 21 deletions

View file

@ -4,7 +4,7 @@ import Layout from "@layouts/BaseLayout.astro";
<Layout>
<title slot="head">Home</title>
<Fragment slot="content">
<Fragment slot="main">
<article id="hero">
<h2>Under Construction</h2>
<p>Pardon the dust!</p>