Commit Graph

11 Commits

Author SHA1 Message Date
Jeffrey
5090c0f743 fix: FAQ answer alignment + font size, ServicesGrid button 2026-03-02 10:45:08 +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
db9d5d4ebb fix: iPad portrait layout fixes — 3-col grids, prose alignment, calculator totals, VPS max values 2026-02-24 13:04:07 +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
606a4c27b4 fix: dark mode for video/newsletter/datatable/codeembed, FAQ answer alignment, video rounded corners on thumbnail 2026-02-20 18:04:18 +01:00
Jeffrey
576ecf1e97 feat: dark mode across all blocks 2026-02-20 11:17:18 +01:00
Jeffrey
84e8efd4e9 fix: resolve all TypeScript errors
- Fix heading/titleClass references in FDAlternateHeroBlock, FDDataTableBlock, FDLocationsGridBlock, FDPartnersLogosBlock, FDServiceChooserBlock, FDStatisticsBlock
- Fix service.title in FDServiceChooserBlock nested type
- Remove hero field references from [slug]/page.tsx
- Fix PopupAnnouncement adminOnly import path
- Add Page type import to [slug]/page.tsx
2026-02-18 16:30:14 +01:00
Jeffrey
c3b3868288 fix: hook-based slug with Swedish chars, remove built-in hero from Pages, and more rich text fix 2026-02-18 12:15:07 +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