@@ -4,16 +4,14 @@ import {
4
4
DropdownMenu ,
5
5
DropdownMenuContent ,
6
6
DropdownMenuItem ,
7
- DropdownMenuLabel ,
8
- DropdownMenuSeparator ,
9
7
DropdownMenuTrigger ,
10
8
} from "@/components/ui/dropdown-menu" ;
11
9
12
10
export default function Hamburger ( ) {
13
11
14
12
return (
15
13
< DropdownMenu modal = { false } >
16
- < DropdownMenuTrigger >
14
+ < DropdownMenuTrigger asChild >
17
15
< button className = "p-2 rounded-lg transition-all" >
18
16
< svg
19
17
className = "w-10 h-10 hover:scale-110 hover:rotate-2 transition-all"
@@ -35,37 +33,37 @@ export default function Hamburger() {
35
33
className = "w-44 bg-[#3977F9] border-none shadow-lg rounded-2xl text-white"
36
34
>
37
35
38
- < DropdownMenuItem className = "text-white text-lg py-2 px-4 rounded-2xl focus:bg-white/10 hover:bg-white/10 cursor-pointer" >
36
+ < DropdownMenuItem asChild className = "text-white text-lg py-2 px-4 rounded-2xl focus:bg-white/10 hover:bg-white/10 cursor-pointer" >
39
37
< Link href = "/about" className = "w-full block" >
40
38
About Us
41
39
</ Link >
42
40
</ DropdownMenuItem >
43
41
44
- < DropdownMenuItem className = "text-white text-lg py-2 px-4 rounded-2xl focus:bg-white/10 hover:bg-white/10 cursor-pointer" >
42
+ < DropdownMenuItem asChild className = "text-white text-lg py-2 px-4 rounded-2xl focus:bg-white/10 hover:bg-white/10 cursor-pointer" >
45
43
< Link href = "/events" className = "w-full block" >
46
44
Events
47
45
</ Link >
48
46
</ DropdownMenuItem >
49
47
50
- < DropdownMenuItem className = "text-white text-lg py-2 px-4 rounded-2xl focus:bg-white/10 hover:bg-white/10 cursor-pointer" >
48
+ < DropdownMenuItem asChild className = "text-white text-lg py-2 px-4 rounded-2xl focus:bg-white/10 hover:bg-white/10 cursor-pointer" >
51
49
< Link href = "/resources" className = "w-full block" >
52
50
Resources
53
51
</ Link >
54
52
</ DropdownMenuItem >
55
53
56
- < DropdownMenuItem className = "text-white text-lg py-2 px-4 rounded-2xl focus:bg-white/10 hover:bg-white/10 cursor-pointer" >
54
+ < DropdownMenuItem asChild className = "text-white text-lg py-2 px-4 rounded-2xl focus:bg-white/10 hover:bg-white/10 cursor-pointer" >
57
55
< Link href = "/sponsors" className = "w-full block" >
58
56
Sponsors
59
57
</ Link >
60
58
</ DropdownMenuItem >
61
59
62
- < DropdownMenuItem className = "text-white text-lg py-2 px-4 rounded-2xl focus:bg-white/10 hover:bg-white/10 cursor-pointer" >
60
+ < DropdownMenuItem asChild className = "text-white text-lg py-2 px-4 rounded-2xl focus:bg-white/10 hover:bg-white/10 cursor-pointer" >
63
61
< Link href = "/contact-us" className = "w-full block" >
64
62
Contact Us
65
63
</ Link >
66
64
</ DropdownMenuItem >
67
65
68
- < DropdownMenuItem className = "text-white text-lg py-2 px-4 rounded-2xl focus:bg-white/10 hover:bg-white/10 cursor-pointer" >
66
+ < DropdownMenuItem asChild className = "text-white text-lg py-2 px-4 rounded-2xl focus:bg-white/10 hover:bg-white/10 cursor-pointer" >
69
67
< a
70
68
target = "_blank"
71
69
href = "https://csesoc-merch.square.site/"
0 commit comments