Skip to content

Commit f8a31c9

Browse files
committed
Replaced outdated twitter icon with X branding
1 parent 9d34c19 commit f8a31c9

1 file changed

Lines changed: 19 additions & 13 deletions

File tree

src/components/Footer.tsx

Lines changed: 19 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
import { useState } from 'react';
22
import { Link } from 'react-router-dom';
3+
34
import {
45
FaGithub,
5-
FaTwitter,
66
FaDiscord,
77
FaArrowRight,
88
FaEnvelope,
99
FaInfoCircle,
1010
} from 'react-icons/fa';
1111

12+
import { FaXTwitter } from 'react-icons/fa6';
13+
1214
function Footer() {
1315
const [email, setEmail] = useState('');
1416

@@ -34,6 +36,7 @@ function Footer() {
3436
"
3537
>
3638
<div className="max-w-7xl mx-auto px-8 pt-16 pb-10 relative z-10">
39+
3740
{/* Upper Section */}
3841
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-12 gap-10 pb-12 border-b border-zinc-200 dark:border-zinc-800/60">
3942

@@ -145,40 +148,43 @@ function Footer() {
145148

146149
{/* Social Icons */}
147150
<div className="flex items-center space-x-5">
151+
152+
{/* GitHub */}
148153
<a
149154
href="https://github.com/GitMetricsLab/github_tracker"
150155
target="_blank"
151156
rel="noopener noreferrer"
152-
className="text-zinc-400 dark:text-zinc-500 hover:text-zinc-900 dark:hover:text-zinc-100 transition-all duration-300 hover:-translate-y-1 hover:scale-110"
157+
className="text-zinc-600 dark:text-zinc-400 hover:text-zinc-900 dark:hover:text-zinc-100 transition-all duration-300 hover:-translate-y-1 hover:scale-110"
153158
aria-label="GitHub Repository"
154159
>
155160
<FaGithub className="h-6 w-6" />
156161
</a>
157162

163+
{/* X / Twitter */}
158164
<a
159-
href="https://x.com/your_handle"
160-
target="_blank"
161-
rel="noopener noreferrer"
162-
className="text-zinc-400 dark:text-zinc-500 hover:text-sky-500 dark:hover:text-zinc-100 transition-all duration-300 hover:-translate-y-1 hover:scale-110"
163-
aria-label="Twitter"
165+
href="#"
166+
onClick={(e) => e.preventDefault()}
167+
className="text-zinc-600 dark:text-zinc-400 hover:text-zinc-100 transition-all duration-300 hover:-translate-y-1 hover:scale-110 opacity-70 cursor-not-allowed"
168+
aria-label="X"
164169
>
165-
<FaTwitter className="h-6 w-6" />
170+
<FaXTwitter className="h-6 w-6" />
166171
</a>
167172

173+
{/* Discord */}
168174
<a
169-
href="https://discord.gg/your_invite"
170-
target="_blank"
171-
rel="noopener noreferrer"
172-
className="text-zinc-400 dark:text-zinc-500 hover:text-indigo-500 dark:hover:text-zinc-100 transition-all duration-300 hover:-translate-y-1 hover:scale-110"
175+
href="#"
176+
onClick={(e) => e.preventDefault()}
177+
className="text-zinc-600 dark:text-zinc-400 hover:text-indigo-500 dark:hover:text-zinc-100 transition-all duration-300 hover:-translate-y-1 hover:scale-110 opacity-70 cursor-not-allowed"
173178
aria-label="Discord"
174179
>
175180
<FaDiscord className="h-6 w-6" />
176181
</a>
182+
177183
</div>
178184
</div>
179185
</div>
180186
</footer>
181187
);
182188
}
183189

184-
export default Footer;
190+
export default Footer;

0 commit comments

Comments
 (0)