Commit graph

21 commits

Author SHA1 Message Date
8a7c79de75 test: webhook deploy verification 2026-02-17 13:37:44 +00:00
f13adab7ce fix(deps): update next.js 16.0.10 → 16.1.6 (security fixes)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 13:06:07 +00:00
8f80eca72a ci: add staging deploy workflow via SSH
Deploys to sv-frontend on push to develop.
Uses port-forwarding through UDM Pro SE (37.24.237.181:2204).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 22:24:40 +00:00
7b486292a0 fix: correct TypeScript destructuring for unused vars
- Use rename syntax (filterCategory: _filterCategory) instead of direct rename
- Fix FavoritesBlock layout destructuring

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 21:52:04 +00:00
12c8461108 fix: resolve lint errors (server.js ignore, unused vars)
- Add server.js to ESLint globalIgnores (CJS file for Passenger)
- Prefix unused destructured vars with underscore
- Comment out unused PAYLOAD_URL constant
- Configure underscore-prefix pattern for unused vars

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 21:49:23 +00:00
44ee0cceb7 fix: remove escaped characters from server.js
Fix bash-escaped \! in !== operator that caused SyntaxError.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 19:25:04 +00:00
3c215d6474 fix: remove shebang from server.js for Phusion Passenger compatibility
Passenger loads server.js via require(), not as a shell script.
The shebang causes SyntaxError: Invalid or unexpected token.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 19:22:52 +00:00
7fca02c725 feat: add Phusion Passenger server.js for Plesk deployment
Required by Plesk Node.js Manager to start the Next.js production server
via Phusion Passenger. Uses CommonJS for Passenger compatibility.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 19:01:22 +00:00
c6a0a4eada fix(ci): use --add for multiple git insteadOf patterns
git config overwrites previous insteadOf value without --add flag.
Need both git@github.com: (SCP) and ssh://git@github.com/ patterns.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 18:23:42 +00:00
a13badf066 fix(ci): use env var for git credential rewrite
Pass GH_PAT via env var instead of secrets expression
in shell command for reliable git insteadOf config.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 18:20:39 +00:00
c618776f76 fix(ci): rewrite git SSH to HTTPS for private dependency access
pnpm resolves github: deps via git@github.com: (SSH), which fails
without SSH keys. Rewrite to HTTPS with GH_PAT token instead.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 18:17:19 +00:00
208d03033b fix(ci): add packageManager field for pnpm/action-setup
pnpm/action-setup@v4 requires pnpm version via packageManager field.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 18:15:08 +00:00
d7a71450f3 ci: add GitHub Actions CI workflow
Runs lint and build on push to develop/main and on PRs.
Uses GH_PAT secret for private @c2s/payload-contracts dependency.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 18:13:07 +00:00
64a9efee61 fix: align Button and Header with design guideline
- Secondary button hover: full espresso fill with white text
- Tertiary button: font-medium (500) and subtle hover background
- Primary button hover: exact 1px translateY
- Header: backdrop-blur 10px (was 4px) and z-index 100 (was 50)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 18:08:32 +00:00
f92601a1d4 docs: add contracts package reference to CLAUDE.md
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 01:11:10 +00:00
2500b8b16f feat: migrate API layer to @c2s/payload-contracts
- Add @c2s/payload-contracts as shared API client dependency
- Create src/lib/cms.ts with tenant-configured PayloadClient instance
- Replace manual fetch logic in api.ts with contracts client calls
- Add transpilePackages config for TypeScript source imports
- Local types preserved for component compatibility (bridge pattern)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 00:44:21 +00:00
ba54d7a85d Aktualisierung der Codebase 2026-02-07 21:34:14 +00:00
75f31b1cb8 Fix design errors, UX issues, and improve accessibility
Critical fixes:
- Add group class to Card component for image zoom on hover
- Create Skeleton, EmptyState, and Pagination UI components
- Add proper empty state to PostsListBlock instead of returning null

Visual consistency:
- Fix Button hover states (subtler secondary/tertiary transitions)
- Add badge variants for FavoritesBlock with German labels
- Increase overlay opacity in HeroBlock/VideoBlock for better contrast

Accessibility improvements:
- Add skip-to-content link in layout for keyboard navigation
- Add focus-visible states to FAQ accordion and Testimonials carousel
- Implement focus trap in MobileMenu with proper ARIA attributes
- Enhance 404 page with helpful navigation links

Polish:
- Fix DividerBlock text contrast
- Fix lint errors (Link component, const declaration)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-05 15:16:17 +00:00
dcfc48f5ce Add documentation and BlogWoman frontend development prompt
- Add API documentation (API_ANLEITUNG.md)
- Add architecture docs (UNIVERSAL_FEATURES.md, Analytics.md)
- Add guides (FRONTEND.md, SEO_ERWEITERUNG.md, styleguide.md)
- Add Planungs-KI prompt template (ANLEITUNG-PLANUNGS-KI-FRONTEND.md)
- Add BlogWoman frontend development prompt with:
  - Tenant-ID 9 configuration
  - Design system based on styleguide
  - BlogWoman-specific blocks (Favorites, Series, VideoEmbed)
  - API patterns with tenant isolation
  - SEO and Analytics integration

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-20 21:24:13 +00:00
4311a1960d Setup Next.js 16 project with collaborative folder structure
- Initialize Next.js 16 with React 19, TypeScript, and Tailwind CSS 4
- Add prompts/ directory for concept AI instructions
- Add docs/ directory for project documentation
- Include README files explaining workflow and conventions

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-20 14:12:52 +00:00
c2s
ed8924967c
Initial commit 2025-12-18 12:29:26 +01:00