2330f374fc
- case-study components: CsHeader, TldrBox, MiniToc, SectionRenderer, DecisionList, ArchDiagram (data-driven), Gallery, NextPrev, CaseStudyPage - standalone pages: projects index, about, experience, contact (with form), cv hub, colophon — all EN/NO compositions - full route tree: EN root + /no localised slugs (prosjekter, om-meg, erfaring, kontakt, kolofon, hjemmelab) per ROUTING_SPEC - bilingual 404 with trace-fray motif; robots.txt + sitemap.xml from slug map - Portrait atom; reusable sections gain header/eyebrow toggles for standalone pages Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
27 lines
863 B
Plaintext
27 lines
863 B
Plaintext
---
|
|
import type { Locale } from '@i18n/locales';
|
|
import { useDict } from '@i18n/t';
|
|
import Base from '@layouts/Base.astro';
|
|
import { getMeta } from '@lib/content';
|
|
import SectionLabel from '@components/ui/SectionLabel.astro';
|
|
import ProjectCards from '@components/home/ProjectCards.astro';
|
|
|
|
interface Props {
|
|
locale: Locale;
|
|
}
|
|
const { locale } = Astro.props;
|
|
const d = useDict(locale);
|
|
const m = getMeta('projects', locale);
|
|
---
|
|
|
|
<Base locale={locale} pageId="projects" title={m.title} description={m.description}>
|
|
<div class="mx-auto max-w-[--content-max] px-6 pt-14">
|
|
<SectionLabel text={d.home.projectsLabel} />
|
|
<h1 class="mt-4 text-h1">{d.home.projectsHeading}</h1>
|
|
<p class="mt-4 max-w-[62ch] text-body-lg text-ink-muted">{m.description}</p>
|
|
</div>
|
|
<div class="mt-10">
|
|
<ProjectCards locale={locale} header={false} />
|
|
</div>
|
|
</Base>
|