Adds the Soorten fotoshoots page
Replaces the placeholder with the five shoot types (Newborn, Zwangerschap, Gezin, Loveshoot, Portretten), each an article with its own anchor, photo, text and a link to the contact form that preselects the matching package. A portfolio link per shoot shows once the portfolio page is live. A closing call to action links to the prices and the contact form. The page is indexed with its own description and preview image, and describes the shoots as services of the business in structured data. That data is rendered in the page component, so the shoot texts stay out of the main bundle. The shoot photos are cropped at 848x1060, no longer upscaled. Photo pages get a mobile Lighthouse performance target of 0.85: their largest paint is a photo that the simulated slow connection only requests after the scripts have run. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
import type { ShootType } from './types';
|
||||
|
||||
// Images, cropped to 4:5 (960×1200) from the live photos
|
||||
// Images, cropped to 4:5 (848×1060, never upscaled) from the live photos
|
||||
import newborn from '../assets/shoots/newborn.jpg';
|
||||
import zwangerschap from '../assets/shoots/zwangerschap.jpg';
|
||||
import gezin from '../assets/shoots/gezin.jpg';
|
||||
import loveshoot from '../assets/shoots/loveshoot.jpg';
|
||||
import portret from '../assets/shoots/portret.jpg';
|
||||
|
||||
const size = { width: 960, height: 1200 };
|
||||
const size = { width: 848, height: 1060 };
|
||||
|
||||
// The shoot types until the CMS API exists, in page order. Texts from the
|
||||
// live site (FR-SF-02); also used by the portfolio page for its filters.
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
import type { ShootTypesPageContent } from './types';
|
||||
|
||||
// Static content of the shoot types page until the CMS API exists; texts
|
||||
// from the design (FR-SF-01, FR-SF-03)
|
||||
const shootTypesPageContent: ShootTypesPageContent = {
|
||||
head: {
|
||||
eyebrow: 'Mogelijkheden',
|
||||
title: 'Soorten fotoshoots',
|
||||
intro: 'Hieronder vind je de verschillende soorten fotoshoots die je bij mij kunt boeken. Ik fotografeer voornamelijk in Huizen, Bussum, Hilversum en omgeving, maar ik kom ook naar andere locaties.',
|
||||
},
|
||||
closing: {
|
||||
title: 'Benieuwd naar de prijzen?',
|
||||
lead: [
|
||||
'Bekijk ',
|
||||
{ text: 'de pakketten', to: '/', hash: 'prijzen' },
|
||||
' op de homepage of stel je vraag via het contactformulier.',
|
||||
],
|
||||
// The homepage contact section until /contact exists
|
||||
booking: { label: 'Boek je shoot', to: '/', hash: 'contact' },
|
||||
},
|
||||
};
|
||||
|
||||
export default shootTypesPageContent;
|
||||
@@ -159,6 +159,17 @@ export interface AboutPageContent {
|
||||
person: { name: string; jobTitle: string; knowsAbout: string[] };
|
||||
}
|
||||
|
||||
// Content of the shoot types page (/soorten-fotoshoots); the shoots
|
||||
// themselves come from shootTypes
|
||||
export interface ShootTypesPageContent {
|
||||
head: { eyebrow: string; title: string; intro: string };
|
||||
closing: {
|
||||
title: string;
|
||||
lead: RichText;
|
||||
booking: LinkTarget & { label: string };
|
||||
};
|
||||
}
|
||||
|
||||
export interface HeroSlide {
|
||||
id: string;
|
||||
src: string;
|
||||
|
||||
Reference in New Issue
Block a user