mirror of
https://github.com/arthur-pbty/contact.git
synced 2026-06-22 18:19:27 +02:00
feat: add contact page with form handling and validation
- Implemented a contact page with a form for user inquiries. - Added validation for form fields using Zod schema. - Integrated PostgreSQL database for storing contact messages. - Created necessary API endpoints for form submission. - Added admin authentication and session management. - Developed CGU, cookies policy, privacy policy, and legal mentions pages. - Set up Docker configuration for PostgreSQL and application services. - Enhanced UI with responsive design and accessibility features.
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
export default function CookiesPage() {
|
||||
return (
|
||||
<main className="mx-auto max-w-3xl space-y-6 px-4 py-10 text-sm leading-relaxed text-slate-700 dark:text-slate-300">
|
||||
<h1 className="text-3xl font-semibold text-slate-900 dark:text-white">Politique cookies</h1>
|
||||
<section className="space-y-2">
|
||||
<p>Ce site utilise un cookie technique pour la session admin (connexion au tableau de bord).</p>
|
||||
<p>Aucun cookie publicitaire ou de tracking tiers n'est depose par defaut.</p>
|
||||
</section>
|
||||
<section className="space-y-2">
|
||||
<h2 className="text-lg font-semibold text-slate-900 dark:text-white">Session admin</h2>
|
||||
<p>Le cookie admin est HttpOnly, SameSite=Lax et expire automatiquement.</p>
|
||||
</section>
|
||||
</main>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user