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:
parent
82ca2e0378
commit
b6cd282ccd
1 changed files with 3 additions and 3 deletions
|
|
@ -3,9 +3,9 @@ import { Header } from './next-header';
|
||||||
|
|
||||||
export default function NextLayout() {
|
export default function NextLayout() {
|
||||||
return (
|
return (
|
||||||
<section className="h-full flex flex-col">
|
<main className="h-full flex flex-col">
|
||||||
<Header></Header>
|
<Header />
|
||||||
<Outlet />
|
<Outlet />
|
||||||
</section>
|
</main>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue