Add Footer to all pages

This commit is contained in:
2023-07-23 10:28:43 +04:00
parent d47f7e5585
commit b113266e2e
5 changed files with 13 additions and 1 deletions
+5 -1
View File
@@ -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
+2
View File
@@ -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>
)
}
+2
View File
@@ -7,6 +7,7 @@ import Statistik from '../components/akey/statistik'
import Akey from '../components/akey'
import okiLogo from '../public/logo-512x512.png'
import Footer from '../components/footer'
async function jwennDone() {
const statistik = await jwennStats()
@@ -27,6 +28,7 @@ export default async function Page() {
<Container sx={{flexGrow: 100}}>
<Statistik statistik={statistik} />
</Container>
<Footer />
</Box>
)
}
+2
View File
@@ -13,6 +13,7 @@ import EkriTeks from '../../components/soumet/ekri-teks'
import {jwennUserEpiToken, jwennUserEpiUsername} from '../../lib/oki-api'
import NewPassword from '../../components/password/new-password'
import ChwaTeks from '../../components/soumet/chwa-teks'
import Footer from '../../components/footer'
const Alert = forwardRef(function Alert(props, ref) {
return <MuiAlert ref={ref} elevation={6} variant='filled' {...props} />
@@ -103,6 +104,7 @@ export default function Pwopose() {
</Snackbar>
)}
</Box>
<Footer />
</Box>
)
}
+2
View File
@@ -5,6 +5,7 @@ import {Box, Container, Typography, Paper} from '@mui/material'
import PaymentMethod from '../../components/soutyen/payment-method'
import Presantasyon from '../../components/soutyen/presantasyon'
import Footer from '../../components/footer'
export default function Sipote() {
const [paymentMethod, setPaymentMethod] = useState(0)
@@ -27,6 +28,7 @@ export default function Sipote() {
<Presantasyon />
</Container>
</Box>
<Footer />
</Box>
)
}