feat: implement core application structure, UI components, internationalization, and database seeding.
This commit is contained in:
38
src/app/cgv/page.tsx
Normal file
38
src/app/cgv/page.tsx
Normal file
@@ -0,0 +1,38 @@
|
||||
'use client';
|
||||
|
||||
import React from 'react';
|
||||
import { useLanguage } from '@/providers/LanguageProvider';
|
||||
import { ArrowLeft, Book } from 'lucide-react';
|
||||
import Link from 'next/link';
|
||||
import { LanguageSwitcher } from '@/components/LanguageSwitcher';
|
||||
|
||||
export default function CGVPage() {
|
||||
const { t } = useLanguage();
|
||||
|
||||
return (
|
||||
<div className="min-h-screen bg-[#eef2ff] font-sans selection:bg-blue-200">
|
||||
<nav className="bg-white/80 backdrop-blur-md z-50 border-b border-indigo-100 px-8 h-16 flex items-center justify-between sticky top-0">
|
||||
<Link href="/" className="flex items-center gap-2 hover:opacity-80 transition-opacity">
|
||||
<div className="bg-blue-600 p-1.5 rounded-lg">
|
||||
<Book className="text-white" size={24} />
|
||||
</div>
|
||||
<span className="text-xl font-black text-slate-900 tracking-tight">Pluume</span>
|
||||
</Link>
|
||||
<div className="flex items-center gap-4">
|
||||
<LanguageSwitcher />
|
||||
<Link href="/" className="flex items-center gap-2 text-slate-500 hover:text-blue-600 font-bold transition-colors">
|
||||
<ArrowLeft size={16} /> {t('common.back')}
|
||||
</Link>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
<main className="max-w-4xl mx-auto py-20 px-8">
|
||||
<h1 className="text-4xl md:text-5xl font-black text-slate-900 mb-8 tracking-tight">{t('legal.cgv_title')}</h1>
|
||||
<div className="bg-white p-8 sm:p-12 rounded-3xl shadow-xl border border-indigo-50 text-slate-600 leading-relaxed space-y-6">
|
||||
<p>{t('legal.cgv_content')}</p>
|
||||
<p><i>(Ceci est un document type en attente de la version finale par un conseiller juridique)</i></p>
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user