Adds the Contact page
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>
This commit is contained in:
@@ -49,7 +49,7 @@ describe('ShootBlock', () => {
|
||||
const link = screen.getByRole('link', {
|
||||
name: 'Stuur een berichtje over een zwangerschapsshoot',
|
||||
});
|
||||
expect(link).toHaveAttribute('href', '/?pakket=zwangerschap#contact');
|
||||
expect(link).toHaveAttribute('href', '/contact?pakket=zwangerschap');
|
||||
});
|
||||
|
||||
it('links to the contact form without a package when the shoot has none', async () => {
|
||||
@@ -58,7 +58,7 @@ describe('ShootBlock', () => {
|
||||
screen.getByRole('link', {
|
||||
name: 'Stuur een berichtje over een loveshoot',
|
||||
}),
|
||||
).toHaveAttribute('href', '/#contact');
|
||||
).toHaveAttribute('href', '/contact');
|
||||
});
|
||||
|
||||
it('only links to the portfolio once it is live', async () => {
|
||||
|
||||
Reference in New Issue
Block a user