Commit Graph

8 Commits

Author SHA1 Message Date
Jeffrey
15c3194eb6 refactor: codebase audit — remove orphaned blocks, unify design tokens
- Delete 5 orphaned blocks: ArchiveBlock, CallToAction, Content, Form, RelatedPosts
  - Remove Form import from RenderBlocks
  - Delete Media-BACKUP.txt
  - Extract fdCardRadius, fdCardRadiusSm to fdTheme — adopted across 15 blocks
  - Extract fdContainer to fdTheme — adopted across 29 blocks
  - Add fdSepiaOverlay, fd-sepia CSS token — replaces hardcoded #8B7D3C
  - Replace #153350 with via-fd-navy-700 in navyGradient
  - Replace #e2e8f0 with fd-gray-light in calculator blocks
2026-03-13 13:22:16 +01:00
Jeffrey
89f6ab505d feat: mobile typography overhaul + layout fixes
Typography:
- Raise all fd-* token minimums in globals.css for larger mobile text
  (fd-h1: 28→40px, fd-h2: 22→32px, fd-h3: 18→22px, body-lg: 15→18px, body: 14→16px)
- Strip all text-[x] sm:text-fd-* overrides from 25 block components
  — tokens now handle full range, no block-level hacks
- Change RichText enableGutter default to false — fixes rich text
  indenting in FAQ, TextBlock, posts, and form confirmations

Layout fixes (mobile):
- FDContactBlock: 3-column grid on all screen sizes
- FDHeroBlock: full-width buttons on mobile
- FDServicesGridBlock: px-3 padding on description text under images
- FDWideCardBlock: image now padded inside card, object-contain,
  no longer bleeds edge-to-edge
- FDCtaSideImageBlock: consistent mobile order (heading → image →
  body → button) regardless of imagePosition setting; extra mt-4
  between body and button on mobile
- FDTestimonialBlock: quote text sizes migrated to fd-h3/fd-body-lg tokens
2026-02-26 10:32:23 +01:00
Jeffrey
21e3778397 feat: anchor links, smooth scroll, back-to-top 2026-02-24 10:10:29 +01:00
Jeffrey
f838dc1c6e Design system polish: borders, radius, typography, calculator, overlay, announcement bar + new services calculator 2026-02-21 12:33:22 +01:00
Jeffrey
afa9ce5b0a feat: block thumbnails in admin UI 2026-02-20 14:50:21 +01:00
Jeffrey
097615569b fix: mobile audit — gray token, FDImage props, border radius, padding 2026-02-20 10:11:02 +01:00
Jeffrey
5ea9588223 feat: schema freeze — standardize field names, richText fields, localization, admin labels 2026-02-18 10:07:14 +01:00
jeffrey
dc24717388 Initial commit: Fiber Direkt website with Payload CMS 2026-02-17 10:43:13 +00:00