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
ccdc739c22
feat: redesign posts listing and detail pages
...
- posts/page.tsx: new layout matching design PDF - title+date above image, 3-col grid, no card borders
- posts/[slug]/page.tsx: editorial layout with hero image, fd-prose richtext, left-aligned CTA
2026-02-18 15:47:55 +01:00
Jeffrey
dc00f0c060
feat: cookie banner full-width, posts listing + detail redesign, richtext fix
...
- CookieConsent: full-width edge-to-edge bar, no rounded corners
- SiteSettings: acceptedDays/declinedDays fields for configurable consent expiry
- layout.tsx: clean single siteSettings fetch, proper CookieConsent props
- posts/[slug]/page.tsx: redesigned editorial layout matching PDF mockup
- posts/page.tsx: new FD-styled card grid with hero image, summary, date
- RichText: fixed prop from content= to data=, added fd-prose className
2026-02-18 15:28:39 +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
0712c0cc9d
feat: custom 404 page with modem illustration, light variant
2026-02-18 13:26:56 +01:00
Jeffrey
f5857f1298
feat: dynamic sitemap and robots.txt at app root
2026-02-18 12:27:55 +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
839773c271
fix: RichText imports, formatDateTime Swedish locale, posts page styling
2026-02-18 10:21:57 +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
9038b0c894
Initial commit: Fiber Direkt www webdev2 30+ blocks, media, DB dump
2026-02-17 12:30:47 +00: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