diff --git a/gatsby-config.js b/gatsby-config.js index 99e62cc..d6bfa67 100644 --- a/gatsby-config.js +++ b/gatsby-config.js @@ -5,7 +5,9 @@ require("dotenv").config({ module.exports = { siteMetadata: { siteUrl: `https://www.yourdomain.tld`, - title: "CLI - Coopérative du numérique" + title: "CLI", + description: + "Coopérative de travailleuses et travailleurs du numérique basée à Strasbourg." }, plugins: [ "gatsby-plugin-sass", diff --git a/package.json b/package.json index dd5edff..82e0609 100644 --- a/package.json +++ b/package.json @@ -22,6 +22,7 @@ "gatsby-transformer-remark": "^4.8.0", "react": "^17.0.1", "react-dom": "^17.0.1", + "react-helmet": "^6.1.0", "react-toastify": "^7.0.4", "sass": "^1.37.5" }, diff --git a/src/components/layout/index.jsx b/src/components/layout/index.jsx new file mode 100644 index 0000000..edbd80f --- /dev/null +++ b/src/components/layout/index.jsx @@ -0,0 +1,21 @@ +import React from "react"; +import PropTypes from "prop-types"; + +import Header from "../header"; +import Footer from "../footer"; + +const Layout = ({ children }) => { + return ( + <> +
+
{children}
+