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}
|
socialNames={data.site.siteMetadata.social.names}
|
||||||
socialLinks={data.site.siteMetadata.social.links}
|
socialLinks={data.site.siteMetadata.social.links}
|
||||||
email={data.site.siteMetadata.email} />
|
email={data.site.siteMetadata.email} />
|
||||||
<div className={styles.content}>
|
<div className={styles.flexWrapper}>
|
||||||
<main>{children}</main>
|
<div className={styles.content}>
|
||||||
|
<main>{children}</main>
|
||||||
|
</div>
|
||||||
|
<Footer authorName={data.site.siteMetadata.author}/>
|
||||||
</div>
|
</div>
|
||||||
<Footer authorName={data.site.siteMetadata.author}/>
|
|
||||||
</>
|
</>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
.footer {
|
.footer {
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
border-top: 1px solid $blue;
|
||||||
}
|
}
|
||||||
|
|
||||||
.link {
|
.link {
|
||||||
|
|
|
@ -2,6 +2,9 @@
|
||||||
|
|
||||||
.header {
|
.header {
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
|
border-bottom: 1px solid $blue;
|
||||||
|
height: 70px;
|
||||||
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
.links {
|
.links {
|
||||||
|
|
|
@ -8,4 +8,11 @@
|
||||||
width: 80%;
|
width: 80%;
|
||||||
display: flex;
|
display: flex;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.flexWrapper {
|
||||||
|
display: flex;
|
||||||
|
min-height: calc(100vh - 70px);
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: space-between;
|
||||||
}
|
}
|
Loading…
Reference in New Issue