Completes the front-end shell with footer, status pages and SEO
Adds the footer, back-to-top button, skip link, placeholder routes, 404 and error pages inside the shell, plus per-page SEO from a single page registry (canonical URLs, Open Graph image, JSON-LD, generated sitemap.xml and robots.txt). Theme tokens and recipes replace repeated styling, the hero loads only the active and neighbouring slides, and the e-mail address is joined in the browser to keep it out of the HTML and bundle. Adds Vitest with property-based (fast-check) and axe tests, ESLint, security headers for dev and preview, Lighthouse CI and a `pnpm check` script that runs all quality gates. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
import type { HeroContent } from './types';
|
||||
|
||||
// Images
|
||||
import hero1 from '../assets/hero-1.jpg';
|
||||
import hero2 from '../assets/hero-2.jpg';
|
||||
import hero3 from '../assets/hero-3.jpg';
|
||||
import hero4 from '../assets/hero-4.jpg';
|
||||
import hero5 from '../assets/hero-5.jpg';
|
||||
import hero6 from '../assets/hero-6.jpg';
|
||||
import hero7 from '../assets/hero-7.jpg';
|
||||
import hero8 from '../assets/hero-8.jpg';
|
||||
|
||||
// Statische content tot de CMS-API er is. Daarna komt dit object uit de API.
|
||||
const heroContent: HeroContent = {
|
||||
title: 'Andrea Slop',
|
||||
tagline: 'Lifestyle fotograaf · Huizen',
|
||||
cta: { label: 'Lees meer', to: '/over-mij' },
|
||||
slides: [
|
||||
{ id: 'hero-8', src: hero8, alt: 'Zwangerschapsfoto in de duinen' },
|
||||
{ id: 'hero-7', src: hero7, alt: 'Knusse newbornfoto met de familie' },
|
||||
{
|
||||
id: 'hero-1',
|
||||
src: hero1,
|
||||
alt: 'Lifestyle fotografie van Andrea Slop',
|
||||
},
|
||||
{
|
||||
id: 'hero-2',
|
||||
src: hero2,
|
||||
alt: 'Zwangerschapsshoot in de buitenlucht',
|
||||
},
|
||||
{
|
||||
id: 'hero-3',
|
||||
src: hero3,
|
||||
alt: 'Newbornshoot van een pasgeboren baby',
|
||||
},
|
||||
{ id: 'hero-4', src: hero4, alt: 'Spontaan portret buiten' },
|
||||
{ id: 'hero-5', src: hero5, alt: 'Natuurlijke lifestylefoto' },
|
||||
{ id: 'hero-6', src: hero6, alt: 'Portret in de natuur' },
|
||||
],
|
||||
};
|
||||
|
||||
export default heroContent;
|
||||
Reference in New Issue
Block a user