feat: implement core platform features including business directory, admin dashboard, authentication, and API infrastructure
Some checks failed
Build and Push App / build (push) Failing after 16m2s

This commit is contained in:
2026-04-18 22:10:19 +02:00
parent 6ec1a3ae84
commit 3e2063e4fa
89 changed files with 4405 additions and 967 deletions

View File

@@ -0,0 +1,24 @@
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 (
<div className="p-8 max-w-5xl mx-auto">
<div className="mb-10">
<h1 className="text-3xl font-bold text-white mb-2">Documents Légaux</h1>
<p className="text-slate-400">Modifiez les conditions générales d'utilisation et de vente du site.</p>
</div>
<LegalEditor initialCgu={cgu} initialCgv={cgv} />
</div>
);
}