fix: replace div with main element for semantic HTML structure in Layout component
This commit is contained in:
parent
6c1caf1c27
commit
f3f3adfd96
1 changed files with 2 additions and 2 deletions
|
|
@ -23,9 +23,9 @@ const { title, description } = Astro.props;
|
||||||
</head>
|
</head>
|
||||||
<body class="h-screen max-w-5xl mx-auto flex flex-col font-sans p-4">
|
<body class="h-screen max-w-5xl mx-auto flex flex-col font-sans p-4">
|
||||||
<Header />
|
<Header />
|
||||||
<div class="w-full max-w-3xl mx-auto flex-1 py-12">
|
<main class="w-full max-w-3xl mx-auto flex-1 py-12">
|
||||||
<slot />
|
<slot />
|
||||||
</div>
|
</main>
|
||||||
<Footer />
|
<Footer />
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue