diff --git a/pages/index.js b/pages/index.js index 5de16e5..60334af 100644 --- a/pages/index.js +++ b/pages/index.js @@ -1,21 +1,66 @@ import {useState} from 'react' -import {Button, useMediaQuery} from '@material-ui/core' +import PropTypes from 'prop-types' +import Image from 'next/image' +import {Button, Container, Grid, Typography, useMediaQuery, Link} from '@material-ui/core' import axios from 'axios' +import TouchAppIcon from '@material-ui/icons/TouchApp' +import KatKayLa from '../components/kat-kay-la' import HeadLayout from '../components/head-layout' import Carousel from '../components/carousel' -export default function Home() { +export default function Home({konbyenAwtis, konbyenTeks}) { const [handleOpen, setHandleOpen] = useState(false) const handleClick = () => { setHandleOpen(true) } + const kombyen = [ + {id: 1, tit: 'Konbyen Awtis', kombyen: konbyenAwtis, route: '/awtis?paj&paj=1'}, + {id: 2, tit: 'Konbyen Tèks', kombyen: konbyenTeks, route: '/teks'} + ] + const matches = useMediaQuery('(max-width:600px)') return ( - + + Logo #OKi + + Organisation KA Internationale + + + Transcriptions et traductions + + + + kontak@o-k-i.net + + + + + + {kombyen.map(k => )} + + + + +