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
|
||||
|
||||
Reference in New Issue
Block a user