import {Suspense} from 'react' import {notFound} from 'next/navigation' import {jwennTeks} from '../../lib/oki-api' import TeksDrawer from '../../components/teks/teks-drawer' import Loading from './loading' export const metadata = { title: 'PAWÒL-NU. Paroles et traductions.', description: 'Retrouvez les paroles et les traductions de vos chansons préférées.', openGraph: { title: 'PAWÒL-NU. Paroles et traductions.', description: 'Retrouvez les paroles et les traductions de vos chansons préférées.', url: 'https://pawol.nu/paroles', siteName: 'PAWÒL-NU. Paroles et traductions.', images: [ { url: 'https://pawol.nu/logo-512x512.png', width: 512, height: 512 } ], locale: 'fr_FR', type: 'website' }, twitter: { site: '@OrganisationKA', card: 'summary_large_image', title: 'PAWÒL-NU. Paroles et traductions.', description: 'Retrouvez les paroles et les traductions de vos chansons préférées.', creator: '@OrganisationKA', images: { url: 'https://pawol.nu/logo-512x512.png', alt: 'OKI Logo', }, } } async function jwennDotDone() { const teks = await jwennTeks() if (!teks) { notFound() } return teks } export default async function PawolLayout({children}) { const teks = await jwennDotDone() return ( <> }>
{children}
) }