Refactor usePageContent.ts — hardcoded MP content → generic defaults + override path #4
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Part of #2
Problem
composables/usePageContent.ts(lines 30–287) contains hardcoded MP content:CONTACT_INFO— Stuttgart address, phone +49 (0)711 / 262 49 64, fax, emailOPENING_HOURS— Mo–Do 9.00–16.00, Fr 9.00–14.00ABOUT_CONTENT— MP-specific company narrativeIMPRESSUM_CONTENT,AGB_CONTENT,DATENSCHUTZ_CONTENT,VERSAND_CONTENT,ZAHLUNG_CONTENT— full legal copy with MP details11 page files (about, kontakt, anfahrt, oeffnungszeiten, impressum, agb, datenschutz, versand, zahlung) import directly from this composable.
Acceptance
usePageContent.tswith generic defaults (real "Demo Print Shop" placeholder content, not Lorem) — example brand: "Demo Print", "Musterstraße 1, 12345 Musterstadt", phone placeholder, etc.composables/usePageContent.tsto fully replace defaults (Nuxt component shadowing)