Taalbestanden: statische teksten van de site naar src/i18n/nl (landing, shared, era), getypte t()-helper; prerender-uitvoer byte-identiek

Hero en CMS-data blijven buiten scope.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-15 17:28:58 +01:00
co-authored by Claude Sonnet 5.5
parent 425c59c445
commit 6c6fd771dd
34 changed files with 470 additions and 151 deletions
+25 -47
View File
@@ -12,6 +12,8 @@
* aidlc-docs/features/react-frontend/construction/react-frontend-app/functional-design/packages-api-handoff.md.
*/
import { t, tList } from '../../../i18n';
export interface NavLink {
label: string;
href: string;
@@ -81,10 +83,10 @@ export interface ContactInfo {
}
export const navLinks: NavLink[] = [
{ label: 'Over', href: '#over' },
{ label: 'Pakketten', href: '#pakketten' },
{ label: 'Werkwijze', href: '#werkwijze' },
{ label: 'Start project', href: '#contact', isCta: true },
{ label: t('landing.nav.about'), href: '#over' },
{ label: t('landing.nav.packages'), href: '#pakketten' },
{ label: t('landing.nav.process'), href: '#werkwijze' },
{ label: t('landing.nav.cta'), href: '#contact', isCta: true },
];
export const heroContent: HeroContent = {
@@ -157,58 +159,34 @@ export const packagesSettings: PackagesSettings = {
},
};
export const processSteps: ProcessStepData[] = [
{
label: 'stap 01 — intake',
phase: 'Intake',
title: 'Kennismaken',
description:
'We bespreken je idee, doelgroep en wensen. Je krijgt direct een eerlijk advies over welk pakket past bij jouw doel.',
},
{
label: 'stap 02 — bouwen',
phase: 'Bouwen',
title: 'Ontwerpen & ontwikkelen',
description:
'Ik bouw je site of applicatie en houd je onderweg op de hoogte, zodat er geen verrassingen zijn bij de oplevering.',
},
{
label: 'stap 03 — live',
phase: 'Live',
title: 'Opleveren',
description:
'Je site gaat live en je krijgt uitleg over hoe alles werkt. Later uitbreiden? Dat kan altijd.',
},
];
export const processSteps: ProcessStepData[] = (['intake', 'build', 'live'] as const).map((id) => ({
label: t(`landing.process.steps.${id}.label`),
phase: t(`landing.process.steps.${id}.phase`),
title: t(`landing.process.steps.${id}.title`),
description: t(`landing.process.steps.${id}.description`),
}));
export const aboutContent: AboutContent = {
paragraphs: [
'Hi, ik ben Bryan Slop van SLP Software! Ik ben een ervaren web- en .NET-ontwikkelaar. Ik geloof dat goede software niet ingewikkeld hoeft te voelen. Software zonder lange trajecten: je schakelt direct met mij, de ontwikkelaar van jouw website of applicatie.',
'Van een strakke landingspagina tot een applicatie met eigen contentmanagementsysteem — de aanpak is hetzelfde: heldere afspraken, nette code en een resultaat waar je jaren mee vooruit kunt.',
],
paragraphs: [...tList('landing.about.paragraphs')],
};
export const aboutFacts: AboutFact[] = [
{ title: 'Direct contact', text: 'met de ontwikkelaar zelf' },
{ title: 'Eén werkdag', text: 'tot je een reactie hebt' },
{ title: 'Vaste prijs', text: 'per pakket, vooraf bekend' },
];
export const aboutFacts: AboutFact[] = (['contact', 'response', 'price'] as const).map((id) => ({
title: t(`landing.about.facts.${id}.title`),
text: t(`landing.about.facts.${id}.text`),
}));
/** Texts of the contact form (design B). */
export const contactForm = {
otherSubjectLabel: 'Overig',
successText: 'Je bericht is verstuurd. Je hoort binnen één werkdag van me.',
captchaProblem:
'De controle tegen spam kan niet worden geladen. Probeer het later opnieuw of mail me direct:',
privacyNote:
'Je gegevens gebruik ik alleen om op je bericht te reageren; ik bewaar ze maximaal 1 jaar.',
otherSubjectLabel: t('landing.contact.form.otherSubject'),
successText: t('landing.contact.form.successText'),
captchaProblem: t('landing.contact.form.captchaProblem'),
privacyNote: t('landing.contact.form.privacyNote'),
};
export const contactInfo: ContactInfo = {
heading: 'Klaar om te bouwen?',
displayHeading: ['Klaar om', 'te bouwen?'],
description:
'Vertel kort wat je voor ogen hebt. Je krijgt binnen één werkdag reactie met een eerlijk advies — vrijblijvend.',
heading: t('landing.contact.heading'),
displayHeading: [...tList('landing.contact.displayHeading')],
description: t('landing.contact.description'),
email: 'info@slpsoftware.nl',
mailSubject: 'Projectaanvraag',
mailSubject: t('landing.contact.mailSubject'),
};