From 5828d65a000147a1333b53ea2497c7450dc8514c Mon Sep 17 00:00:00 2001 From: agent Date: Sat, 24 Oct 2026 10:44:45 +0000 Subject: [PATCH] Privacy policy link in the footer and checkout, notes hint, and a policy draft MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Site design → Footer picks the privacy policy page; it is linked from the footer and from a short notice above Pay. The notes field asks customers not to write health details (special-category data). 'Create a privacy policy draft' makes an unpublished page describing what this software does with customer data, with gaps for the studio to fill in. No consent checkbox: booking data is processed to perform the contract. Also adds the PrivacyGlobal type used by the retention settings. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01VaXE9U7AmW3dfD2w6cbLfk --- .../admin/editors/CheckoutBlockEditor.svelte | 12 +++++- app-admin/src/lib/admin/privacyTemplate.ts | 42 +++++++++++++++++++ app-admin/src/routes/globals/+page.server.ts | 17 +++++++- app-admin/src/routes/globals/+page.svelte | 14 +++++++ app-public/src/lib/components/Footer.svelte | 8 +++- .../shared/src/blocks/CheckoutBlock.svelte | 13 +++++- packages/shared/src/types.ts | 28 ++++++++++++- 7 files changed, 129 insertions(+), 5 deletions(-) create mode 100644 app-admin/src/lib/admin/privacyTemplate.ts diff --git a/app-admin/src/lib/admin/editors/CheckoutBlockEditor.svelte b/app-admin/src/lib/admin/editors/CheckoutBlockEditor.svelte index a5874d1..ea92a03 100644 --- a/app-admin/src/lib/admin/editors/CheckoutBlockEditor.svelte +++ b/app-admin/src/lib/admin/editors/CheckoutBlockEditor.svelte @@ -1,5 +1,5 @@