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:
1 parent
08fbf093a8
commit
66c737188b
1 file changed
+2
-5
@@ -20,10 +20,8 @@ export default function EditorsRoute() {
|
||||
</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">
|
||||
<section className="flex-1 grid place-items-center px-6">
|
||||
<div className="grid gap-4 md:grid-cols-2 max-w-3xl w-full">
|
||||
<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)]">
|
||||
@@ -48,7 +46,6 @@ export default function EditorsRoute() {
|
||||
{t('editors.pathology.cta')}
|
||||
</a>
|
||||
</Card>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
|
||||
Reference in new issue
Block a user