Skip to content

Commit 1d66aff

Browse files
committed
fix(past events): add year for 2022 on mobile screen
1 parent 81cef94 commit 1d66aff

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

src/components/nav-bar.tsx

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ export default function Navbar1() {
122122
navigationMenuTriggerStyle,
123123
buttonVariants({
124124
variant: "ghost",
125-
}),
125+
})
126126
)}
127127
href="/"
128128
>
@@ -141,7 +141,7 @@ export default function Navbar1() {
141141
<li key={item.title}>
142142
<a
143143
className={cn(
144-
"flex select-none gap-4 rounded-md p-3 leading-none no-underline outline-hidden transition-colors hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground",
144+
"flex select-none gap-4 rounded-md p-3 leading-none no-underline outline-hidden transition-colors hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground"
145145
)}
146146
href={item.url}
147147
>
@@ -170,7 +170,7 @@ export default function Navbar1() {
170170
<li key={item.title}>
171171
<a
172172
className={cn(
173-
"flex select-none gap-4 rounded-md p-3 leading-none no-underline outline-hidden transition-colors hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground",
173+
"flex select-none gap-4 rounded-md p-3 leading-none no-underline outline-hidden transition-colors hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground"
174174
)}
175175
href={item.url}
176176
>
@@ -199,7 +199,7 @@ export default function Navbar1() {
199199
navigationMenuTriggerStyle,
200200
buttonVariants({
201201
variant: "ghost",
202-
}),
202+
})
203203
)}
204204
href="/sponsors"
205205
>
@@ -275,7 +275,7 @@ export default function Navbar1() {
275275
<a
276276
key={item.title}
277277
className={cn(
278-
"flex select-none gap-4 rounded-md p-3 leading-none outline-hidden transition-colors hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground",
278+
"flex select-none gap-4 rounded-md p-3 leading-none outline-hidden transition-colors hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground"
279279
)}
280280
href={item.url}
281281
>
@@ -298,7 +298,7 @@ export default function Navbar1() {
298298
<a
299299
key={item.title}
300300
className={cn(
301-
"flex select-none gap-4 rounded-md p-3 leading-none outline-hidden transition-colors hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground",
301+
"flex select-none gap-4 rounded-md p-3 leading-none outline-hidden transition-colors hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground"
302302
)}
303303
href={item.url}
304304
>
@@ -324,7 +324,7 @@ export default function Navbar1() {
324324
buttonVariants({
325325
variant: "ghost",
326326
}),
327-
"justify-start text-muted-foreground",
327+
"justify-start text-muted-foreground"
328328
)}
329329
href="/terms-and-conditions"
330330
>
@@ -335,7 +335,7 @@ export default function Navbar1() {
335335
buttonVariants({
336336
variant: "ghost",
337337
}),
338-
"justify-start text-muted-foreground",
338+
"justify-start text-muted-foreground"
339339
)}
340340
href="/privacy-policy"
341341
>
@@ -346,7 +346,9 @@ export default function Navbar1() {
346346
<DropdownMenu>
347347
<DropdownMenuTrigger>Past Events</DropdownMenuTrigger>
348348
<DropdownMenuContent>
349-
<DropdownMenuItem>2022</DropdownMenuItem>
349+
<DropdownMenuItem>
350+
<a href="/2022">2022</a>
351+
</DropdownMenuItem>
350352
<DropdownMenuItem>2018</DropdownMenuItem>
351353
<DropdownMenuItem>2017</DropdownMenuItem>
352354
</DropdownMenuContent>

0 commit comments

Comments
 (0)