Add Footer to all pages
This commit is contained in:
@@ -4,6 +4,7 @@ import Box from '@mui/material/Box'
|
||||
import AwtisDetay from '../../../components/awtis/awtis-detay'
|
||||
import {jwennAwtisEpiSlug} from '../../../lib/oki-api'
|
||||
import {formatKuveti} from '../../../lib/kuveti'
|
||||
import Footer from '../../../components/footer'
|
||||
|
||||
const apiUrl = process.env.NEXT_PUBLIC_API_URL_ROOT || 'http://localhost:1337'
|
||||
const siteUrl = process.env.NEXT_PUBLIC_SITE_URL || 'http://localhost:3000'
|
||||
@@ -80,7 +81,10 @@ export default async function AwtisPajSlug({params}) {
|
||||
return (
|
||||
<>
|
||||
<Box sx={{display: 'flex', flexDirection: 'column', minHeight: '100vh'}}>
|
||||
<AwtisDetay anAwtis={anAwtis.attributes} />
|
||||
<Box sx={{flexGrow: 1}}>
|
||||
<AwtisDetay anAwtis={anAwtis.attributes} />
|
||||
</Box>
|
||||
<Footer />
|
||||
</Box>
|
||||
<section>
|
||||
<script
|
||||
|
||||
@@ -8,6 +8,7 @@ import AwtisKat from '../../components/awtis/awtis-kat'
|
||||
import Pajinasyon from '../../components/awtis/pajinasyon'
|
||||
|
||||
import {jwennAwtisPajinasyon} from '../../lib/oki-api'
|
||||
import Footer from '../../components/footer'
|
||||
|
||||
export const metadata = {
|
||||
title: 'OKI | Awtis - Liste des artistes',
|
||||
@@ -70,6 +71,7 @@ export default async function AwitsPaj({searchParams}) {
|
||||
{awtisPouChakPaj.data.map(artiste => <AwtisKat key={artiste.id} artiste={artiste.attributes} />)}
|
||||
</Grid>
|
||||
</Container>
|
||||
<Footer />
|
||||
</Box>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user