Finish layout

This commit is contained in:
LordMathis 2020-09-18 16:56:47 +02:00
parent 9e665f6673
commit 8f056f3805
4 changed files with 16 additions and 3 deletions

View File

@ -37,10 +37,12 @@ const Layout = ({ children, title }) => {
socialNames={data.site.siteMetadata.social.names}
socialLinks={data.site.siteMetadata.social.links}
email={data.site.siteMetadata.email} />
<div className={styles.content}>
<main>{children}</main>
<div className={styles.flexWrapper}>
<div className={styles.content}>
<main>{children}</main>
</div>
<Footer authorName={data.site.siteMetadata.author}/>
</div>
<Footer authorName={data.site.siteMetadata.author}/>
</>
)
}

View File

@ -3,6 +3,7 @@
.footer {
padding: 10px;
text-align: center;
border-top: 1px solid $blue;
}
.link {

View File

@ -2,6 +2,9 @@
.header {
overflow: auto;
border-bottom: 1px solid $blue;
height: 70px;
box-sizing: border-box;
}
.links {

View File

@ -8,4 +8,11 @@
width: 80%;
display: flex;
}
}
.flexWrapper {
display: flex;
min-height: calc(100vh - 70px);
flex-direction: column;
justify-content: space-between;
}