feat(ui): admin-only root link and shared header navigation
CI / quality (push) Waiting to run

This commit is contained in:
MOH
2026-03-06 16:50:45 +01:00
parent 7a20cf5c75
commit ce63cd8b69
32 changed files with 1070 additions and 600 deletions
+21 -21
View File
@@ -50,46 +50,46 @@ export default function AboutPage({ params: { locale } }: AboutPageProps) {
return (
<div className="mx-auto flex w-full max-w-6xl flex-col gap-8 px-4 py-10 sm:px-6 lg:px-8 lg:py-14">
<MotionFade>
<section className="rounded-3xl border border-zinc-200 bg-white p-6 dark:border-zinc-800 dark:bg-zinc-950 lg:p-10">
<h1 className="text-3xl font-semibold text-zinc-900 dark:text-zinc-100 sm:text-4xl">
<section className="rounded-3xl border border-default bg-surface p-6 lg:p-10">
<h1 className="text-3xl font-semibold text-fg sm:text-4xl">
{copy.title}
</h1>
<p className="mt-4 max-w-3xl text-base text-zinc-600 dark:text-zinc-300 sm:text-lg">
<p className="mt-4 max-w-3xl text-base text-muted sm:text-lg">
{copy.intro}
</p>
</section>
</MotionFade>
<MotionFade delay={0.05}>
<section className="rounded-3xl border border-zinc-200 bg-white p-6 dark:border-zinc-800 dark:bg-zinc-950 lg:p-8">
<h2 className="text-2xl font-semibold text-zinc-900 dark:text-zinc-100">
<section className="rounded-3xl border border-default bg-surface p-6 lg:p-8">
<h2 className="text-2xl font-semibold text-fg">
{copy.valuesTitle}
</h2>
<div className="mt-6 grid gap-4 md:grid-cols-3">
<article className="rounded-2xl border border-zinc-200 bg-zinc-50 p-5 dark:border-zinc-800 dark:bg-zinc-900">
<Compass className="h-5 w-5 text-zinc-700 dark:text-zinc-200" />
<h3 className="mt-3 text-lg font-semibold text-zinc-900 dark:text-zinc-100">
<article className="rounded-2xl border border-default bg-surface-soft p-5 ">
<Compass className="h-5 w-5 text-muted-strong" />
<h3 className="mt-3 text-lg font-semibold text-fg">
{copy.valueA}
</h3>
<p className="mt-2 text-sm text-zinc-600 dark:text-zinc-300">
<p className="mt-2 text-sm text-muted">
{copy.valueAText}
</p>
</article>
<article className="rounded-2xl border border-zinc-200 bg-zinc-50 p-5 dark:border-zinc-800 dark:bg-zinc-900">
<Layers3 className="h-5 w-5 text-zinc-700 dark:text-zinc-200" />
<h3 className="mt-3 text-lg font-semibold text-zinc-900 dark:text-zinc-100">
<article className="rounded-2xl border border-default bg-surface-soft p-5 ">
<Layers3 className="h-5 w-5 text-muted-strong" />
<h3 className="mt-3 text-lg font-semibold text-fg">
{copy.valueB}
</h3>
<p className="mt-2 text-sm text-zinc-600 dark:text-zinc-300">
<p className="mt-2 text-sm text-muted">
{copy.valueBText}
</p>
</article>
<article className="rounded-2xl border border-zinc-200 bg-zinc-50 p-5 dark:border-zinc-800 dark:bg-zinc-900">
<Users className="h-5 w-5 text-zinc-700 dark:text-zinc-200" />
<h3 className="mt-3 text-lg font-semibold text-zinc-900 dark:text-zinc-100">
<article className="rounded-2xl border border-default bg-surface-soft p-5 ">
<Users className="h-5 w-5 text-muted-strong" />
<h3 className="mt-3 text-lg font-semibold text-fg">
{copy.valueC}
</h3>
<p className="mt-2 text-sm text-zinc-600 dark:text-zinc-300">
<p className="mt-2 text-sm text-muted">
{copy.valueCText}
</p>
</article>
@@ -98,17 +98,17 @@ export default function AboutPage({ params: { locale } }: AboutPageProps) {
</MotionFade>
<MotionFade delay={0.1}>
<section className="rounded-3xl border border-zinc-200 bg-white p-6 dark:border-zinc-800 dark:bg-zinc-950 lg:p-8">
<h2 className="text-2xl font-semibold text-zinc-900 dark:text-zinc-100">
<section className="rounded-3xl border border-default bg-surface p-6 lg:p-8">
<h2 className="text-2xl font-semibold text-fg">
{copy.processTitle}
</h2>
<ol className="mt-5 grid gap-3 sm:grid-cols-3">
{[copy.processOne, copy.processTwo, copy.processThree].map((step, index) => (
<li
key={step}
className="rounded-xl border border-zinc-200 bg-zinc-50 p-4 text-sm text-zinc-700 dark:border-zinc-800 dark:bg-zinc-900 dark:text-zinc-200"
className="rounded-xl border border-default bg-surface-soft p-4 text-sm text-muted-strong text-muted-strong"
>
<span className="mb-2 inline-flex h-6 w-6 items-center justify-center rounded-full bg-zinc-200 text-xs font-semibold text-zinc-800 dark:bg-zinc-800 dark:text-zinc-100">
<span className="mb-2 inline-flex h-6 w-6 items-center justify-center rounded-full bg-surface-elevated text-xs font-semibold text-muted-strong">
{index + 1}
</span>
<p>{step}</p>