File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,11 +17,10 @@ export default function CookoffBanner() {
1717 className = "md:hidden"
1818 />
1919
20- < span className = "hidden md:block" >
21- Marking 10 years of coding excellence, CookOff is back as
22- graVITas' biggest coding challenge – test your skills and make
23- history!
24- </ span >
20+ < span className = "hidden md:block" >
21+ 10 Years. Hundreds of Coders. One Champion.
22+ CookOff, the biggest competitive coding challenge of graVITas is back!
23+ </ span >
2524
2625 < Link
2726 href = "https://gravitas.vit.ac.in/events/bdfcebea-c141-4a61-ac73-61dec96c08f4"
Original file line number Diff line number Diff line change @@ -48,9 +48,13 @@ function SideBar({
4848 const exams =
4949 filterOptions ?. unique_exams . map ( ( exam ) => ( { label : exam , value : exam } ) ) ?? [ ] ;
5050 const slots =
51- filterOptions ?. unique_slots . map ( ( slot ) => ( { label : slot , value : slot } ) ) ?? [ ] ;
51+ filterOptions ?. unique_slots
52+ . sort ( ( a , b ) => a . localeCompare ( b , undefined , { numeric : true } ) )
53+ . map ( ( slot ) => ( { label : slot , value : slot } ) ) ?? [ ] ;
5254 const years =
53- filterOptions ?. unique_years . map ( ( year ) => ( { label : year , value : year } ) ) ?? [ ] ;
55+ filterOptions ?. unique_years
56+ . sort ( ( a , b ) => b . localeCompare ( a ) )
57+ . map ( ( year ) => ( { label : year , value : year } ) ) ?? [ ] ;
5458 const semesters =
5559 filterOptions ?. unique_semesters . map ( ( semester ) => ( {
5660 label : semester ,
You can’t perform that action at this time.
0 commit comments