import React from 'react'; import { getLegalDocument } from '@/app/actions/legal'; import LegalEditor from '@/components/LegalEditor'; export const metadata = { title: 'Documents Légaux - AfroAdmin', description: 'Gérez les CGU et CGV de la plateforme.', }; export default async function LegalPage() { const cgu = await getLegalDocument('CGU'); const cgv = await getLegalDocument('CGV'); return (
Modifiez les conditions générales d'utilisation et de vente du site.