diff --git a/content/images/gatsby.jpeg b/content/images/gatsby.jpeg deleted file mode 100644 index 487b936a..00000000 Binary files a/content/images/gatsby.jpeg and /dev/null differ diff --git a/package.json b/package.json index 8f26c93a..99d0fcf6 100644 --- a/package.json +++ b/package.json @@ -17,6 +17,7 @@ }, "dependencies": { "@material-ui/core": "latest", + "@material-ui/icons": "^4.9.1", "@material-ui/styles": "latest", "deepmerge": "^4.2.2", "gatsby": "latest", diff --git a/src/layout/header.tsx b/src/layout/header.tsx index 664a0d8c..1f791c11 100644 --- a/src/layout/header.tsx +++ b/src/layout/header.tsx @@ -1,7 +1,10 @@ import { Link as GatsbyLink } from 'gatsby' import React, { FC } from 'react' -import { AppBar, Toolbar, Typography, Link, Button } from '@material-ui/core' +import { AppBar, Toolbar, Link, Button } from '@material-ui/core' import { makeStyles } from '@material-ui/styles' +import Brightness7Icon from '@material-ui/icons/Brightness7' +import Brightness4Icon from '@material-ui/icons/Brightness4' +import Box from '@material-ui/core/Box' const useStyles = makeStyles({ toolbar: {}, @@ -14,29 +17,40 @@ const useStyles = makeStyles({ }) export interface HeaderProps { - siteTitle?: string theme: 'light' | 'dark' onToggleTheme: () => void } -const Header: FC = ({ siteTitle = '', onToggleTheme }) => { +const Header: FC = ({ onToggleTheme, theme }) => { const classes = useStyles() return ( - + - - - {siteTitle} - - + + Logo + + + + + + + diff --git a/src/pages/about.tsx b/src/pages/about.tsx new file mode 100644 index 00000000..d1e68ea1 --- /dev/null +++ b/src/pages/about.tsx @@ -0,0 +1,14 @@ +import React, { FC } from 'react' +import SEO from '../components/seo' +import Layout from '../layout' + +const Downloads: FC = () => { + return ( + + + A propos + + ) +} + +export default Downloads diff --git a/src/pages/contact.tsx b/src/pages/contact.tsx new file mode 100644 index 00000000..673bf374 --- /dev/null +++ b/src/pages/contact.tsx @@ -0,0 +1,14 @@ +import React, { FC } from 'react' +import SEO from '../components/seo' +import Layout from '../layout' + +const Downloads: FC = () => { + return ( + + + Contact + + ) +} + +export default Downloads diff --git a/src/pages/downloads.tsx b/src/pages/downloads.tsx new file mode 100644 index 00000000..c19aaf42 --- /dev/null +++ b/src/pages/downloads.tsx @@ -0,0 +1,14 @@ +import React, { FC } from 'react' +import SEO from '../components/seo' +import Layout from '../layout' + +const Downloads: FC = () => { + return ( + + + Téléchargements + + ) +} + +export default Downloads diff --git a/src/pages/faq.tsx b/src/pages/faq.tsx new file mode 100644 index 00000000..48900a48 --- /dev/null +++ b/src/pages/faq.tsx @@ -0,0 +1,14 @@ +import React, { FC } from 'react' +import SEO from '../components/seo' +import Layout from '../layout' + +const Downloads: FC = () => { + return ( + + + FAQ + + ) +} + +export default Downloads diff --git a/static/images/logo.png b/static/images/logo.png new file mode 100644 index 00000000..250d6c30 Binary files /dev/null and b/static/images/logo.png differ diff --git a/yarn.lock b/yarn.lock index 2777f2b8..80697773 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1178,6 +1178,13 @@ react-is "^16.8.0" react-transition-group "^4.4.0" +"@material-ui/icons@^4.9.1": + version "4.9.1" + resolved "https://registry.yarnpkg.com/@material-ui/icons/-/icons-4.9.1.tgz#fdeadf8cb3d89208945b33dbc50c7c616d0bd665" + integrity sha512-GBitL3oBWO0hzBhvA9KxqcowRUsA0qzwKkURyC8nppnC3fw54KPKZ+d4V1Eeg/UnDRSzDaI9nGCdel/eh9AQMg== + dependencies: + "@babel/runtime" "^7.4.4" + "@material-ui/styles@^4.10.0", "@material-ui/styles@latest": version "4.10.0" resolved "https://registry.yarnpkg.com/@material-ui/styles/-/styles-4.10.0.tgz#2406dc23aa358217aa8cc772e6237bd7f0544071"