Aligns the submit button right and starts the contact page at the top

The submit button of the contact form now sits on the right, with the
privacy line below it, on the homepage and the contact page. Arriving on
the contact page from a link further down another page now starts at
the top: removing ?pakket= from the address no longer cancels the
router's scroll reset.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-25 20:14:28 +01:00
co-authored by Claude Opus 5.5
parent 9c2601d846
commit 1afa7d905b
2 changed files with 7 additions and 10 deletions
@@ -292,14 +292,15 @@ export default function ContactForm({
<chakra.button
type="submit"
css={linkButton({ variant: 'accent' })}
alignSelf="flex-start"
alignSelf="flex-end"
disabled={disabled}
cursor={disabled ? 'progress' : 'pointer'}
data-testid="contact-form-submit"
>
{disabled ? 'Versturen…' : '(Aan)vraag versturen'}
</chakra.button>
<PrivacyNote />
{/* Under the submit button, aligned with it */}
<PrivacyNote textAlign="end" />
</Stack>
</chakra.form>
);