Commit Graph
2 Commits
Author SHA1 Message Date
damjan_savicandClaude Sonnet 4.5 bbc897de08 auto-claude: subtask-2-1 - Simplify DashboardContent client-side auth check
Removed redundant client-side redirect logic from DashboardContent since
server-side middleware now handles route protection (Phase 1 complete).

Changes:
- Removed redirect to login page from useEffect (now handled by middleware)
- Renamed checkAuth to fetchUser (more accurate purpose)
- Removed locale and router from useEffect dependencies (no longer needed)
- Kept loading state and user fetching for display purposes
- Component now trusts middleware protection and focuses on data display

The component still:
- Fetches user data for display (email, etc.)
- Shows loading state during fetch
- Handles logout functionality
- Maintains existing UI/UX

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-25 11:56:33 +01:00
damjan_savicandClaude Opus 4.5 87c7ebc5e3 feat: Add professional portfolio images and Hero redesign
- Add 15 optimized WebP images for portfolio (21-53KB each)
- Redesign Hero section with full-width background image
- Add SSR support for Hero component
- Update About section with new portrait image
- Update Contact page with professional headshot
- Add images to Services/Leistungen page
- Add image optimization script (sharp)
- Update translations for gallery section

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-19 23:33:28 +01:00