fix: layout structure to use main tag (#11119)

### What problem does this PR solve?

For proper semantics Layout should use HTML `<main>` element to wrap the
Header and Outlet which produce`<section>` HTML elements.

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
Gifford Nowland
2025-11-09 18:15:57 -08:00
committed by GitHub
parent 82ca2e0378
commit b6cd282ccd

View File

@ -3,9 +3,9 @@ import { Header } from './next-header';
export default function NextLayout() {
return (
<section className="h-full flex flex-col">
<Header></Header>
<main className="h-full flex flex-col">
<Header />
<Outlet />
</section>
</main>
);
}