fix(ui): center editor cards and remove redundant title

Remove h1 heading from editors page, use same centered grid layout
as home page — cards vertically and horizontally centered in viewport.

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Bastien ChanotandClaude committed 2026-05-22 06:30:34 +02:00
1 parent 08fbf093a8
commit 66c737188b
1 file changed
+2 -5
+2 -5
View File
@@ -20,10 +20,8 @@ export default function EditorsRoute() {
</div> </div>
<LanguageSwitcher /> <LanguageSwitcher />
</header> </header>
<section className="flex-1 grid place-items-center px-6 py-12"> <section className="flex-1 grid place-items-center px-6">
<div className="max-w-3xl w-full space-y-6"> <div className="grid gap-4 md:grid-cols-2 max-w-3xl w-full">
<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"> <Card className="p-6 space-y-4">
<h2 className="font-serif text-2xl">{t('editors.svg.title')}</h2> <h2 className="font-serif text-2xl">{t('editors.svg.title')}</h2>
<p className="text-sm text-[var(--color-ink-muted)]"> <p className="text-sm text-[var(--color-ink-muted)]">
@@ -49,7 +47,6 @@ export default function EditorsRoute() {
</a> </a>
</Card> </Card>
</div> </div>
</div>
</section> </section>
</main> </main>
) )