Improve bookcard UI responsiveness (#231)
* Improve bookcard responsive UI * Hamburger menu * Resolved conflict, mergin to upstream * fix missing bookmark button
This commit is contained in:
@@ -12,6 +12,7 @@ import { useStaticQuery, graphql } from "gatsby"
|
||||
import Header from "./header"
|
||||
import "./layout.css"
|
||||
import "bootstrap/dist/css/bootstrap.min.css"
|
||||
import { Container } from "react-bootstrap"
|
||||
|
||||
const Layout = ({ children }) => {
|
||||
const data = useStaticQuery(graphql`
|
||||
@@ -27,10 +28,14 @@ const Layout = ({ children }) => {
|
||||
return (
|
||||
<>
|
||||
<Header siteTitle={data.site.siteMetadata.title} />
|
||||
<div className="container mx-auto px-10">
|
||||
<Container fluid>
|
||||
<main>{children}</main>
|
||||
</div>
|
||||
|
||||
<footer>
|
||||
© {new Date().getFullYear()}, Built with
|
||||
{` `}
|
||||
<a href="https://www.gatsbyjs.org">Gatsby</a>
|
||||
</footer>
|
||||
</Container>
|
||||
</>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user