feat(ui): editors listing page, footer links, and i18n keys

New /editors route listing SVG editor and pathology editor with
descriptions and CTAs. Footer gains Éditeurs link, Paws iin Harmony
credit, and pipe-separated layout. 69 i18n keys added (editors.*,
footer.*, svg_editor.*) in both FR and EN dicts.

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Bastien ChanotandClaude committed 2026-05-22 06:16:37 +02:00
1 parent 569e57197f
commit 5e24c2f3d7
5 files changed
+242 -16

No files matched your search

+2
View File
@@ -5,6 +5,7 @@ import HomeRoute from './routes/HomeRoute'
import NewReportRoute from './routes/NewReportRoute'
import EditorRoute from './routes/EditorRoute'
import SvgEditorRoute from './routes/SvgEditorRoute'
import EditorsRoute from './routes/EditorsRoute'
import NotFoundRoute from './routes/NotFoundRoute'
function AppShell() {
@@ -17,6 +18,7 @@ function AppShell() {
<Route path="/new" element={<NewReportRoute />} />
<Route path="/editor" element={<EditorRoute />} />
<Route path="/svg-editor" element={<SvgEditorRoute />} />
<Route path="/editors" element={<EditorsRoute />} />
<Route path="*" element={<NotFoundRoute />} />
</Routes>
</main>
+56
View File
@@ -0,0 +1,56 @@
import { Link } from 'react-router-dom'
import Brand from '@/components/brand/Brand'
import LanguageSwitcher from '@/components/brand/LanguageSwitcher'
import Card from '@/components/ui/Card'
import { useConfig } from '@/app/providers/ConfigProvider'
import { useT } from '@/i18n/useT'
export default function EditorsRoute() {
const cfg = useConfig()
const t = useT()
return (
<main className="min-h-screen flex flex-col">
<header className="px-6 py-4 border-b border-[var(--color-border)] flex items-center justify-between">
<div className="flex items-baseline gap-3">
<Link to="/" className="no-underline">
<Brand size="lg" />
</Link>
<span className="text-sm text-[var(--color-ink-muted)]">{cfg.tagline}</span>
</div>
<LanguageSwitcher />
</header>
<section className="flex-1 grid place-items-center px-6 py-12">
<div className="max-w-3xl w-full space-y-6">
<h1 className="font-serif text-3xl">{t('editors.title')}</h1>
<div className="grid gap-4 md:grid-cols-2">
<Card className="p-6 space-y-4">
<h2 className="font-serif text-2xl">{t('editors.svg.title')}</h2>
<p className="text-sm text-[var(--color-ink-muted)]">
{t('editors.svg.description')}
</p>
<Link
to="/svg-editor"
className="inline-block rounded-lg bg-[var(--color-accent)] px-5 py-2 text-sm font-medium text-white hover:bg-[var(--color-accent-strong)] transition-colors"
>
{t('editors.svg.cta')}
</Link>
</Card>
<Card className="p-6 space-y-4">
<h2 className="font-serif text-2xl">{t('editors.pathology.title')}</h2>
<p className="text-sm text-[var(--color-ink-muted)]">
{t('editors.pathology.description')}
</p>
<a
href="/pathology-editor.html"
className="inline-block rounded-lg bg-[var(--color-accent)] px-5 py-2 text-sm font-medium text-white hover:bg-[var(--color-accent-strong)] transition-colors"
>
{t('editors.pathology.cta')}
</a>
</Card>
</div>
</div>
</section>
</main>
)
}