Frontend : squelette React + Vite + TS + Tailwind
Scaffold de base en attendant l'intégration du design Claude Design (« Bénévoles Festival.dc.html ») : routage, plomberie i18n (t() + locales/fr.json), client API avec proxy Vite vers le backend. Build et lint passent. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AwswqSChc3Rwtu61pRXiY2
This commit is contained in:
co-authored by
Claude Sonnet 5
parent
49ac6a4726
commit
5154a3c61b
@@ -0,0 +1,12 @@
|
||||
import { t } from '@/i18n';
|
||||
|
||||
export function DashboardPage() {
|
||||
return (
|
||||
<section>
|
||||
<h2 className="text-base font-medium text-slate-700">{t('nav.dashboard')}</h2>
|
||||
<p className="mt-2 text-sm text-slate-500">
|
||||
{t('app.title')} — {import.meta.env.MODE}
|
||||
</p>
|
||||
</section>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user