Note: The default ITS GitLab runner is a shared resource and is subject to slowdowns during heavy usage.
You can run your own GitLab runner that is dedicated just to your group if you need to avoid processing delays.

Commit 0f8a8626 authored by Jonathan McGlone's avatar Jonathan McGlone
Browse files

add footer component; change site title

parent 9a30995c
module.exports = {
siteMetadata: {
title: `Gatsby Default Starter`,
description: `Kick off your next, great Gatsby project with this default starter. This barebones starter ships with the main Gatsby configuration files you might need.`,
author: `@gatsbyjs`,
title: `Lever Press`,
description: `Open Access. Digitally Native. Liberal Arts.`,
author: `Lever Press`,
},
plugins: [
{
......
......@@ -33,6 +33,7 @@ export const bookQuery = graphql`
const BookList = () => {
const data = useStaticQuery(bookQuery)
console.log(data)
return (
<section>
......
import React from 'react'
import {graphql, useStaticQuery} from 'gatsby'
export const titleQuery = graphql`
{
site {
siteMetadata {
title
}
}
}
`
const Footer = () => {
const data = useStaticQuery(titleQuery)
const {title} = data.site.siteMetadata
return (
<footer className="container">
<h2>{title}</h2>
</footer>
)
}
export default Footer
\ No newline at end of file
......@@ -5,9 +5,9 @@
position: absolute;
}
.terrible-card-container {
/* .terrible-card-container {
width: 200px;
height: 500px;
padding: 10px;
border: black;
}
} */
......@@ -2,13 +2,15 @@ import React from "react"
import "./bootstrap.min.css"
import "./layout.css"
import Navbar from "./navbar"
import Footer from "./footer"
const Layout = ({ children }) => {
return (
<>
<div className="container">
<Navbar />
{children}
</>
<Footer />
</div>
)
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment