import Box from '@mui/material/Box' import Container from '@mui/material/Container' import {notFound} from 'next/navigation' import {jwennStats, jwennDenyeTeks} from '../lib/oki-api' import Statistik from '../components/akey/statistik' import Akey from '../components/akey' import AnVedette from '../components/akey/an-vedette' import okiLogo from '../public/logo-512x512.png' import Footer from '../components/footer' import Aso from '../components/akey/aso' async function jwennDone() { const [statistik, denyeTeks] = await Promise.all([jwennStats(), jwennDenyeTeks()]) if (!statistik) { notFound() } return {statistik, dernierTeks: denyeTeks?.[0]} } export default async function Page() { const {statistik, dernierTeks} = await jwennDone() return ( {dernierTeks && }