Remove useless files
This commit is contained in:
+1
-11
@@ -1,7 +1,6 @@
|
||||
import {useState} from 'react'
|
||||
import PropTypes from 'prop-types'
|
||||
import Image from 'next/image'
|
||||
import {Box, Container, Grid, Typography, useMediaQuery} from '@material-ui/core'
|
||||
import {Box, Container, Grid, Typography} from '@material-ui/core'
|
||||
import {makeStyles} from '@material-ui/core/styles'
|
||||
import GroupIcon from '@material-ui/icons/Group'
|
||||
import MusicNoteIcon from '@material-ui/icons/MusicNote'
|
||||
@@ -11,7 +10,6 @@ import TwitterIcon from '@material-ui/icons/Twitter'
|
||||
|
||||
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'
|
||||
import RezoMenu from '../components/rezo-menu'
|
||||
@@ -66,15 +64,12 @@ const REZO = [
|
||||
|
||||
export default function Home({kantiteAwtis, kantiteTeks}) {
|
||||
const classes = useStyles()
|
||||
const [handleOpen, setHandleOpen] = useState(false)
|
||||
|
||||
const kantite = [
|
||||
{id: 1, tit: 'Tèks', soutit: 'Texte', kantite: kantiteTeks, route: '/teks'},
|
||||
{id: 2, tit: 'Awtis', soutit: 'Artiste', kantite: kantiteAwtis, route: '/awtis?paj&paj=1'}
|
||||
]
|
||||
|
||||
const matches = useMediaQuery('(max-width:600px)')
|
||||
|
||||
return (
|
||||
<HeadLayout tab={0}>
|
||||
<div style={{display: 'flex', flexDirection: 'column', minHeight: '100vh'}}>
|
||||
@@ -100,11 +95,6 @@ export default function Home({kantiteAwtis, kantiteTeks}) {
|
||||
{kantite.map(k => <KatKayLa key={k.id} tit={k.tit} soutit={k.soutit} kantite={k.kantite} route={k.route} />)}
|
||||
</Grid>
|
||||
</Container>
|
||||
<Carousel
|
||||
isMobile={matches}
|
||||
handleOpen={handleOpen}
|
||||
setHandleOpen={setHandleOpen}
|
||||
/>
|
||||
<Footer />
|
||||
</div>
|
||||
</HeadLayout>
|
||||
|
||||
Reference in New Issue
Block a user