1+ 'use client' ;
2+
13import { FaDiscord , FaGithub , FaXTwitter } from 'react-icons/fa6' ;
24import { IoMdMail } from 'react-icons/io' ;
5+ import { SciFiButton } from './landing/scifi-btn' ;
36import { Wordmark } from './landing/wordmark' ;
47import { LogoContent } from './logo' ;
58
69export function Footer ( ) {
10+ const handleGetStarted = ( ) => {
11+ const newWindow = window . open (
12+ 'https://app.databuddy.cc/login' ,
13+ '_blank' ,
14+ 'noopener,noreferrer'
15+ ) ;
16+ if (
17+ ! newWindow ||
18+ newWindow . closed ||
19+ typeof newWindow . closed === 'undefined'
20+ ) {
21+ // Handle popup blocked case if needed
22+ }
23+ } ;
24+
725 return (
826 < footer className = "border-border border-t bg-background/95 backdrop-blur supports-[backdrop-filter]:bg-background/60" >
9- < div className = "mx-auto max-w-7xl px-4 py-10 sm:px-6 lg:px-8" >
27+ < div className = "mx-auto max-w-7xl px-4 pt-10 sm:px-6 lg:px-8" >
28+ { /* CTA Section */ }
29+ < div className = "mb-12 text-center" >
30+ < h2 className = "mb-6 font-medium text-2xl leading-tight sm:text-3xl" >
31+ You're just one click away.
32+ </ h2 >
33+ < div >
34+ < SciFiButton onClick = { handleGetStarted } > GET STARTED</ SciFiButton >
35+ </ div >
36+ </ div >
37+
1038 < div className = "grid grid-cols-2 gap-8 sm:gap-10 md:grid-cols-4" >
1139 < div className = "col-span-2 space-y-4 md:col-span-1" >
1240 < LogoContent />
@@ -80,7 +108,7 @@ export function Footer() {
80108 < ul className = "space-y-3 text-sm sm:text-base" >
81109 < li >
82110 < a
83- className = "flex items-center gap-3 text-muted-foreground hover:text-foreground"
111+ className = "group flex items-center gap-3 text-muted-foreground hover:text-foreground"
8411285113 >
86114 < IoMdMail className = "h-5 w-5" />
@@ -89,7 +117,7 @@ export function Footer() {
89117 </ li >
90118 < li >
91119 < a
92- className = "flex items-center gap-3 text-muted-foreground hover:text-foreground"
120+ className = "group flex items-center gap-3 text-muted-foreground hover:text-foreground"
93121 href = "https://discord.gg/JTk7a38tCZ"
94122 rel = "noopener"
95123 target = "_blank"
@@ -100,7 +128,7 @@ export function Footer() {
100128 </ li >
101129 < li >
102130 < a
103- className = "flex items-center gap-3 text-muted-foreground hover:text-foreground"
131+ className = "group flex items-center gap-3 text-muted-foreground hover:text-foreground"
104132 href = "https://github.com/databuddy-analytics"
105133 rel = "noopener"
106134 target = "_blank"
@@ -111,12 +139,12 @@ export function Footer() {
111139 </ li >
112140 < li >
113141 < a
114- className = "flex items-center gap-3 text-muted-foreground hover:text-foreground"
142+ className = "group flex items-center gap-3 text-muted-foreground hover:text-foreground"
115143 href = "https://x.com/trydatabuddy"
116144 rel = "noopener"
117145 target = "_blank"
118146 >
119- < FaXTwitter className = "h-5 w-5" /> X (Twitter)
147+ < FaXTwitter className = "h-5 w-5" /> X
120148 </ a >
121149 </ li >
122150 </ ul >
0 commit comments