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 (
|
return (
|
||||||
<>
|
<>
|
||||||
<SEO />
|
<SEO />
|
||||||
|
<div
|
||||||
|
style={{
|
||||||
|
display: "flex",
|
||||||
|
flexDirection: "column",
|
||||||
|
justifyContent: "space-between",
|
||||||
|
minHeight: "100vh",
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
<div>
|
||||||
<Navigation />
|
<Navigation />
|
||||||
<Component {...pageProps} />
|
<Component {...pageProps} />
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
<Footer />
|
<Footer />
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -26,11 +26,6 @@ body {
|
|||||||
color: var(--color);
|
color: var(--color);
|
||||||
min-height: 100vh;
|
min-height: 100vh;
|
||||||
font-family: var(--fonts-norm);
|
font-family: var(--fonts-norm);
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
.footer {
|
|
||||||
justify-self: end;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
h1,
|
h1,
|
||||||
h2,
|
h2,
|
||||||
|
|||||||
Reference in New Issue
Block a user