Commit Graph

73 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
ea230696f7 feat: add minHeight and heading/body color controls to FDHeroBlock 2026-03-13 10:07:57 +01:00
Jeffrey
7bc3c23381 feat: add minHeight and separate heading/body color controls to FDHeroBlock 2026-03-13 10:00:06 +01:00
Jeffrey
05ae8d60d1 feat: add minHeight and separate heading/body color controls to FDHeroBlock 2026-03-13 09:59:11 +01:00
Jeffrey
32251ef681 chore: register new migration and update payload types 2026-03-13 09:33:25 +01:00
Jeffrey
e7df2e3cba feat: add imageOverlay field to AlternateHero, WideCard, UspChecklist blocks 2026-03-13 09:19:29 +01:00
Jeffrey
fb8b75ecaa feat: add agent system, references, and project structure 2026-03-06 12:40:04 +01:00
Jeffrey
1b68297766 fix: correct text- prefix on typography tokens 2026-03-04 22:02:46 +01:00
Jeffrey
4e9e51004f fix: null checks in FDVideoHeroBlock 2026-03-04 21:46:58 +01:00
Jeffrey
d7f3a52838 feat: FDVideoHeroBlock 2026-03-04 21:42:26 +01:00
Jeffrey
f9327f8d98 fix: buttons and links on FDLinkCards, FDQuiz blocks 2026-03-04 21:06:17 +01:00
Jeffrey
38ecfce2eb feat: add FDLinkCards, FDSpecCards, FDQuiz blocks 2026-03-04 20:48:34 +01:00
Jeffrey
805ec291df fix: dark mode visibility for navy cards + check icons 2026-03-04 20:17:00 +01:00
Jeffrey
f673837c18 perf: lighthouse fixes — remove Geist fonts, optimize popup image, fix hydration, CSP, SEO 2026-03-03 11:58:08 +01:00
Jeffrey
e05cacb37c feat: PostSettings global, fix stale migrations, shadow tokens 2026-03-02 16:02:38 +01:00
Jeffrey
707f76291e fixed the white box with shadow, shadow styling on several blocks 2026-03-02 15:33:21 +01:00
Jeffrey
5090c0f743 fix: FAQ answer alignment + font size, ServicesGrid button 2026-03-02 10:45:08 +01:00
jeffrey
fa5fbe277c migration: add users api key fields 2026-02-26 10:11:38 +00:00
Jeffrey
ac8d8b03bc migration: add users api key fields 2026-02-26 11:07:15 +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
82d2e48ee5 feat: enable API key auth on Users collection 2026-02-25 17:04:58 +01:00
Jeffrey
68d6e68cba updated todo with instructions to implement english EN 2026-02-24 15:24:30 +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
791ad8dbc0 fix: rich text prose alignment, testimonial padding, 3-col grids, VPS max values 2026-02-24 13:43:36 +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
313cfd31fb feat: iPad portrait responsive layout — min-[820px] breakpoints across all blocks + tablet slide-in nav 2026-02-24 12:18:36 +01:00
Jeffrey
7010e6519b feat: add Swedish flag + social icons to mobile menu footer 2026-02-24 11:13:44 +01:00
Jeffrey
72c75bdd3f fix: add anchor_id to _pages_v_ block tables in migration 2026-02-24 10:59:18 +01:00
Jeffrey
8a988aea64 fix: correct anchor_id migration — only existing block tables 2026-02-24 10:41:20 +01:00
Jeffrey
d3489afab6 fix: include anchor links migration files 2026-02-24 10:25:40 +01:00
Jeffrey
251a932036 feat: add anchor-links migration 2026-02-24 10:19:14 +01:00
Jeffrey
21e3778397 feat: anchor links, smooth scroll, back-to-top 2026-02-24 10:10:29 +01:00
Jeffrey
a018a65db9 feat: add mime type PDF 2026-02-23 16:20:28 +01:00
Jeffrey
50c5e200c3 feat: tighten mega menu spacing, bump link sizes 2026-02-23 09:40:53 +01:00
Jeffrey
488662fcbe Fix announcement bar flash, header edge-pinned layout, calculator text sizes 2026-02-21 17:53:52 +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
dbc336996f feat: block thumbnails in admin UI 2026-02-20 17:34:24 +01:00
Jeffrey
afa9ce5b0a feat: block thumbnails in admin UI 2026-02-20 14:50:21 +01:00
Jeffrey
1930e5b40d gitignore: exclude media uploads from git 2026-02-20 14:01:34 +01:00
Jeffrey
b1abf9209f fix: footer icons and sections, updated content security policy 2026-02-20 13:58:08 +01:00
Jeffrey
b42d1729be migration: footer cert marks and social links 2026-02-20 13:27:42 +01:00
Jeffrey
cab4779f7d feat: footer cert marks + social icons 2026-02-20 13:22:07 +01:00
Jeffrey
14a383abd2 fix: admin mobile drawer scroll, theme-color viewport export, custom.scss 2026-02-20 12:30:07 +01:00
Jeffrey
fbf44b784d fix: FDContactFormBlock dark mode + FDButton as=button for submit 2026-02-20 11:51:58 +01:00
Jeffrey
576ecf1e97 feat: dark mode across all blocks 2026-02-20 11:17:18 +01:00
Jeffrey
097615569b fix: mobile audit — gray token, FDImage props, border radius, padding 2026-02-20 10:11:02 +01:00
Jeffrey
5b64cbf24c Update ToDo, small fixes 2026-02-20 09:43:12 +01:00
Jeffrey
de4b1a5d81 feat: dark mode across all blocks, header, posts, 404 2026-02-20 08:58:52 +01:00
Jeffrey
0bf56a1388 feat: OS-based dark mode across all blocks 2026-02-20 07:57:47 +01:00