Finish layout
This commit is contained in:
parent
9e665f6673
commit
8f056f3805
|
@ -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}/>
|
||||
</>
|
||||
)
|
||||
}
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
.footer {
|
||||
padding: 10px;
|
||||
text-align: center;
|
||||
border-top: 1px solid $blue;
|
||||
}
|
||||
|
||||
.link {
|
||||
|
|
|
@ -2,6 +2,9 @@
|
|||
|
||||
.header {
|
||||
overflow: auto;
|
||||
border-bottom: 1px solid $blue;
|
||||
height: 70px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.links {
|
||||
|
|
|
@ -8,4 +8,11 @@
|
|||
width: 80%;
|
||||
display: flex;
|
||||
}
|
||||
}
|
||||
|
||||
.flexWrapper {
|
||||
display: flex;
|
||||
min-height: calc(100vh - 70px);
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
}
|
Loading…
Reference in New Issue