Skip to content

Commit fc6c692

Browse files
committed
feat: add discord community invitation banner to hero section
1 parent f722f72 commit fc6c692

1 file changed

Lines changed: 25 additions & 1 deletion

File tree

app/page.tsx

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,10 +95,34 @@ export default function LandingPage() {
9595

9696
<main className="relative z-10 mx-auto max-w-6xl px-6 pb-32">
9797
<div className="mb-16 text-center">
98+
<motion.a
99+
href="https://discord.gg/Cb73bS79j"
100+
target="_blank"
101+
rel="noopener noreferrer"
102+
initial={{ opacity: 0, y: -10 }}
103+
animate={{ opacity: 1, y: 0 }}
104+
transition={{ duration: 0.5, delay: 0.1 }}
105+
whileHover={{ scale: 1.04, backgroundColor: 'rgba(255,255,255,0.07)' }}
106+
whileTap={{ scale: 0.97 }}
107+
className="mb-8 inline-flex items-center gap-2.5 rounded-full border border-white/10 bg-white/[0.04] px-4 py-1.5 text-xs font-medium text-white/50 backdrop-blur-sm transition-colors duration-200 hover:border-white/20 hover:text-white/80"
108+
>
109+
<span className="relative flex h-1.5 w-1.5">
110+
<span className="absolute inline-flex h-full w-full animate-ping rounded-full bg-white/50" />
111+
<span className="relative inline-flex h-1.5 w-1.5 rounded-full bg-white/70" />
112+
</span>
113+
<svg width="13" height="13" viewBox="0 0 24 24" fill="currentColor" className="opacity-60">
114+
<path d="M20.317 4.3698a19.7913 19.7913 0 00-4.8851-1.5152.0741.0741 0 00-.0785.0371c-.211.3753-.4447.8648-.6083 1.2495-1.8447-.2762-3.68-.2762-5.4868 0-.1636-.3933-.4058-.8742-.6177-1.2495a.077.077 0 00-.0785-.037 19.7363 19.7363 0 00-4.8852 1.515.0699.0699 0 00-.0321.0277C.5334 9.0458-.319 13.5799.0992 18.0578a.0824.0824 0 00.0312.0561c2.0528 1.5076 4.0413 2.4228 5.9929 3.0294a.0777.0777 0 00.0842-.0276c.4616-.6304.8731-1.2952 1.226-1.9942a.076.076 0 00-.0416-.1057c-.6528-.2476-1.2743-.5495-1.8722-.8923a.077.077 0 01-.0076-.1277c.1258-.0943.2517-.1923.3718-.2914a.0743.0743 0 01.0776-.0105c3.9278 1.7933 8.18 1.7933 12.0614 0a.0739.0739 0 01.0785.0095c.1202.099.246.1981.3728.2924a.077.077 0 01-.0066.1276 12.2986 12.2986 0 01-1.873.8914.0766.0766 0 00-.0407.1067c.3604.698.7719 1.3628 1.225 1.9932a.076.076 0 00.0842.0286c1.961-.6067 3.9495-1.5219 6.0023-3.0294a.077.077 0 00.0313-.0552c.5004-5.177-.8382-9.6739-3.5485-13.6604a.061.061 0 00-.0312-.0286zM8.02 15.3312c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9555-2.4189 2.157-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3333-.9555 2.4189-2.1569 2.4189zm7.9748 0c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9554-2.4189 2.1569-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3333-.946 2.4189-2.1568 2.4189Z" />
115+
</svg>
116+
Join the community on Discord
117+
<svg width="10" height="10" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2.5" strokeLinecap="round" strokeLinejoin="round" className="opacity-40">
118+
<path d="M7 17L17 7M17 7H7M17 7v10" />
119+
</svg>
120+
</motion.a>
121+
98122
<motion.div
99123
initial={{ opacity: 0, y: 20 }}
100124
animate={{ opacity: 1, y: 0 }}
101-
transition={{ duration: 0.6 }}
125+
transition={{ duration: 0.6, delay: 0.15 }}
102126
>
103127
<h1 className="mb-8 bg-gradient-to-b from-white to-white/30 bg-clip-text text-5xl font-extrabold tracking-tight text-transparent md:text-8xl">
104128
Elevate Your <br /> Contribution Story.

0 commit comments

Comments
 (0)