Deploy
This commit is contained in:
@@ -0,0 +1,70 @@
|
|||||||
|
'use client'
|
||||||
|
|
||||||
|
import { MapPin } from 'lucide-react'
|
||||||
|
|
||||||
|
export default function LocationSection() {
|
||||||
|
const address = {
|
||||||
|
street: '15 Vilakazi Street',
|
||||||
|
suburb: 'Orlando West',
|
||||||
|
city: 'Soweto',
|
||||||
|
province: 'Gauteng',
|
||||||
|
postcode: '1804',
|
||||||
|
}
|
||||||
|
const phone = '+27 11 123 4567'
|
||||||
|
const email = 'info@mzansistyle.co.za'
|
||||||
|
|
||||||
|
return (
|
||||||
|
<section data-vula-section="location" id="location" className="py-20 bg-white border-t-2 border-[#18181b]">
|
||||||
|
<div className="max-w-7xl mx-auto px-4 grid md:grid-cols-2 gap-12 items-start">
|
||||||
|
{/* Map */}
|
||||||
|
<div className="relative h-80 w-full border-2 border-[#18181b] shadow-[6px_6px_0_0_#18181b]">
|
||||||
|
<iframe
|
||||||
|
src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3578.709323342169!2d27.88242331503285!3d-26.237430983430235!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x1e950c9cc1a8c8d5%3A0x3f1d0f9b7b9b9b9!2s15%20Vilakazi%20St%2C%20Orlando%20West%2C%20Soweto%2C%201804!5e0!3m2!1sen!2sza!4v1680000000000"
|
||||||
|
width="100%"
|
||||||
|
height="100%"
|
||||||
|
style={{ border: 0 }}
|
||||||
|
allowFullScreen
|
||||||
|
loading="lazy"
|
||||||
|
referrerPolicy="no-referrer-when-downgrade"
|
||||||
|
title="Mzansi Style Soweto Hub"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
{/* Address block */}
|
||||||
|
<div className="space-y-6">
|
||||||
|
<h2 className="text-4xl md:text-5xl font-extrabold uppercase tracking-tight text-[#18181b]">
|
||||||
|
Come Through:<br />
|
||||||
|
<span className="text-[#d4af37]">Our Kasi Hub</span>
|
||||||
|
</h2>
|
||||||
|
<div className="flex items-start gap-3">
|
||||||
|
<MapPin className="w-6 h-6 text-[#dc2626] mt-1" />
|
||||||
|
<div>
|
||||||
|
<p className="text-lg font-semibold text-[#18181b]">{address.street}</p>
|
||||||
|
<p className="text-gray-600">{address.suburb}, {address.city}</p>
|
||||||
|
<p className="text-gray-600">{address.province} {address.postcode}</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div className="space-y-2">
|
||||||
|
<p className="text-sm text-gray-500">
|
||||||
|
<span className="font-semibold">Phone:</span> {phone}<br />
|
||||||
|
<span className="font-semibold">Email:</span> {email}
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
<a
|
||||||
|
href={`https://maps.google.com/?q=${encodeURIComponent(`${address.street}, ${address.suburb}, ${address.city}`)}`}
|
||||||
|
target="_blank"
|
||||||
|
rel="noopener noreferrer"
|
||||||
|
className="inline-block bg-[#d4af37] text-[#18181b] font-bold px-6 py-3 border-2 border-[#18181b] shadow-[4px_4px_0_0_#18181b] hover:shadow-[2px_2px_0_0_#18181b] transition-all duration-200 uppercase"
|
||||||
|
>
|
||||||
|
Find Us on Google Maps
|
||||||
|
</a>
|
||||||
|
<div className="pt-4 border-t border-gray-200">
|
||||||
|
<p className="text-sm text-gray-600">
|
||||||
|
<span className="font-bold text-[#dc2626]">Wholesale / Collab?</span> Hit us up at{' '}
|
||||||
|
<a href={`mailto:${email}`} className="underline text-[#18181b]">{email}</a>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
)
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user