From 851cd8afa057163b0f0273952a2f27e22436d44e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20M=C3=B6rling?= Date: Sat, 16 May 2026 16:11:01 +0200 Subject: [PATCH] refactor: redesign all pages and components with new design system - Rewrite homepage: practical headline, use-case cards, calm trust note - Switch from purple to blue brand tokens across all pages - Replace all CTA buttons with brand-primary, reserve green for success - Remove emoji from template picker and compose page - Replace unicode chevrons with SVG expand buttons in admin - Redesign template picker modal with accessibility semantics - Add aria-invalid, aria-describedby to form validation - Add role=status/alert to loading, error, and result messages - Remove inline styles, replace with scoped utility classes - Update compose submit text, payment button, order empty state copy - Remove icon field from letter templates --- frontend/src/components/PlateInput.vue | 41 +- frontend/src/components/TemplatePicker.vue | 112 ++-- frontend/src/components/VehicleInfo.vue | 56 +- frontend/src/data/templates.ts | 8 - frontend/src/pages/AboutPage.vue | 40 +- frontend/src/pages/AdminPage.vue | 580 ++++++++++++--------- frontend/src/pages/ComposePage.vue | 349 ++++++------- frontend/src/pages/ContactPage.vue | 40 +- frontend/src/pages/HomePage.vue | 304 +++++++++-- frontend/src/pages/LoginPage.vue | 200 +++---- frontend/src/pages/OrdersPage.vue | 248 +++++---- frontend/src/pages/PaymentRedirect.vue | 118 ++--- frontend/src/pages/RegisterPage.vue | 268 ++++------ 13 files changed, 1318 insertions(+), 1046 deletions(-) diff --git a/frontend/src/components/PlateInput.vue b/frontend/src/components/PlateInput.vue index 3365035..84012fb 100644 --- a/frontend/src/components/PlateInput.vue +++ b/frontend/src/components/PlateInput.vue @@ -36,7 +36,7 @@ watch(isValid, (valid) => {