Improve the display of publication year filtering options for easier navigation

Updates SelectItem values in FilterSidebar.tsx and adds associated images.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: cbacfb18-842a-4116-a907-18c0105ad8ec
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/39b5c689-6e8a-4d5a-9792-69cc81a56534/ee47ec97-39c8-48a2-b93a-f5600b5ba30f.jpg
This commit is contained in:
mukimovd 2025-05-01 03:08:23 +00:00
parent 024e5d0ef5
commit 41b9e8f404
4 changed files with 2 additions and 2 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 123 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 85 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 73 KiB

View File

@ -237,7 +237,7 @@ export function FilterSidebar({ filters, onFilterChange, tags }: FilterSidebarPr
<SelectValue placeholder="From" />
</SelectTrigger>
<SelectContent>
<SelectItem value="">Any</SelectItem>
<SelectItem value="any">Any</SelectItem>
{Array.from({ length: 10 }, (_, i) => 1500 + i * 50).map(year => (
<SelectItem key={year} value={year.toString()}>{year}</SelectItem>
))}
@ -255,7 +255,7 @@ export function FilterSidebar({ filters, onFilterChange, tags }: FilterSidebarPr
<SelectValue placeholder="To" />
</SelectTrigger>
<SelectContent>
<SelectItem value="">Any</SelectItem>
<SelectItem value="any">Any</SelectItem>
{Array.from({ length: 11 }, (_, i) => 1550 + i * 50).map(year => (
<SelectItem key={year} value={year.toString()}>{year}</SelectItem>
))}