Rename content slot to main, remove h1 from header for better
Some checks failed
Build And Deploy / build-and-deploy (push) Has been cancelled
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:
parent
75a413621d
commit
da4925753d
8 changed files with 22 additions and 21 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue