Commit Graph

20 Commits

Author SHA1 Message Date
Jeffrey
ea230696f7 feat: add minHeight and heading/body color controls to FDHeroBlock 2026-03-13 10:07:57 +01:00
Jeffrey
32251ef681 chore: register new migration and update payload types 2026-03-13 09:33:25 +01:00
Jeffrey
d7f3a52838 feat: FDVideoHeroBlock 2026-03-04 21:42:26 +01:00
Jeffrey
38ecfce2eb feat: add FDLinkCards, FDSpecCards, FDQuiz blocks 2026-03-04 20:48:34 +01:00
Jeffrey
e05cacb37c feat: PostSettings global, fix stale migrations, shadow tokens 2026-03-02 16:02:38 +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
f48b60bb5d feat: i18n infrastructure — EN route, DeepL endpoint, locale switcher, calculator localized fields 2026-02-24 15:02:56 +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
cab4779f7d feat: footer cert marks + social icons 2026-02-20 13:22:07 +01:00
Jeffrey
b36f7ebe6e fix: add localized fields to FDCtaSideImageBlock, FDButton system, dark hover fix 2026-02-19 20:53:47 +01:00
Jeffrey
1ab4e41c00 fix: cast SEO plugin fields override as Field[] to resolve 2026-02-19 19:55:08 +01:00
Jeffrey
ed4062aef0 feat: add admin/editor roles to users, restrict globals to adminOnly
- Users: added role field (admin/editor), role field locked to adminOnly update
- SiteSettings, AnnouncementBar, PopupAnnouncement: update restricted to adminOnly
- Added src/access/adminOnly.ts helper
2026-02-18 16:04:48 +01:00
Jeffrey
3a8f58682d fix: cookie banner design and settings 2026-02-18 14:13:25 +01:00
Jeffrey
cbeae1bf85 feat: 3 new blocks FDCtaBannerBlock, FDTestimonialBlock, FDTeamBlock 2026-02-18 13:55:07 +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
5cf9186ee2 Enhanced FDContactFormBlock with dark mode, remove search, add FormBlock to pages 2026-02-17 17:51:39 +01:00
jeffrey
dc24717388 Initial commit: Fiber Direkt website with Payload CMS 2026-02-17 10:43:13 +00:00
Jeffrey
44699d4fed feat: initial commit 2026-02-11 07:19:33 +01:00