diff --git a/components/footer.js b/components/footer.js new file mode 100644 index 0000000..673f7fd --- /dev/null +++ b/components/footer.js @@ -0,0 +1,35 @@ +import React, {useState} from 'react' +import {Container, Link, makeStyles, Typography} from '@material-ui/core' +import CGUDialog from './cgu/cgu-dialog' + +const useStyles = makeStyles(theme => ({ + footer: { + padding: theme.spacing(3, 2), + marginTop: 'auto', + backgroundColor: + theme.palette.type === 'light' ? theme.palette.grey[200] : theme.palette.grey[800] + }, + text: { + fontWeight: 'bold' + } +})) + +export default function Footer() { + const classes = useStyles() + const [open, setOpen] = useState(false) + + return ( + <> + + + + ) +} diff --git a/pages/index.js b/pages/index.js index a438179..0b62e2b 100644 --- a/pages/index.js +++ b/pages/index.js @@ -10,6 +10,7 @@ import OndemandVideoIcon from '@material-ui/icons/OndemandVideo' import KatKayLa from '../components/kat-kay-la' import HeadLayout from '../components/head-layout' import Carousel from '../components/carousel' +import Footer from '../components/footer' import {jwennTeksKantite, jwennAwtisKantite} from '../lib/oki-api' export default function Home({kantiteAwtis, kantiteTeks}) { @@ -27,86 +28,89 @@ export default function Home({kantiteAwtis, kantiteTeks}) { return ( - - Logo #OKi + + Logo #OKi + + Organisation KA Internationale + + + + + {kantite.map(k => )} + + + + + + + + + + + + + + + + + + + + + + + + + - - Organisation KA Internationale - - - - - {kantite.map(k => )} - - - - - - - - - - - - - - - - - - - - - - - - - +