Skip to content

Commit 77102ef

Browse files
authored
Merge pull request #94 from Yashaswini-V21/fix/footer-quick-links-placeholders
fix: Replace footer social media placeholder links - Fixes #84
2 parents 231df87 + b3fffc2 commit 77102ef

1 file changed

Lines changed: 11 additions & 10 deletions

File tree

frontend/src/components/Footer.jsx

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -83,19 +83,20 @@ function Footer() {
8383
{/* Social Media */}
8484
<div className="flex gap-3">
8585
{[
86-
{ icon: <FaFacebookF className="w-4 h-4" />, color: "hover:bg-blue-600" },
87-
{ icon: <FaTwitter className="w-4 h-4" />, color: "hover:bg-cyan-500" },
88-
{ icon: <FaInstagram className="w-4 h-4" />, color: "hover:bg-pink-600" },
89-
{ icon: <FaLinkedinIn className="w-4 h-4" />, color: "hover:bg-blue-700" }
86+
{ icon: <FaFacebookF className="w-4 h-4" />, color: "hover:bg-blue-600", name: "Facebook" },
87+
{ icon: <FaTwitter className="w-4 h-4" />, color: "hover:bg-cyan-500", name: "Twitter" },
88+
{ icon: <FaInstagram className="w-4 h-4" />, color: "hover:bg-pink-600", name: "Instagram" },
89+
{ icon: <FaLinkedinIn className="w-4 h-4" />, color: "hover:bg-blue-700", name: "LinkedIn" }
9090
].map((social, index) => (
91-
<a
91+
<button
9292
key={index}
93-
href="#"
94-
className={`w-10 h-10 bg-gray-800 rounded-lg flex items-center justify-center transition-all duration-300 hover:scale-110 ${social.color}`}
95-
aria-label={`Follow us on ${social.icon.type.displayName}`}
93+
type="button"
94+
onClick={() => toast.info(`Follow us on ${social.name} - Coming soon!`)}
95+
className={`w-10 h-10 bg-gray-800 rounded-lg flex items-center justify-center transition-all duration-300 hover:scale-110 ${social.color} cursor-pointer`}
96+
aria-label={`Follow us on ${social.name}`}
9697
>
9798
{social.icon}
98-
</a>
99+
</button>
99100
))}
100101
</div>
101102
</div>
@@ -113,7 +114,7 @@ function Footer() {
113114
{ name: 'Products', to: '/product' },
114115
{ name: 'Collections', to: '/collection' },
115116
{ name: 'New Arrivals', to: '/new-arrivals' },
116-
{ name: 'Best Sellers', to: '/product' }
117+
{ name: 'Best Sellers', to: '/best-sellers' }
117118
].map((item, index) => (
118119
<li key={index}>
119120
<Link to={item.to} className="text-sm text-gray-400 hover:text-cyan-400 transition-colors duration-300 flex items-center gap-2 group">

0 commit comments

Comments
 (0)