Refactor Layout structure by moving main content into a <main> tag for better semantic HTML and fix background

This commit is contained in:
2025-11-01 11:44:15 +00:00
parent be7d652c3a
commit 332ea17e6f
+4 -2
View File
@@ -12,7 +12,9 @@ import Header from "@components/Header.astro";
<title>Asis Ferrer Porfolio</title>
</head>
<Header />
<body class="antialiased bg-gradient-to-b from-[#111827] via-[#111827] to-[#1f2937]">
<slot />
<body class="antialiased">
<main class="bg-gradient-to-b from-[#111827] via-[#111827] to-[#1f2937]">
<slot />
</main>
</body>
</html>