Skip to content

v1.2.0 - Bump to Astro 6 + Refactor Contact page

Choose a tag to compare

@Scorpio3310 Scorpio3310 released this 06 Apr 19:33
· 26 commits to main since this release

Bump to Astro 6 and Refactor Contact page on:

Refactor Contact page changes:
Replaced [...contact].astro (SSR catch-all) with [contact]/[...index].astro (prerendered) to resolve route priority conflict where prerendered catch-all routes ([...blog], [...index]) claimed the /contact path before the SSR route could handle it. Added /api/contact SSR endpoint for form POST handling with server-side validation. Added client-side form validation with localized error messages from JSON locale files. Added localized contact route (/sl/kontakt) to routes.ts.