1
Fork 0
mirror of https://github.com/Steffo99/steffoweb.git synced 2024-11-24 00:54:31 +00:00

Use <main> instead of <div> for the main component

This commit is contained in:
Steffo 2023-05-27 17:34:04 +02:00
parent 8ee14259ac
commit 556cf860cd
Signed by: steffo
GPG key ID: 2A24051445686895

View file

@ -16,9 +16,9 @@ const App = ({Component, pageProps}: AppProps) => {
<h1> <h1>
<Image alt={""} src={imgSRound} style={{height: "48px", width: "48px", display: "inline-block", verticalAlign: "text-bottom"}}/> Steffo's website <Image alt={""} src={imgSRound} style={{height: "48px", width: "48px", display: "inline-block", verticalAlign: "text-bottom"}}/> Steffo's website
</h1> </h1>
<div> <main>
<Component {...pageProps}/> <Component {...pageProps}/>
</div> </main>
<footer> <footer>
© {new Date().getFullYear()} Stefano Pigozzi | <Link href={"https://github.com/Steffo99/steffoweb-2021"}>Source code</Link> © {new Date().getFullYear()} Stefano Pigozzi | <Link href={"https://github.com/Steffo99/steffoweb-2021"}>Source code</Link>
</footer> </footer>