The contact page in the approved layout: the form next to a photo with the contact card on wide screens, and the card with a small portrait above the form on phones, where the large photo is never downloaded. /contact?pakket= preselects a package. The page is indexed, with its own title, description, preview image and ContactPage structured data. Over mij and Soorten fotoshoots now link to /contact. The green button gets a darker background, so its white text meets the contrast minimum. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
9 lines
405 B
TypeScript
9 lines
405 B
TypeScript
// The placeholder for the reply time in content texts (BR-CP-05)
|
|
export const REPLY_TIME_PLACEHOLDER = '{reactietermijn}';
|
|
|
|
// Fills in the reply time, so a text and the form's thank-you always name
|
|
// the same one. Text without the placeholder comes back as it is.
|
|
export function withReplyTime(text: string, replyTime: string): string {
|
|
return text.split(REPLY_TIME_PLACEHOLDER).join(replyTime);
|
|
}
|