- Started dev server with npm run dev
- Verified server responds on port 3000
- Confirmed homepage renders without module resolution errors
- All components and navigation load correctly
This completes the removal of 753KB of dead code from the
incomplete Vite migration (components-vite and pages-vite folders).
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Added aria-label and aria-busy attributes to SkillsSkeleton component for
better screen reader support. This ensures assistive technologies properly
announce the loading state to users.
Also updated .gitignore to exclude .auto-claude/ directory.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- Added comprehensive Configuration & Setup section
- Documented getRequestConfig() function with full implementation
- Explained locale validation logic with examples and security benefits
- Detailed dynamic message loading mechanism and performance comparison
- Documented createNextIntlPlugin() integration in next.config.ts
- Explained plugin composition pattern with MDX
- Added server-side vs client-side translation comparison
- Included best practices for component splitting and performance optimization
- Provided code examples for all patterns and troubleshooting guides
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Added comprehensive documentation for:
- Branch naming conventions with patterns and examples
- Pull request guidelines including pre-submission checklist, PR template, and best practices
- Legacy code explanation for components-vite, pages-vite, and locales-old directories
- Migration status and what to avoid touching during Vite to Next.js migration
- Updated table of contents with new sections
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- Created comprehensive test suite for cache.ts covering:
- set() and get() operations with various data types
- TTL expiration logic (default, custom, and edge cases)
- has() method for checking key existence
- delete() method for removing individual keys
- clear() method for removing all keys
- Expiration boundary testing
- Different TTL values for different items
- TTL reset when items are overwritten
- Fixed vitest.config.ts to include src/utils/** tests
- Fixed tsconfig.json to include src/utils/** files
- Used vi.useFakeTimers() for deterministic time-based testing
- All tests properly isolated with beforeEach/afterEach hooks
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- Ran npm run build successfully with exit code 0
- Next.js build verified after deletion of components-vite and pages-vite
- No build errors or missing module warnings
- Application builds correctly with cleaned up codebase
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- Added 'Missing Scripts' section to scripts/README.md
- Documented generate-blog-images.mjs (referenced in package.json but not implemented)
- Included package.json references, description, recommended actions, and impact
- Suggests either removing references or implementing the script with OpenAI API
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- Added comprehensive Content Workflows section to CONTRIBUTING.md
- Documented how to add portfolio projects with TypeScript data structure example
- Documented how to add blog posts using MDX format
- Documented i18n workflow for translations with JSON structure
- Added file location conventions for all locales (de, en, sr)
- Included step-by-step instructions and best practices
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
All automated verification steps completed successfully:
- TypeScript compilation: PASSED (npx tsc --noEmit)
- ESLint verification: PASSED (npm run lint)
- Build verification: PASSED (npm run build)
Implementation verified:
- throttle utility function created with proper TypeScript types
- usePageVisibility hook using Page Visibility API
- useIntersectionObserver hook with configurable options
- GlobalBackground animations conditionally render based on visibility
- Header scroll handler throttled to 100ms intervals
All acceptance criteria met:
✓ Animations pause when tab is inactive
✓ Animations pause when scrolled offscreen
✓ Animations resume when visible again
✓ Scroll handler throttled to ~100ms
✓ No console errors or warnings
✓ No regression in existing functionality
✓ Build succeeds without errors
✓ Linting passes
Verification report created with manual testing instructions.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- Add next-intl internationalization support
- Use translation keys from pages.notfound (title, description, backHome)
- Change button from blue to white/zinc design system colors
- Link to default locale homepage
- Convert component to async for getTranslations
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>