shift footer to the bottom of the page
This commit is contained in:
@@ -8,9 +8,22 @@ export default function App({ Component, pageProps }: AppProps) {
|
||||
return (
|
||||
<>
|
||||
<SEO />
|
||||
<div
|
||||
style={{
|
||||
display: "flex",
|
||||
flexDirection: "column",
|
||||
justifyContent: "space-between",
|
||||
minHeight: "100vh",
|
||||
}}
|
||||
>
|
||||
<div>
|
||||
<Navigation />
|
||||
<Component {...pageProps} />
|
||||
</div>
|
||||
<div>
|
||||
<Footer />
|
||||
</div>
|
||||
</div>
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -26,11 +26,6 @@ body {
|
||||
color: var(--color);
|
||||
min-height: 100vh;
|
||||
font-family: var(--fonts-norm);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
.footer {
|
||||
justify-self: end;
|
||||
}
|
||||
}
|
||||
h1,
|
||||
h2,
|
||||
|
||||
Reference in New Issue
Block a user