Commit Graph
4 Commits
Author SHA1 Message Date
damjan_savic b89031576d auto-claude: subtask-1-4 - Add URL state management using searchParams and router.push 2026-01-25 04:03:05 +01:00
damjan_savicandClaude Sonnet 4.5 d130972cd7 auto-claude: subtask-1-3 - Add filtering logic and integrate components into blog page
- Created BlogList client component with search and category filtering
- Integrated SearchBar and CategoryFilter components
- Implemented case-insensitive search by title/excerpt/tags
- Added category filtering with AND logic for combined filters
- Updated pagination to work with filtered results
- Added search placeholder translations for de/en/sr
- Moved blog card and pagination logic to client component

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-25 02:47:52 +01:00
damjan_savicandClaude Sonnet 4.5 cfa2bc81e6 auto-claude: subtask-1-2 - Create CategoryFilter component with category buttons/dropdown
Created CategoryFilter component with the following features:
- Client component with 'use client' directive and framer-motion animations
- Props: categories, selectedCategory, onCategoryChange, className
- Uses lucide-react Tag icon
- Responsive design: horizontal scrollable on mobile, grid layout on desktop
- Active category highlighted with bg-[#697565] text-white
- Includes 'All' option to clear filter
- Follows established patterns from SearchBar and ContactForm
- Consistent styling with bg-zinc-900/50 and border-zinc-800
- Smooth transitions and hover states

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-25 02:39:30 +01:00
damjan_savic 0cc34aa007 auto-claude: subtask-1-1 - Create SearchBar component with search input and r 2026-01-25 02:37:31 +01:00