Reads the shoot packages and an optional banner from the CMS at build time
The build asks GET /api/v1/offerings and bakes the packages into the pages, with a committed snapshot as fallback so a CMS outage never breaks the build or shows an empty price. The form choices and ?pakket= use the same list. An offering with layout=banner becomes an optional band under the price cards. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -30,3 +30,6 @@ lighthouse-reports
|
||||
|
||||
# Gegenereerde cache van Start
|
||||
.tanstack
|
||||
|
||||
# Written by config/fetchOfferings.ts before every build
|
||||
src/content/offerings.generated.json
|
||||
|
||||
Reference in New Issue
Block a user