'use client'; import { motion } from "framer-motion"; import { useInView } from "framer-motion"; import { useRef } from "react"; import { MapPin, Phone, Building2 } from "lucide-react"; import { useAppTheme } from "@/components/ThemeProvider"; export function Location() { const ref = useRef(null); const isInView = useInView(ref, { once: true, margin: "-100px" }); const { theme } = useAppTheme(); const isDark = theme === "dark"; const cities = [ "Hollywood, FL", "Jacksonville, FL", "Miami, FL", "Pensacola, FL" ]; const counties = [ "Broward", "Duval", "Escambia", "Miami-dade" ]; const zips = [ "32256", "32503", "33021", "33145" ]; const neighborhoods = [ "Coral Gate", "Coral Way", "Royal Lakes" ]; return (
{/* Background Image */}
{/* Minimal overlay - allowing background image to show at near original opaqueness */}
{/* Very subtle gradient overlay */} {!isDark && (
)} {isDark && (
)} {/* Subtle animated blobs */}
Location
{/* Primary Location */}

Primary Location

Miami, FL 33145

(954) 807-3027
{/* Additional Location */}

Additional Location

Hollywood, FL 33021

(954) 807-3027
{/* Nearby Areas */}

Nearby Areas

{/* Cities */}

Cities

    {cities.map((city, index) => ( {city} ))}
{/* Counties */}

Counties

    {counties.map((county, index) => ( {county} ))}
{/* Zips */}

Zips

    {zips.map((zip, index) => ( {zip} ))}
{/* Neighborhoods */}

Neighborhoods

    {neighborhoods.map((neighborhood, index) => ( {neighborhood} ))}
); }