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 AwtisDetay from '../../../components/awtis/awtis-detay'
|
||||||
import {jwennAwtisEpiSlug} from '../../../lib/oki-api'
|
import {jwennAwtisEpiSlug} from '../../../lib/oki-api'
|
||||||
import {formatKuveti} from '../../../lib/kuveti'
|
import {formatKuveti} from '../../../lib/kuveti'
|
||||||
|
import Footer from '../../../components/footer'
|
||||||
|
|
||||||
const apiUrl = process.env.NEXT_PUBLIC_API_URL_ROOT || 'http://localhost:1337'
|
const apiUrl = process.env.NEXT_PUBLIC_API_URL_ROOT || 'http://localhost:1337'
|
||||||
const siteUrl = process.env.NEXT_PUBLIC_SITE_URL || 'http://localhost:3000'
|
const siteUrl = process.env.NEXT_PUBLIC_SITE_URL || 'http://localhost:3000'
|
||||||
@@ -80,7 +81,10 @@ export default async function AwtisPajSlug({params}) {
|
|||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<Box sx={{display: 'flex', flexDirection: 'column', minHeight: '100vh'}}>
|
<Box sx={{display: 'flex', flexDirection: 'column', minHeight: '100vh'}}>
|
||||||
<AwtisDetay anAwtis={anAwtis.attributes} />
|
<Box sx={{flexGrow: 1}}>
|
||||||
|
<AwtisDetay anAwtis={anAwtis.attributes} />
|
||||||
|
</Box>
|
||||||
|
<Footer />
|
||||||
</Box>
|
</Box>
|
||||||
<section>
|
<section>
|
||||||
<script
|
<script
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ import AwtisKat from '../../components/awtis/awtis-kat'
|
|||||||
import Pajinasyon from '../../components/awtis/pajinasyon'
|
import Pajinasyon from '../../components/awtis/pajinasyon'
|
||||||
|
|
||||||
import {jwennAwtisPajinasyon} from '../../lib/oki-api'
|
import {jwennAwtisPajinasyon} from '../../lib/oki-api'
|
||||||
|
import Footer from '../../components/footer'
|
||||||
|
|
||||||
export const metadata = {
|
export const metadata = {
|
||||||
title: 'OKI | Awtis - Liste des artistes',
|
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} />)}
|
{awtisPouChakPaj.data.map(artiste => <AwtisKat key={artiste.id} artiste={artiste.attributes} />)}
|
||||||
</Grid>
|
</Grid>
|
||||||
</Container>
|
</Container>
|
||||||
|
<Footer />
|
||||||
</Box>
|
</Box>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ import Statistik from '../components/akey/statistik'
|
|||||||
import Akey from '../components/akey'
|
import Akey from '../components/akey'
|
||||||
|
|
||||||
import okiLogo from '../public/logo-512x512.png'
|
import okiLogo from '../public/logo-512x512.png'
|
||||||
|
import Footer from '../components/footer'
|
||||||
|
|
||||||
async function jwennDone() {
|
async function jwennDone() {
|
||||||
const statistik = await jwennStats()
|
const statistik = await jwennStats()
|
||||||
@@ -27,6 +28,7 @@ export default async function Page() {
|
|||||||
<Container sx={{flexGrow: 100}}>
|
<Container sx={{flexGrow: 100}}>
|
||||||
<Statistik statistik={statistik} />
|
<Statistik statistik={statistik} />
|
||||||
</Container>
|
</Container>
|
||||||
|
<Footer />
|
||||||
</Box>
|
</Box>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -13,6 +13,7 @@ import EkriTeks from '../../components/soumet/ekri-teks'
|
|||||||
import {jwennUserEpiToken, jwennUserEpiUsername} from '../../lib/oki-api'
|
import {jwennUserEpiToken, jwennUserEpiUsername} from '../../lib/oki-api'
|
||||||
import NewPassword from '../../components/password/new-password'
|
import NewPassword from '../../components/password/new-password'
|
||||||
import ChwaTeks from '../../components/soumet/chwa-teks'
|
import ChwaTeks from '../../components/soumet/chwa-teks'
|
||||||
|
import Footer from '../../components/footer'
|
||||||
|
|
||||||
const Alert = forwardRef(function Alert(props, ref) {
|
const Alert = forwardRef(function Alert(props, ref) {
|
||||||
return <MuiAlert ref={ref} elevation={6} variant='filled' {...props} />
|
return <MuiAlert ref={ref} elevation={6} variant='filled' {...props} />
|
||||||
@@ -103,6 +104,7 @@ export default function Pwopose() {
|
|||||||
</Snackbar>
|
</Snackbar>
|
||||||
)}
|
)}
|
||||||
</Box>
|
</Box>
|
||||||
|
<Footer />
|
||||||
</Box>
|
</Box>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,6 +5,7 @@ import {Box, Container, Typography, Paper} from '@mui/material'
|
|||||||
|
|
||||||
import PaymentMethod from '../../components/soutyen/payment-method'
|
import PaymentMethod from '../../components/soutyen/payment-method'
|
||||||
import Presantasyon from '../../components/soutyen/presantasyon'
|
import Presantasyon from '../../components/soutyen/presantasyon'
|
||||||
|
import Footer from '../../components/footer'
|
||||||
|
|
||||||
export default function Sipote() {
|
export default function Sipote() {
|
||||||
const [paymentMethod, setPaymentMethod] = useState(0)
|
const [paymentMethod, setPaymentMethod] = useState(0)
|
||||||
@@ -27,6 +28,7 @@ export default function Sipote() {
|
|||||||
<Presantasyon />
|
<Presantasyon />
|
||||||
</Container>
|
</Container>
|
||||||
</Box>
|
</Box>
|
||||||
|
<Footer />
|
||||||
</Box>
|
</Box>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user