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>
- 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>