@@ -10,6 +10,7 @@ import x_twitter_icon_dark from "../assets/x_twitter_icon_dark.svg";
10
10
import Link from "next/link" ;
11
11
import { useTheme } from "next-themes" ;
12
12
import { useEffect , useState } from "react" ;
13
+ import { Button } from "./ui/button" ;
13
14
14
15
export default function Footer ( ) {
15
16
const { theme, setTheme } = useTheme ( ) ;
@@ -38,37 +39,60 @@ export default function Footer() {
38
39
< p className = "jost text-2xl font-bold lg:text-4xl" > CodeChef-VIT</ p >
39
40
</ div >
40
41
</ div >
41
-
42
- < p className = "hidden text-xl lg:block" > Made with 💜 By Codechef-VIT</ p >
43
- < div className = "flex items-center gap-x-8" >
44
- < Link href = "https://www.instagram.com/codechefvit/" >
45
- < Instagram />
46
- </ Link >
47
- < Link href = "https://www.linkedin.com/company/codechefvit/" >
48
- < Linkedin />
49
- </ Link >
50
- < Link href = "https://www.youtube.com/@CodeChefVIT" >
51
- < Youtube />
52
- </ Link >
53
- < Link href = "https://github.com/CodeChefVIT" >
54
- < Github />
55
- </ Link >
56
- < Link href = "https://www.facebook.com/codechefvit/" >
57
- < Image
58
- src = { isDarkMode ? meta_icon_dark : meta_icon }
59
- alt = "meta-icon"
60
- height = { 24 }
61
- width = { 24 }
62
- />
63
- </ Link >
64
- < Link href = "https://x.com/codechefvit" className = "pb-1.5" >
65
- < Image
66
- src = { isDarkMode ? x_twitter_icon_dark : x_twitter_icon }
67
- alt = "x_twitter_icon"
68
- height = { 24 }
69
- width = { 24 }
70
- />
71
- </ Link >
42
+ < div >
43
+ < div className = "flex items-center gap-x-8" >
44
+ < Link href = "https://www.instagram.com/codechefvit/" >
45
+ < Button variant = "ghost" size = "icon" >
46
+ < Instagram />
47
+ </ Button >
48
+ </ Link >
49
+ < Link href = "https://www.linkedin.com/company/codechefvit/" >
50
+ < Button variant = "ghost" size = "icon" >
51
+ < Linkedin />
52
+ </ Button >
53
+ </ Link >
54
+ < Link href = "https://www.youtube.com/@CodeChefVIT" >
55
+ < Button variant = "ghost" size = "icon" >
56
+ < Youtube />
57
+ </ Button >
58
+ </ Link >
59
+ < Link href = "https://github.com/CodeChefVIT" >
60
+ < Button variant = "ghost" size = "icon" >
61
+ < Github />
62
+ </ Button >
63
+ </ Link >
64
+ < Link href = "https://www.facebook.com/codechefvit/" >
65
+ < Button variant = "ghost" size = "icon" >
66
+ < Image
67
+ src = {
68
+ isDarkMode
69
+ ? ( meta_icon_dark as HTMLInputElement )
70
+ : ( meta_icon as HTMLInputElement )
71
+ }
72
+ alt = "meta-icon"
73
+ height = { 24 }
74
+ width = { 24 }
75
+ />
76
+ </ Button >
77
+ </ Link >
78
+ < Link href = "https://x.com/codechefvit" className = "pb-1.5" >
79
+ < Button variant = "ghost" size = "icon" >
80
+ < Image
81
+ src = {
82
+ isDarkMode
83
+ ? ( x_twitter_icon_dark as HTMLInputElement )
84
+ : ( x_twitter_icon as HTMLInputElement )
85
+ }
86
+ alt = "x_twitter_icon"
87
+ height = { 24 }
88
+ width = { 24 }
89
+ />
90
+ </ Button >
91
+ </ Link >
92
+ </ div >
93
+ < p className = "hidden text-center text-xl lg:block" >
94
+ Made with 💜 By Codechef-VIT
95
+ </ p >
72
96
</ div >
73
97
< p className = "block text-xl lg:hidden" > Made with 💜 By Codechef-VIT</ p >
74
98
</ div >
0 commit comments