mirror of
https://github.com/SamyRai/tercul-frontend.git
synced 2025-12-27 02:31:34 +00:00
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:
parent
024e5d0ef5
commit
41b9e8f404
BIN
attached_assets/image_1746068753512.png
Normal file
BIN
attached_assets/image_1746068753512.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 123 KiB |
BIN
attached_assets/image_1746068823141.png
Normal file
BIN
attached_assets/image_1746068823141.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 85 KiB |
BIN
attached_assets/image_1746068845499.png
Normal file
BIN
attached_assets/image_1746068845499.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 73 KiB |
@ -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>
|
||||
))}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user