"use client"; import { useEffect } from "react"; import Link from "next/link"; import { X, Phone, ChevronRight } from "lucide-react"; import { companyDetails } from "@/content/company"; import { cn } from "@/lib/utils"; interface MobileMenuProps { isOpen: boolean; onClose: () => void; } export function MobileMenu({ isOpen, onClose }: MobileMenuProps) { // Prevent body scrolling when menu is open useEffect(() => { if (isOpen) { document.body.style.overflow = "hidden"; } else { document.body.style.overflow = ""; } return () => { document.body.style.overflow = ""; }; }, [isOpen]); const hvacSections = [ { label: 'Ofertowana klimatyzacja', href: '/klimatyzacja' }, { label: 'Klimatyzatory ścienne', href: '/sklep?category=scienne' }, { label: 'Klimatyzatory multisplit', href: '/sklep?category=multisplit' }, /* { label: 'Klimatyzatory kasetonowe', href: '/sklep?category=kasetonowe' }, { label: 'Klimatyzatory konsolowe', href: '/sklep?category=konsolowe' }, */ ]; const serwisSections = [ { label: 'Montaż klimatyzacji', href: '/montaz-klimatyzacji' }, { label: 'Serwis i czyszczenie', href: '/serwis-klimatyzacji' }, { label: 'Cennik montażu', href: '/cennik-montazu' }, { label: 'Serwis Daikin', href: '/serwis-daikin' }, { label: 'Serwis Samsung', href: '/serwis-samsung' }, { label: 'Serwis Mitsubishi Electric', href: '/serwis-mitsubishi' }, { label: 'Serwis LG', href: '/serwis-lg' }, { label: 'Klimatyzacja do domu', href: '/klimatyzacja-do-domu' }, { label: 'Klimatyzacja do biura', href: '/klimatyzacja-do-biura' }, ]; return (