Header — src/components/Navbar.tsx import { useState, useEffect } from "react"; import { Link, useLocation } from "react-router-dom"; import { Menu, X, Phone, ArrowRight } from "lucide-react"; import { Button } from "./ui/button"; interface NavbarProps { onBookClick?: () => void; } const navLinks = [ { label: "Home", to: "/" }, { label: "About Us", to: "/about" }, { label: "Screening Options", to: "/pricing" }, { label: "Diagnostics", to: "/diagnostics" }, { label: "About the Founder", to: "/about-founder" }, { label: "Contact Us", to: "/contact" }, { label: "Learning Centre", to: "/learning-centre" }, ]; const Navbar = ({ onBookClick }: NavbarProps) => { const [open, setOpen] = useState(false); const [scrolled, setScrolled] = useState(false); const location = useLocation(); useEffect(() => { const onScroll = () => setScrolled(window.scrollY > 10); window.addEventListener("scroll", onScroll); return () => window.removeEventListener("scroll", onScroll); }, []); return (
{/* Mobile menu */} {open && (
{navLinks.map((link) => { const isActive = location.pathname === link.to; return ( setOpen(false)} className={`py-2 px-2 text-base transition-colors border-b border-border/50 ${ isActive ? "text-accent font-medium" : "text-foreground hover:text-accent" }`} > {link.label} ); })} +44 20 8138 0259
)}
); }; export default Navbar; Skip to main content

Ready to take the next step towards your dream home?

Whether you're looking to buy, sell, or explore investment opportunities, we are here to assist you and are committed to making your real estate journey smooth and stress-free.

Locations

Headquarters

#206, GN Chrysler Tower, Vault Street, Philadelphia, US

view on map
555-123456
support@example.com info@example.com

Sales office

#32, Warden Court, 28th Floor, Holt Street, Philadelphia, US

view on map
555-123456
info@example.com support@example.com
Footer — src/components/Footer.tsx import { Mail, MapPin, Phone } from "lucide-react"; import { NavLink } from "./NavLink"; const Footer = () => { const links = [ { name: "Home", href: "/" }, { name: "About Us", href: "/about" }, { name: "Screening Options", href: "/pricing" }, { name: "Diagnostics", href: "/diagnostics" }, { name: "About the Founder", href: "/about-founder" }, { name: "Contact Us", href: "/contact" }, { name: "Learning Centre", href: "/learning-centre" }, ]; return ( ); }; export default Footer;