Commit graph

7 commits

Author SHA1 Message Date
8d5e687a87 fix(security): add minimatch >=10.2.1 override (CVE-2026-26996)
Resolves ReDoS vulnerability in minimatch via eslint dependency chain.
2026-02-22 10:52:01 +00:00
f2d5d4b588 chore(deps): update compatible dependencies
Updated: framer-motion, tailwind-merge, @tailwindcss/postcss, tailwindcss, @types/node, @types/react, eslint
Fixed: TypeScript strict cast in [slug]/page.tsx
2026-02-22 10:41:50 +00:00
582dbfbd12 feat: rewrite ContactFormBlock to use CMS form-builder
- Use submitContactForm() from api.ts instead of raw fetch to /api/contact
- Extract formId from block.form relationship (CMS-configurable)
- Use configurable successMessage from block data
- Add pnpm-workspace.yaml for onlyBuiltDependencies

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 16:16:23 +00:00
9ae965452e fix(security): update next.js 16.0.10 → 16.1.6
Resolves all 6 Dependabot alerts (2 high, 4 moderate):
- HTTP request deserialization DoS (CVE via insecure RSC)
- Unbounded memory consumption via PPR resume endpoint
- DoS via Image Optimizer remotePatterns configuration

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 11:10:37 +00:00
9fe9876de2 feat: add dynamic Lucide icon rendering to CardGridBlock
Installs lucide-react and creates DynamicIcon component that maps
icon name strings to rendered Lucide icons. CardGridBlock now supports
mediaType (none/image/icon) and iconPosition (top/left).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-16 15:57:41 +00:00
2e8d34d917 feat: apply Definity Template design system
- Tailwind v4 theme config with Definity colors (accent #2CAADF, dark #111)
- Montserrat + Open Sans font setup via next/font/google
- UI components: Button (6 variants), Container, SectionHeader
- Navigation with transparent-to-solid scroll behavior
- Footer with social links, widgets, copyright bar
- Block components: Hero, Text, CardGrid, Quote, ImageText, CTA,
  ContactForm, Timeline, Divider
- Typography system with prose styles for rich text
- Animation library with framer-motion variants
- Page transitions via template.tsx
- cn() utility (clsx + tailwind-merge)
- Updated API layer with getSocialLinks

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 11:06:05 +00:00
ab1e2d7094 feat: bootstrap porwoll.de with @c2s/payload-contracts
- Next.js 16 + Tailwind CSS 4 project setup
- Add @c2s/payload-contracts for shared API client (tenant: porwoll, ID: 1)
- Create src/lib/cms.ts and src/lib/api.ts with CMS integration
- Create block renderer with 15 placeholder blocks
- Create dynamic [slug] page routing with CMS pages
- Layout with CMS site settings integration
- transpilePackages configured for TypeScript source imports

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 00:56:27 +00:00