@@ -13,7 +13,7 @@ import { useEffect, useState } from "react";
13
13
import { Button } from "./ui/button" ;
14
14
15
15
export default function Footer ( ) {
16
- const { theme, setTheme } = useTheme ( ) ;
16
+ const { theme } = useTheme ( ) ;
17
17
const [ isDarkMode , setIsDarkMode ] = useState < boolean | null > ( true ) ;
18
18
19
19
useEffect ( ( ) => {
@@ -23,78 +23,81 @@ export default function Footer() {
23
23
} , [ theme ] ) ;
24
24
25
25
return (
26
- < div className = "mx-auto flex flex-col items-center justify-between gap-y-12 pt-12 md:pt-8 lg:w-full lg:flex-row lg:justify-around lg:px-12 mb-4" >
27
- < div className = "flex items-center" >
28
- < h1 className = "jost bg-gradient-to-r from-[#562EE7] to-[rgba(116,128,255,0.8)] bg-clip-text text-center text-3xl font-bold text-transparent lg:text-5xl 2xl:text-6xl dark:from-[#562EE7] dark:to-[#FFC6E8]" >
29
- Papers
30
- </ h1 >
31
- < Separator orientation = "vertical" className = "mx-3 h-full min-h-20" />
32
- < div className = "flex items-center" >
33
- < Image
34
- src = { ccLogo as HTMLImageElement }
35
- alt = "codechef-logo"
36
- height = { 70 }
37
- width = { 70 }
38
- />
39
- < p className = "jost text-2xl font-bold lg:text-4xl" > CodeChef-VIT</ p >
26
+ < footer className = "w-full overflow-hidden font-sans bg-gradient-to-b dark:from-[#070114] dark:to-[#1F0234] from-[#F3F5FF] to-[#A599CE] px-6 py-12 text-white" >
27
+ < div className = "max-w-7xl mx-auto flex flex-col gap-y-10 lg:flex-row lg:justify-between" >
28
+ < div className = "flex flex-col items-center lg:items-start gap-4 text-center lg:text-left" >
29
+ < h1 className = "jost tracking-wide bg-gradient-to-r from-[#562EE7] to-[rgba(116,128,255,0.8)] bg-clip-text font-bold text-xl text-transparent mb-5 dark:from-[#562EE7] dark:to-[#FFC6E8] text-left md:text-7xl" >
30
+ Papers
31
+ </ h1 >
32
+ < p className = "text-md text-black dark:text-white" > Made with ❤️ by Codechef-VIT</ p >
33
+ < div className = "flex items-center gap-4 flex-wrap justify-center lg:justify-start" >
34
+ < Link href = "https://www.instagram.com/codechefvit/" >
35
+ < Button variant = "ghost" size = "icon" >
36
+ < Instagram className = "text-black dark:text-white" />
37
+ </ Button >
38
+ </ Link >
39
+ < Link href = "https://www.linkedin.com/company/codechefvit/" >
40
+ < Button variant = "ghost" size = "icon" >
41
+ < Linkedin className = "text-black dark:text-white" />
42
+ </ Button >
43
+ </ Link >
44
+ < Link href = "https://www.youtube.com/@CodeChefVIT" >
45
+ < Button variant = "ghost" size = "icon" >
46
+ < Youtube className = "text-black dark:text-white" />
47
+ </ Button >
48
+ </ Link >
49
+ < Link href = "https://github.com/CodeChefVIT" >
50
+ < Button variant = "ghost" size = "icon" >
51
+ < Github className = "text-black dark:text-white" />
52
+ </ Button >
53
+ </ Link >
54
+ < Link href = "https://www.facebook.com/codechefvit/" >
55
+ < Button variant = "ghost" size = "icon" >
56
+ < Image
57
+ src = {
58
+ isDarkMode
59
+ ? ( meta_icon_dark as HTMLInputElement )
60
+ : ( meta_icon as HTMLInputElement )
61
+ }
62
+ alt = "meta-icon"
63
+ height = { 24 }
64
+ width = { 24 }
65
+ />
66
+ </ Button >
67
+ </ Link >
68
+ < Link href = "https://x.com/codechefvit" className = "pb-1.5" >
69
+ < Button variant = "ghost" size = "icon" >
70
+ < Image
71
+ src = {
72
+ isDarkMode
73
+ ? ( x_twitter_icon_dark as HTMLInputElement )
74
+ : ( x_twitter_icon as HTMLInputElement )
75
+ }
76
+ alt = "x_twitter_icon"
77
+ height = { 24 }
78
+ width = { 24 }
79
+ />
80
+ </ Button >
81
+ </ Link >
82
+ </ div >
40
83
</ div >
41
- </ div >
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 >
84
+ < div className = "flex flex-col items-center dark:text-white text-black lg:items-start text-center lg:text-left gap-2" >
85
+ < h3 className = "text-xl font-semibold" > Menu</ h3 >
86
+ < Link href = "/search" > Search</ Link >
87
+ < Link href = "/features" > Features</ Link >
88
+ < Link href = "/faq" > FAQ</ Link >
89
+ </ div >
90
+ < div className = "flex flex-col items-center dark:text-white text-black lg:items-start text-center lg:text-left gap-2" >
91
+ < h3 className = "text-xl font-semibold" > Our Projects</ h3 >
92
+ < Link href = "/" > Papers</ Link >
93
+ < Link href = "/" > FFCS-inator</ Link >
94
+ < Link href = "/" > Brainrot Arcade</ Link >
95
+ </ div >
96
+ < div className = "flex flex-col items-center dark:text-white text-black lg:items-start text-center lg:text-left gap-2" >
97
+ < h3 className = "text-xl font-semibold" > Contact Us</ h3 >
98
+
92
99
</ div >
93
- { /* <p className="hidden text-center text-xl lg:block">
94
- Made with 💜 By Codechef-VIT
95
- </p> */ }
96
100
</ div >
97
- < p className = "block text-xl lg:hidden" > Made with 💜 By Codechef-VIT</ p >
98
- </ div >
101
+ </ footer >
99
102
) ;
100
103
}
0 commit comments