Spaces:
Running
Running
Upload components/Footer.tsx with huggingface_hub
Browse files- components/Footer.tsx +90 -0
components/Footer.tsx
ADDED
|
@@ -0,0 +1,90 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import { Instagram, Linkedin, Twitter, Facebook } from 'lucide-react'
|
| 2 |
+
|
| 3 |
+
const Footer = () => {
|
| 4 |
+
const currentYear = new Date().getFullYear()
|
| 5 |
+
|
| 6 |
+
const socialLinks = [
|
| 7 |
+
{ icon: Instagram, href: '#', label: 'Instagram' },
|
| 8 |
+
{ icon: Linkedin, href: '#', label: 'LinkedIn' },
|
| 9 |
+
{ icon: Twitter, href: '#', label: 'Twitter' },
|
| 10 |
+
{ icon: Facebook, href: '#', label: 'Facebook' },
|
| 11 |
+
]
|
| 12 |
+
|
| 13 |
+
const footerLinks = [
|
| 14 |
+
{
|
| 15 |
+
title: 'Company',
|
| 16 |
+
links: ['About', 'Projects', 'Services', 'Careers']
|
| 17 |
+
},
|
| 18 |
+
{
|
| 19 |
+
title: 'Resources',
|
| 20 |
+
links: ['News', 'Press Kit', 'Privacy Policy', 'Terms of Service']
|
| 21 |
+
}
|
| 22 |
+
]
|
| 23 |
+
|
| 24 |
+
return (
|
| 25 |
+
<footer className="bg-margins-black border-t border-margins-dark py-16">
|
| 26 |
+
<div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
|
| 27 |
+
<div className="grid md:grid-cols-4 gap-12 mb-12">
|
| 28 |
+
{/* Brand */}
|
| 29 |
+
<div className="md:col-span-2">
|
| 30 |
+
<h3 className="text-2xl font-light tracking-wider uppercase mb-6">Margins</h3>
|
| 31 |
+
<p className="text-margins-gray max-w-md mb-8 leading-relaxed">
|
| 32 |
+
Creating exceptional spaces that inspire and endure. Premium real estate development
|
| 33 |
+
for the modern world.
|
| 34 |
+
</p>
|
| 35 |
+
<div className="flex space-x-4">
|
| 36 |
+
{socialLinks.map((social, index) => (
|
| 37 |
+
<a
|
| 38 |
+
key={index}
|
| 39 |
+
href={social.href}
|
| 40 |
+
aria-label={social.label}
|
| 41 |
+
className="w-10 h-10 rounded-full border border-margins-gray flex items-center justify-center text-margins-gray hover:border-white hover:text-white transition-colors duration-300"
|
| 42 |
+
>
|
| 43 |
+
<social.icon className="w-4 h-4" />
|
| 44 |
+
</a>
|
| 45 |
+
))}
|
| 46 |
+
</div>
|
| 47 |
+
</div>
|
| 48 |
+
|
| 49 |
+
{/* Links */}
|
| 50 |
+
{footerLinks.map((column, index) => (
|
| 51 |
+
<div key={index}>
|
| 52 |
+
<h4 className="text-sm uppercase tracking-widest mb-6">{column.title}</h4>
|
| 53 |
+
<ul className="space-y-4">
|
| 54 |
+
{column.links.map((link, linkIndex) => (
|
| 55 |
+
<li key={linkIndex}>
|
| 56 |
+
<a
|
| 57 |
+
href="#"
|
| 58 |
+
className="text-margins-gray hover:text-white transition-colors duration-300 text-sm"
|
| 59 |
+
>
|
| 60 |
+
{link}
|
| 61 |
+
</a>
|
| 62 |
+
</li>
|
| 63 |
+
))}
|
| 64 |
+
</ul>
|
| 65 |
+
</div>
|
| 66 |
+
))}
|
| 67 |
+
</div>
|
| 68 |
+
|
| 69 |
+
{/* Bottom */}
|
| 70 |
+
<div className="pt-8 border-t border-margins-dark flex flex-col md:flex-row justify-between items-center gap-4">
|
| 71 |
+
<p className="text-margins-gray text-sm">
|
| 72 |
+
© {currentYear} Margins Developments. All rights reserved.
|
| 73 |
+
</p>
|
| 74 |
+
<p className="text-margins-gray text-xs">
|
| 75 |
+
<a
|
| 76 |
+
href="https://huggingface.co/spaces/akhaliq/anycoder"
|
| 77 |
+
target="_blank"
|
| 78 |
+
rel="noopener noreferrer"
|
| 79 |
+
className="hover:text-white transition-colors"
|
| 80 |
+
>
|
| 81 |
+
Built with anycoder
|
| 82 |
+
</a>
|
| 83 |
+
</p>
|
| 84 |
+
</div>
|
| 85 |
+
</div>
|
| 86 |
+
</footer>
|
| 87 |
+
)
|
| 88 |
+
}
|
| 89 |
+
|
| 90 |
+
export default Footer
|