Added footer styles via footer-text
This commit is contained in:
committed by
Vishnu Ks
parent
a39e38c580
commit
9c966cc21e
@@ -30,7 +30,7 @@ const Layout = ({ children }) => {
|
|||||||
<Header siteTitle={data.site.siteMetadata.title} />
|
<Header siteTitle={data.site.siteMetadata.title} />
|
||||||
<Container fluid>
|
<Container fluid>
|
||||||
<main>{children}</main>
|
<main>{children}</main>
|
||||||
<footer>
|
<footer class ="footer-text">
|
||||||
© {new Date().getFullYear()}, Built with
|
© {new Date().getFullYear()}, Built with
|
||||||
{` `}
|
{` `}
|
||||||
<a href="https://www.gatsbyjs.org">Gatsby</a>
|
<a href="https://www.gatsbyjs.org">Gatsby</a>
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
.custom-header{
|
.custom-header{
|
||||||
position: fixed;
|
position: fixed;
|
||||||
}
|
}
|
||||||
|
.footer-text {
|
||||||
|
text-align:center;
|
||||||
|
padding-bottom:1 rem;
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user