Switch to version 1: modified src/pages/HomePage.tsx
This commit is contained in:
@@ -1,36 +1,262 @@
|
||||
// AUTO-GENERATED shell by per-section-migrate.
|
||||
// Section bodies live in ./<PageBase>/sections/<X>.tsx. Edit the section
|
||||
// files directly. Non-block content (wrappers, non-inlinable sections) is
|
||||
// preserved inline; extracted section blocks become <XSection/> refs.
|
||||
import AboutText from '@/components/sections/about/AboutText';
|
||||
import ContactCta from '@/components/sections/contact/ContactCta';
|
||||
import FaqSimple from '@/components/sections/faq/FaqSimple';
|
||||
import FeaturesArrowCards from '@/components/sections/features/FeaturesArrowCards';
|
||||
import FeaturesRevealCardsBento from '@/components/sections/features/FeaturesRevealCardsBento';
|
||||
import HeroOverlayMarquee from '@/components/sections/hero/HeroOverlayMarquee';
|
||||
import MetricsIconCards from '@/components/sections/metrics/MetricsIconCards';
|
||||
import TestimonialOverlayCards from '@/components/sections/testimonial/TestimonialOverlayCards';
|
||||
import { Award, Building, Home, Layout, Palette, Star } from "lucide-react";
|
||||
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
|
||||
|
||||
import React from 'react';
|
||||
import HeroSection from './HomePage/sections/Hero';
|
||||
import AboutSection from './HomePage/sections/About';
|
||||
import ServicesSection from './HomePage/sections/Services';
|
||||
import PortfolioSection from './HomePage/sections/Portfolio';
|
||||
import MetricsSection from './HomePage/sections/Metrics';
|
||||
import TestimonialsSection from './HomePage/sections/Testimonials';
|
||||
import FaqSection from './HomePage/sections/Faq';
|
||||
import ContactSection from './HomePage/sections/Contact';
|
||||
|
||||
export default function HomePage(): React.JSX.Element {
|
||||
export default function HomePage() {
|
||||
return (
|
||||
<>
|
||||
<HeroSection />
|
||||
<>
|
||||
<div id="hero" data-section="hero">
|
||||
<SectionErrorBoundary name="hero">
|
||||
<HeroOverlayMarquee
|
||||
tag="Elevating Lebanese Living"
|
||||
title="Bespoke Interior Design in Lebanon"
|
||||
description="Transforming spaces into timeless experiences. We combine regional heritage with modern luxury to craft interiors that reflect your unique narrative."
|
||||
primaryButton={{
|
||||
text: "Book Consultation",
|
||||
href: "#contact",
|
||||
}}
|
||||
secondaryButton={{
|
||||
text: "View Portfolio",
|
||||
href: "#portfolio",
|
||||
}}
|
||||
items={[
|
||||
{
|
||||
text: "Residential",
|
||||
icon: Home,
|
||||
},
|
||||
{
|
||||
text: "Commercial",
|
||||
icon: Building,
|
||||
},
|
||||
{
|
||||
text: "Bespoke",
|
||||
icon: Palette,
|
||||
},
|
||||
]}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/modern-styled-small-entryway_23-2150712901.jpg"
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
|
||||
<AboutSection />
|
||||
<div id="about" data-section="about">
|
||||
<SectionErrorBoundary name="about">
|
||||
<AboutText
|
||||
title="Crafting the soul of your home. MID Design brings professional expertise to every corner of your project in Lebanon, ensuring meticulous attention to detail and curated design concepts."
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
|
||||
<ServicesSection />
|
||||
<div id="services" data-section="services">
|
||||
<SectionErrorBoundary name="services">
|
||||
<FeaturesRevealCardsBento
|
||||
tag="Our Expertise"
|
||||
title="Comprehensive Design Services"
|
||||
description="From concept development to final styling, we manage your interior project with precision."
|
||||
items={[
|
||||
{
|
||||
title: "Residential Interiors",
|
||||
description: "High-end homes tailored to you.",
|
||||
href: "#",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/view-nordic-minimalism-japanese-wabi-sabi-interior-design-blend_23-2151160185.jpg",
|
||||
},
|
||||
{
|
||||
title: "Modern Kitchens",
|
||||
description: "Functional and beautiful design.",
|
||||
href: "#",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/beautiful-kitchen-interior-design_23-2150976546.jpg",
|
||||
},
|
||||
{
|
||||
title: "Home Workspaces",
|
||||
description: "Productive and luxury setups.",
|
||||
href: "#",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/working-from-home-ergonomic-workstation_23-2149204615.jpg",
|
||||
},
|
||||
{
|
||||
title: "Living Spaces",
|
||||
description: "Elegant and timeless concepts.",
|
||||
href: "#",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/interior-decoration-inspired-by-mexican-folklore_23-2150711321.jpg",
|
||||
},
|
||||
{
|
||||
title: "Bathrooms",
|
||||
description: "Spas in your own residence.",
|
||||
href: "#",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/small-bathroom-space-with-modern-style-furniture_23-2150864624.jpg",
|
||||
},
|
||||
{
|
||||
title: "Dining Areas",
|
||||
description: "Designed for unforgettable meals.",
|
||||
href: "#",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/dining-room-beige-color-tones-interior-design_114579-2225.jpg",
|
||||
},
|
||||
{
|
||||
title: "Lobby Spaces",
|
||||
description: "Make a statement entry.",
|
||||
href: "#",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/modern-sauna-with-panoramic-windows-wooden-design_169016-70021.jpg",
|
||||
},
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
|
||||
<PortfolioSection />
|
||||
<div id="portfolio" data-section="portfolio">
|
||||
<SectionErrorBoundary name="portfolio">
|
||||
<FeaturesArrowCards
|
||||
tag="Portfolio"
|
||||
title="Recent Projects"
|
||||
description="An insight into our signature style and recent residential projects across Lebanon."
|
||||
items={[
|
||||
{
|
||||
title: "Beirut Modern Villa",
|
||||
tags: [
|
||||
"Villa",
|
||||
"Modern",
|
||||
],
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/colorful-pastel-minimal-interior-design_23-2151883536.jpg",
|
||||
},
|
||||
{
|
||||
title: "Mount Lebanon Chalet",
|
||||
tags: [
|
||||
"Rustic",
|
||||
"Luxury",
|
||||
],
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/indoor-modern-apartment-design-with-wooden-floor-generative-ai_188544-7689.jpg",
|
||||
},
|
||||
{
|
||||
title: "Saida Seaside Loft",
|
||||
tags: [
|
||||
"Loft",
|
||||
"Contemporary",
|
||||
],
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/virtual-love-handsome-cute-guy-suit-with-wine-distance-computer-date-holding-red-flowers_140725-162524.jpg",
|
||||
},
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
|
||||
<MetricsSection />
|
||||
<div id="metrics" data-section="metrics">
|
||||
<SectionErrorBoundary name="metrics">
|
||||
<MetricsIconCards
|
||||
tag="Impact"
|
||||
title="Our Design Journey"
|
||||
description="Quantifiable commitment to our clients' satisfaction."
|
||||
metrics={[
|
||||
{
|
||||
icon: Award,
|
||||
title: "Projects Completed",
|
||||
value: "150+",
|
||||
},
|
||||
{
|
||||
icon: Star,
|
||||
title: "Happy Clients",
|
||||
value: "120+",
|
||||
},
|
||||
{
|
||||
icon: Layout,
|
||||
title: "Custom Designs",
|
||||
value: "500+",
|
||||
},
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
|
||||
<TestimonialsSection />
|
||||
<div id="testimonials" data-section="testimonials">
|
||||
<SectionErrorBoundary name="testimonials">
|
||||
<TestimonialOverlayCards
|
||||
tag="Testimonials"
|
||||
title="Client Experience"
|
||||
description="See why homeowners trust us with their vision."
|
||||
testimonials={[
|
||||
{
|
||||
name: "Layla F.",
|
||||
role: "Homeowner",
|
||||
company: "Beirut",
|
||||
rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/modern-kitchen-island-with-fluted-glass-cabinets-stylish-interior-with-builtin-appliances_169016-72717.jpg",
|
||||
},
|
||||
{
|
||||
name: "Karim M.",
|
||||
role: "Investor",
|
||||
company: "Metn",
|
||||
rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/neoclassical-style-interior-design-with-decor-furnishings_23-2151199410.jpg",
|
||||
},
|
||||
{
|
||||
name: "Nour H.",
|
||||
role: "Designer",
|
||||
company: "Jbeil",
|
||||
rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/people-with-paper-tablet-office_23-2147668750.jpg",
|
||||
},
|
||||
{
|
||||
name: "Samir A.",
|
||||
role: "Client",
|
||||
company: "Tripoli",
|
||||
rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/woman-working-with-ruler-close-up_23-2148966942.jpg",
|
||||
},
|
||||
{
|
||||
name: "Rania S.",
|
||||
role: "Homeowner",
|
||||
company: "Baabda",
|
||||
rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/attractive-woman-reading-magazine-near-panoramic-window_7502-9287.jpg",
|
||||
},
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
|
||||
<FaqSection />
|
||||
<div id="faq" data-section="faq">
|
||||
<SectionErrorBoundary name="faq">
|
||||
<FaqSimple
|
||||
tag="Knowledge"
|
||||
title="Frequently Asked"
|
||||
description="Common questions about our interior design workflow."
|
||||
items={[
|
||||
{
|
||||
question: "Where do you operate?",
|
||||
answer: "We serve all regions across Lebanon.",
|
||||
},
|
||||
{
|
||||
question: "Do you handle custom furniture?",
|
||||
answer: "Yes, we specialize in bespoke custom furniture and installations.",
|
||||
},
|
||||
{
|
||||
question: "How long is a design process?",
|
||||
answer: "Varies by project scale; average residential project is 3-6 months.",
|
||||
},
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
|
||||
<ContactSection />
|
||||
<div id="contact" data-section="contact">
|
||||
<SectionErrorBoundary name="contact">
|
||||
<ContactCta
|
||||
tag="Get Started"
|
||||
text="Ready to transform your space? Schedule a design consultation with our experts in Lebanon."
|
||||
primaryButton={{
|
||||
text: "Contact Us",
|
||||
href: "mailto:info@middesign.com",
|
||||
}}
|
||||
secondaryButton={{
|
||||
text: "Call Now",
|
||||
href: "tel:+96100000000",
|
||||
}}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user