diff --git a/src/app/page.tsx b/src/app/page.tsx index 194a46c..ca8f166 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -30,7 +30,7 @@ import { export default function HomePage() { const navItems = [ - { name: "Properties", id: "properties" }, + { name: "Properties", id: "/properties" }, { name: "About", id: "about" }, { name: "Services", id: "services" }, { name: "Team", id: "team" }, @@ -39,8 +39,7 @@ export default function HomePage() { const footerColumns = [ { - title: "Company", - items: [ + title: "Company", items: [ { label: "About Nasr", href: "#about" }, { label: "Our Team", href: "#team" }, { label: "Market Insights", href: "#" }, @@ -48,8 +47,7 @@ export default function HomePage() { ], }, { - title: "Properties", - items: [ + title: "Properties", items: [ { label: "Featured Listings", href: "/properties" }, { label: "New Developments", href: "#" }, { label: "Investment Properties", href: "#" }, @@ -57,8 +55,7 @@ export default function HomePage() { ], }, { - title: "Connect", - items: [ + title: "Connect", items: [ { label: "Contact Us", href: "#contact" }, { label: "Schedule Viewing", href: "#contact" }, { label: "Privacy Policy", href: "#" }, @@ -95,24 +92,16 @@ export default function HomePage() { mediaItems={[ { imageSrc: - "http://img.b2bpic.net/free-photo/tanned-girl-shorts-is-hugging-her-laughing-guy-couple-sitting-near-pool_197531-17277.jpg", - imageAlt: "luxury modern villa interior architecture", - }, + "http://img.b2bpic.net/free-photo/tanned-girl-shorts-is-hugging-her-laughing-guy-couple-sitting-near-pool_197531-17277.jpg", imageAlt: "luxury modern villa interior architecture"}, { imageSrc: - "http://img.b2bpic.net/free-photo/swimming-pool_74190-7327.jpg", - imageAlt: "elegant mansion facade luxury home", - }, + "http://img.b2bpic.net/free-photo/swimming-pool_74190-7327.jpg", imageAlt: "elegant mansion facade luxury home"}, { imageSrc: - "http://img.b2bpic.net/free-photo/young-people-watching-smartphone-office_23-2147668943.jpg", - imageAlt: "modern penthouse skyline view", - }, + "http://img.b2bpic.net/free-photo/young-people-watching-smartphone-office_23-2147668943.jpg", imageAlt: "modern penthouse skyline view"}, { imageSrc: - "http://img.b2bpic.net/free-photo/couple-taking-walk-by-pool-vacation_23-2149369704.jpg", - imageAlt: "waterfront luxury villa architecture", - }, + "http://img.b2bpic.net/free-photo/couple-taking-walk-by-pool-vacation_23-2149369704.jpg", imageAlt: "waterfront luxury villa architecture"}, ]} mediaAnimation="slide-up" buttons={[ @@ -150,40 +139,28 @@ export default function HomePage() { features={[ { icon: Map, - title: "Prime Locations", - description: - "Access to the most sought-after neighborhoods and exclusive enclaves across the region.", - }, + title: "Prime Locations", description: + "Access to the most sought-after neighborhoods and exclusive enclaves across the region."}, { icon: DollarSign, - title: "Investment Value", - description: - "Properties that appreciate consistently, backed by market expertise and strategic selection.", - }, + title: "Investment Value", description: + "Properties that appreciate consistently, backed by market expertise and strategic selection."}, { icon: Users, - title: "Expert Guidance", - description: - "Personalized service from experienced agents who understand luxury market dynamics.", - }, + title: "Expert Guidance", description: + "Personalized service from experienced agents who understand luxury market dynamics."}, { icon: Key, - title: "Exclusive Access", - description: - "Off-market listings and private showings unavailable through traditional channels.", - }, + title: "Exclusive Access", description: + "Off-market listings and private showings unavailable through traditional channels."}, { icon: HandshakeIcon, - title: "Seamless Process", - description: - "From viewing to closing, we handle every detail with precision and discretion.", - }, + title: "Seamless Process", description: + "From viewing to closing, we handle every detail with precision and discretion."}, { icon: Shield, - title: "Trust & Transparency", - description: - "Complete transparency in all transactions with full legal protection for buyers and sellers.", - }, + title: "Trust & Transparency", description: + "Complete transparency in all transactions with full legal protection for buyers and sellers."}, ]} /> @@ -199,32 +176,14 @@ export default function HomePage() { useInvertedBackground={false} metrics={[ { - id: "1", - value: "$500M+", - title: "Properties Sold", - description: "Total transaction value representing market confidence", - imageSrc: - "http://img.b2bpic.net/free-psd/luxury-real-estate-landing-page-template_23-2151270813.jpg?_wi=1", - imageAlt: "Property sales milestone", - }, + id: "1", value: "$500M+", title: "Properties Sold", description: "Total transaction value representing market confidence", imageSrc: + "http://img.b2bpic.net/free-psd/luxury-real-estate-landing-page-template_23-2151270813.jpg?_wi=1", imageAlt: "Property sales milestone"}, { - id: "2", - value: "2,400+", - title: "Happy Clients", - description: "Satisfied customers who trust us with their real estate", - imageSrc: - "http://img.b2bpic.net/free-photo/tall-dubai-marina-skyscrapers-uae_231208-7592.jpg?_wi=1", - imageAlt: "Client satisfaction", - }, + id: "2", value: "2,400+", title: "Happy Clients", description: "Satisfied customers who trust us with their real estate", imageSrc: + "http://img.b2bpic.net/free-photo/tall-dubai-marina-skyscrapers-uae_231208-7592.jpg?_wi=1", imageAlt: "Client satisfaction"}, { - id: "3", - value: "98%", - title: "Satisfaction Rate", - description: "Client satisfaction and recommendation percentage", - imageSrc: - "http://img.b2bpic.net/free-photo/vertical-shot-person-standing-top-building_181624-14409.jpg?_wi=1", - imageAlt: "Client satisfaction rate", - }, + id: "3", value: "98%", title: "Satisfaction Rate", description: "Client satisfaction and recommendation percentage", imageSrc: + "http://img.b2bpic.net/free-photo/vertical-shot-person-standing-top-building_181624-14409.jpg?_wi=1", imageAlt: "Client satisfaction rate"}, ]} /> @@ -239,49 +198,21 @@ export default function HomePage() { useInvertedBackground={false} testimonials={[ { - id: "1", - title: "Found Our Perfect Dream Home", - quote: - "The team at Nasr made the entire process seamless. From our first viewing to closing day, every detail was handled with professionalism and care. We couldn't be happier with our new home!", - name: "Sarah Mitchell", - role: "Homeowner", - imageSrc: - "http://img.b2bpic.net/free-photo/smiling-young-businessman-suit-looking-camera-meeting_1163-4654.jpg?_wi=1", - imageAlt: "Sarah Mitchell", - }, + id: "1", title: "Found Our Perfect Dream Home", quote: + "The team at Nasr made the entire process seamless. From our first viewing to closing day, every detail was handled with professionalism and care. We couldn't be happier with our new home!", name: "Sarah Mitchell", role: "Homeowner", imageSrc: + "http://img.b2bpic.net/free-photo/smiling-young-businessman-suit-looking-camera-meeting_1163-4654.jpg?_wi=1", imageAlt: "Sarah Mitchell"}, { - id: "2", - title: "Expert Investment Guidance", - quote: - "I needed an agent who understood the luxury market deeply. Nasr's team provided invaluable insights that helped me make a confident investment decision. The property has already appreciated significantly.", - name: "Michael Chen", - role: "Investor", - imageSrc: - "http://img.b2bpic.net/free-photo/charming-woman-looks-into-camera-smiles-caucasian-short-haired-lady-black-jacket-laughing-posing-isolated_197531-18517.jpg?_wi=1", - imageAlt: "Michael Chen", - }, + id: "2", title: "Expert Investment Guidance", quote: + "I needed an agent who understood the luxury market deeply. Nasr's team provided invaluable insights that helped me make a confident investment decision. The property has already appreciated significantly.", name: "Michael Chen", role: "Investor", imageSrc: + "http://img.b2bpic.net/free-photo/charming-woman-looks-into-camera-smiles-caucasian-short-haired-lady-black-jacket-laughing-posing-isolated_197531-18517.jpg?_wi=1", imageAlt: "Michael Chen"}, { - id: "3", - title: "Premium Service Beyond Expectations", - quote: - "Selling my luxury property required someone who truly understood the high-end market. Nasr exceeded all my expectations with their strategic approach and professional network.", - name: "Emily Rodriguez", - role: "Property Seller", - imageSrc: - "http://img.b2bpic.net/free-photo/close-up-positive-executive-work_1098-519.jpg?_wi=1", - imageAlt: "Emily Rodriguez", - }, + id: "3", title: "Premium Service Beyond Expectations", quote: + "Selling my luxury property required someone who truly understood the high-end market. Nasr exceeded all my expectations with their strategic approach and professional network.", name: "Emily Rodriguez", role: "Property Seller", imageSrc: + "http://img.b2bpic.net/free-photo/close-up-positive-executive-work_1098-519.jpg?_wi=1", imageAlt: "Emily Rodriguez"}, { - id: "4", - title: "Trusted Partner for Multiple Purchases", - quote: - "I've worked with Nasr on three property acquisitions now. Their consistency, expertise, and dedication to client satisfaction keep me coming back.", - name: "David Kim", - role: "Repeat Client", - imageSrc: - "http://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg?_wi=1", - imageAlt: "David Kim", - }, + id: "4", title: "Trusted Partner for Multiple Purchases", quote: + "I've worked with Nasr on three property acquisitions now. Their consistency, expertise, and dedication to client satisfaction keep me coming back.", name: "David Kim", role: "Repeat Client", imageSrc: + "http://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg?_wi=1", imageAlt: "David Kim"}, ]} /> @@ -297,53 +228,23 @@ export default function HomePage() { useInvertedBackground={false} team={[ { - id: "1", - name: "James Sterling", - role: "CEO & Founder", - imageSrc: - "http://img.b2bpic.net/free-photo/senior-businessman-outside-modern-office-building_1139-1076.jpg?_wi=1", - imageAlt: "James Sterling", - }, + id: "1", name: "James Sterling", role: "CEO & Founder", imageSrc: + "http://img.b2bpic.net/free-photo/senior-businessman-outside-modern-office-building_1139-1076.jpg?_wi=1", imageAlt: "James Sterling"}, { - id: "2", - name: "Victoria Laurent", - role: "Head of Sales", - imageSrc: - "http://img.b2bpic.net/free-photo/businesswoman-working-warehouse_329181-12811.jpg?_wi=1", - imageAlt: "Victoria Laurent", - }, + id: "2", name: "Victoria Laurent", role: "Head of Sales", imageSrc: + "http://img.b2bpic.net/free-photo/businesswoman-working-warehouse_329181-12811.jpg?_wi=1", imageAlt: "Victoria Laurent"}, { - id: "3", - name: "Richard Walsh", - role: "Senior Agent", - imageSrc: - "http://img.b2bpic.net/free-photo/handsome-groom-classy-black-suit-stands-dark-room_8353-7083.jpg?_wi=1", - imageAlt: "Richard Walsh", - }, + id: "3", name: "Richard Walsh", role: "Senior Agent", imageSrc: + "http://img.b2bpic.net/free-photo/handsome-groom-classy-black-suit-stands-dark-room_8353-7083.jpg?_wi=1", imageAlt: "Richard Walsh"}, { - id: "4", - name: "Alexandra Price", - role: "Luxury Specialist", - imageSrc: - "http://img.b2bpic.net/free-photo/side-view-woman-working-indoors_23-2149915936.jpg?_wi=1", - imageAlt: "Alexandra Price", - }, + id: "4", name: "Alexandra Price", role: "Luxury Specialist", imageSrc: + "http://img.b2bpic.net/free-photo/side-view-woman-working-indoors_23-2149915936.jpg?_wi=1", imageAlt: "Alexandra Price"}, { - id: "5", - name: "Christopher Moore", - role: "Market Analyst", - imageSrc: - "http://img.b2bpic.net/free-photo/medium-shot-woman-working-as-real-estate-agent_23-2151065041.jpg?_wi=1", - imageAlt: "Christopher Moore", - }, + id: "5", name: "Christopher Moore", role: "Market Analyst", imageSrc: + "http://img.b2bpic.net/free-photo/medium-shot-woman-working-as-real-estate-agent_23-2151065041.jpg?_wi=1", imageAlt: "Christopher Moore"}, { - id: "6", - name: "Isabella Bennett", - role: "Client Relations", - imageSrc: - "http://img.b2bpic.net/free-photo/modern-businesswoman_23-2148012908.jpg?_wi=1", - imageAlt: "Isabella Bennett", - }, + id: "6", name: "Isabella Bennett", role: "Client Relations", imageSrc: + "http://img.b2bpic.net/free-photo/modern-businesswoman_23-2148012908.jpg?_wi=1", imageAlt: "Isabella Bennett"}, ]} /> @@ -370,4 +271,4 @@ export default function HomePage() { ); -} \ No newline at end of file +} diff --git a/src/app/properties/[id]/page.tsx b/src/app/properties/[id]/page.tsx new file mode 100644 index 0000000..b844a79 --- /dev/null +++ b/src/app/properties/[id]/page.tsx @@ -0,0 +1,372 @@ +"use client"; + +import { useState } from "react"; +import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; +import NavbarStyleApple from "@/components/navbar/NavbarStyleApple/NavbarStyleApple"; +import FooterBaseReveal from "@/components/sections/footer/FooterBaseReveal"; +import Link from "next/link"; +import { + ChevronLeft, + ChevronRight, + MapPin, + Bed, + Bath, + Maximize2, + DollarSign, + Phone, + Mail, + Heart, +} from "lucide-react"; +import { useRouter } from "next/navigation"; + +// Mock property data - in a real app, this would come from a database +const properties: Record = { + "1": { + id: "1", name: "Luxury Modern Villa", price: "$2,450,000", location: "Beverly Hills, California", bedrooms: 5, + bathrooms: 4, + sqft: "8,500 sq ft", description: + "Stunning modern villa with breathtaking views, state-of-the-art amenities, and premium finishes throughout. This architectural masterpiece features floor-to-ceiling windows, a resort-style pool, and smart home automation.", images: [ + "http://img.b2bpic.net/free-photo/tanned-girl-shorts-is-hugging-her-laughing-guy-couple-sitting-near-pool_197531-17277.jpg", "http://img.b2bpic.net/free-photo/swimming-pool_74190-7327.jpg", "http://img.b2bpic.net/free-photo/couple-taking-walk-by-pool-vacation_23-2149369704.jpg"], + contact: { + agent: "James Sterling", phone: "+1 (555) 123-4567", email: "james@nasrealestate.com"}, + features: [ + "Smart Home Automation", "Resort-Style Pool", "Home Theater", "Wine Cellar", "Fitness Center", "Gated Entry"], + }, + "2": { + id: "2", name: "Elegant Mansion Facade", price: "$3,200,000", location: "Miami Beach, Florida", bedrooms: 6, + bathrooms: 5, + sqft: "9,200 sq ft", description: + "Prestigious oceanfront estate with spectacular views of Biscayne Bay. This luxurious property features marble throughout, custom millwork, and direct beach access.", images: [ + "http://img.b2bpic.net/free-photo/swimming-pool_74190-7327.jpg", "http://img.b2bpic.net/free-photo/tanned-girl-shorts-is-hugging-her-laughing-guy-couple-sitting-near-pool_197531-17277.jpg", "http://img.b2bpic.net/free-photo/couple-taking-walk-by-pool-vacation_23-2149369704.jpg"], + contact: { + agent: "Victoria Laurent", phone: "+1 (555) 234-5678", email: "victoria@nasrealestate.com"}, + features: [ + "Ocean Front", "Private Beach Access", "Wine Room", "Spa", "Cinema", "Marble Finishes"], + }, + "3": { + id: "3", name: "Modern Penthouse Skyline View", price: "$1,850,000", location: "New York City, New York", bedrooms: 3, + bathrooms: 3, + sqft: "4,800 sq ft", description: + "Sophisticated penthouse with panoramic skyline views from floor-to-ceiling windows. Located in Manhattan's most prestigious building with world-class amenities and 24/7 concierge service.", images: [ + "http://img.b2bpic.net/free-photo/young-people-watching-smartphone-office_23-2147668943.jpg", "http://img.b2bpic.net/free-photo/swimming-pool_74190-7327.jpg", "http://img.b2bpic.net/free-photo/tanned-girl-shorts-is-hugging-her-laughing-guy-couple-sitting-near-pool_197531-17277.jpg"], + contact: { + agent: "Richard Walsh", phone: "+1 (555) 345-6789", email: "richard@nasrealestate.com"}, + features: [ + "Skyline Views", "Concierge Service", "Rooftop Terrace", "Smart Building", "Private Elevator", "Fitness Facilities"], + }, +}; + +export default function PropertyDetailPage({ + params, +}: { + params: { id: string }; +}) { + const router = useRouter(); + const property = properties[params.id]; + const [currentImageIndex, setCurrentImageIndex] = useState(0); + const [isFavorited, setIsFavorited] = useState(false); + + if (!property) { + return ( + +
+ +
+
+

Property Not Found

+

The property you're looking for doesn't exist.

+ + Back to Home + +
+
+
+
+ ); + } + + const nextImage = () => { + setCurrentImageIndex( + (prev) => (prev + 1) % property.images.length + ); + }; + + const prevImage = () => { + setCurrentImageIndex( + (prev) => + (prev - 1 + property.images.length) % property.images.length + ); + }; + + const navItems = [ + { name: "Properties", id: "properties" }, + { name: "About", id: "about" }, + { name: "Services", id: "services" }, + { name: "Team", id: "team" }, + { name: "Contact", id: "contact" }, + ]; + + const footerColumns = [ + { + title: "Company", items: [ + { label: "About Nasr", href: "/#about" }, + { label: "Our Team", href: "/#team" }, + { label: "Market Insights", href: "#" }, + { label: "Careers", href: "#" }, + ], + }, + { + title: "Properties", items: [ + { label: "Featured Listings", href: "/properties" }, + { label: "New Developments", href: "#" }, + { label: "Investment Properties", href: "#" }, + { label: "Luxury Rentals", href: "#" }, + ], + }, + { + title: "Connect", items: [ + { label: "Contact Us", href: "/#contact" }, + { label: "Schedule Viewing", href: "/#contact" }, + { label: "Privacy Policy", href: "#" }, + { label: "Terms of Service", href: "#" }, + ], + }, + ]; + + return ( + +
+ + +
+
+ {/* Back Button */} +
+ +
+ + {/* Image Gallery */} +
+
+ {property.name} + {/* Image Navigation */} + + + {/* Image Counter */} +
+ {currentImageIndex + 1} / {property.images.length} +
+ {/* Favorite Button */} + +
+ {/* Thumbnail Navigation */} +
+ {property.images.map((img: string, idx: number) => ( + + ))} +
+
+ + {/* Property Details Grid */} +
+ {/* Main Content */} +
+ {/* Header */} +
+

+ {property.name} +

+
+ + {property.location} +
+

+ {property.price} +

+
+ + {/* Key Stats */} +
+
+
+ + Bedrooms +
+

{property.bedrooms}

+
+
+
+ + Bathrooms +
+

{property.bathrooms}

+
+
+
+ + Size +
+

{property.sqft}

+
+
+ + {/* Description */} +
+

About This Property

+

+ {property.description} +

+
+ + {/* Features */} +
+

Features

+
+ {property.features.map((feature: string, idx: number) => ( +
+
+ {feature} +
+ ))} +
+
+
+ + {/* Contact Sidebar */} +
+
+

Contact Agent

+ +
+

Agent Name

+

+ {property.contact.agent} +

+
+ + + + + + +
+
+
+
+
+ + +
+
+ ); +} diff --git a/src/app/properties/page.tsx b/src/app/properties/page.tsx index 3573731..bbaa923 100644 --- a/src/app/properties/page.tsx +++ b/src/app/properties/page.tsx @@ -2,12 +2,50 @@ import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; import NavbarStyleApple from "@/components/navbar/NavbarStyleApple/NavbarStyleApple"; -import ProductCardFour from "@/components/sections/product/ProductCardFour"; -import MetricCardEleven from "@/components/sections/metrics/MetricCardEleven"; -import TestimonialCardTen from "@/components/sections/testimonial/TestimonialCardTen"; import FooterBaseReveal from "@/components/sections/footer/FooterBaseReveal"; import Link from "next/link"; -import { Home, TrendingUp, Star } from "lucide-react"; +import { + MapPin, + Bed, + Bath, + Maximize2, + DollarSign, + ChevronRight, +} from "lucide-react"; + +interface Property { + id: string; + name: string; + price: string; + location: string; + bedrooms: number; + bathrooms: number; + sqft: string; + image: string; +} + +const properties: Property[] = [ + { + id: "1", name: "Luxury Modern Villa", price: "$2,450,000", location: "Beverly Hills, California", bedrooms: 5, + bathrooms: 4, + sqft: "8,500 sq ft", image: + "http://img.b2bpic.net/free-photo/tanned-girl-shorts-is-hugging-her-laughing-guy-couple-sitting-near-pool_197531-17277.jpg"}, + { + id: "2", name: "Elegant Mansion Facade", price: "$3,200,000", location: "Miami Beach, Florida", bedrooms: 6, + bathrooms: 5, + sqft: "9,200 sq ft", image: + "http://img.b2bpic.net/free-photo/swimming-pool_74190-7327.jpg"}, + { + id: "3", name: "Modern Penthouse Skyline View", price: "$1,850,000", location: "New York City, New York", bedrooms: 3, + bathrooms: 3, + sqft: "4,800 sq ft", image: + "http://img.b2bpic.net/free-photo/young-people-watching-smartphone-office_23-2147668943.jpg"}, + { + id: "4", name: "Waterfront Luxury Villa", price: "$4,100,000", location: "Malibu, California", bedrooms: 7, + bathrooms: 6, + sqft: "10,500 sq ft", image: + "http://img.b2bpic.net/free-photo/couple-taking-walk-by-pool-vacation_23-2149369704.jpg"}, +]; export default function PropertiesPage() { const navItems = [ @@ -20,17 +58,15 @@ export default function PropertiesPage() { const footerColumns = [ { - title: "Company", - items: [ - { label: "About Nasr", href: "#about" }, - { label: "Our Team", href: "#team" }, + title: "Company", items: [ + { label: "About Nasr", href: "/#about" }, + { label: "Our Team", href: "/#team" }, { label: "Market Insights", href: "#" }, { label: "Careers", href: "#" }, ], }, { - title: "Properties", - items: [ + title: "Properties", items: [ { label: "Featured Listings", href: "/properties" }, { label: "New Developments", href: "#" }, { label: "Investment Properties", href: "#" }, @@ -38,10 +74,9 @@ export default function PropertiesPage() { ], }, { - title: "Connect", - items: [ - { label: "Contact Us", href: "#contact" }, - { label: "Schedule Viewing", href: "#contact" }, + title: "Connect", items: [ + { label: "Contact Us", href: "/#contact" }, + { label: "Schedule Viewing", href: "/#contact" }, { label: "Privacy Policy", href: "#" }, { label: "Terms of Service", href: "#" }, ], @@ -61,157 +96,96 @@ export default function PropertiesPage() { secondaryButtonStyle="solid" headingFontWeight="extrabold" > - +
+ -
- -
+
+
+
+

+ Featured Properties +

+

+ Explore our curated collection of luxury homes and premium real estate opportunities. +

+
-
- -
+
+ {properties.map((property) => ( + +
+ {/* Image */} +
+ {property.name} +
+ {property.price} +
+
-
- -
+ {/* Content */} +
+

+ {property.name} +

- +
+ + ))} +
+
+
+ +
); -} \ No newline at end of file +}