Merge version_2_1781533887234 into main #1
@@ -1,315 +1,36 @@
|
||||
import AboutTextSplit from '@/components/sections/about/AboutTextSplit';
|
||||
import ContactCta from '@/components/sections/contact/ContactCta';
|
||||
import FaqTwoColumn from '@/components/sections/faq/FaqTwoColumn';
|
||||
import FeaturesImageBento from '@/components/sections/features/FeaturesImageBento';
|
||||
import HeroSplitVerticalMarquee from '@/components/sections/hero/HeroSplitVerticalMarquee';
|
||||
import MetricsFeatureCards from '@/components/sections/metrics/MetricsFeatureCards';
|
||||
import PricingHighlightedCards from '@/components/sections/pricing/PricingHighlightedCards';
|
||||
import TestimonialRatingCards from '@/components/sections/testimonial/TestimonialRatingCards';
|
||||
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
|
||||
// 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.
|
||||
|
||||
export default function HomePage() {
|
||||
import React from 'react';
|
||||
import HeroSection from './HomePage/sections/Hero';
|
||||
import AboutSection from './HomePage/sections/About';
|
||||
import FleetSection from './HomePage/sections/Fleet';
|
||||
import PricingSection from './HomePage/sections/Pricing';
|
||||
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 {
|
||||
return (
|
||||
<>
|
||||
<div id="hero" data-section="hero">
|
||||
<SectionErrorBoundary name="hero">
|
||||
<HeroSplitVerticalMarquee
|
||||
tag="Trusted Rental Service"
|
||||
title="Rent Premium Cars, Book in Seconds"
|
||||
description="Browse our fleet, select your dates, and drive today. Available in Arabic, English, and French."
|
||||
primaryButton={{
|
||||
text: "Book Your Car Now",
|
||||
href: "#contact",
|
||||
}}
|
||||
secondaryButton={{
|
||||
text: "View Fleet",
|
||||
href: "#fleet",
|
||||
}}
|
||||
leftItems={[
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/dark-hatchback-driving-winter-highway-near-forest-landscape_169016-71717.jpg",
|
||||
},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/photo-infiniti-g37-coupe-outdoors_158538-24743.jpg",
|
||||
},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/white-suv-drives-wet-highway-curve-open-countryside-safe-driving_169016-71117.jpg",
|
||||
},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/rugged-suv-with-headlights-speeds-highway-dynamic-drive_169016-71052.jpg",
|
||||
},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/happy-employee-using-laptop_23-2148508935.jpg",
|
||||
},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/dark-suv-driving-winter-highway-through-rural-landscape_169016-71733.jpg",
|
||||
},
|
||||
]}
|
||||
rightItems={[
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/handsome-business-man-by-white-car_1303-16424.jpg",
|
||||
},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/black-convertible-driving-highway-road-trip-modern-luxury-car-with-open-top_169016-72712.jpg",
|
||||
},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/row-new-cars-port_335224-806.jpg",
|
||||
},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/senior-man-car-showroom-choosing-car_1303-18967.jpg",
|
||||
},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/talking-about-that-brand-new-vehicle-female-customer-modern-stylish-bearded-businessman-automobile-saloon_146671-16060.jpg",
|
||||
},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/close-up-happy-business-person-car-dealership_23-2149117177.jpg",
|
||||
},
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
<>
|
||||
<HeroSection />
|
||||
|
||||
<div id="about" data-section="about">
|
||||
<SectionErrorBoundary name="about">
|
||||
<AboutTextSplit
|
||||
title="Who We Are"
|
||||
descriptions={[
|
||||
"Addoula Cars is your premier destination for reliable, luxury, and budget-friendly vehicle rentals. We cater to both business professionals and vacationers, ensuring a seamless experience through our modern fleet and commitment to excellence.",
|
||||
"We provide multilingual support in Arabic, English, and French, making our services accessible to everyone in the region.",
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
<AboutSection />
|
||||
|
||||
<div id="fleet" data-section="fleet">
|
||||
<SectionErrorBoundary name="fleet">
|
||||
<FeaturesImageBento
|
||||
tag="Our Fleet"
|
||||
title="Drive Your Choice"
|
||||
description="Select from a wide range of premium vehicles maintained to the highest standards."
|
||||
items={[
|
||||
{
|
||||
title: "Silver Sedan",
|
||||
description: "Comfortable for daily commutes.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/woman-near-her-white-modern-car-carwash-station_651396-2392.jpg",
|
||||
},
|
||||
{
|
||||
title: "Luxury SUV",
|
||||
description: "Perfect for rugged terrains.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/woman-enjoying-her-financially-independence-while-buying-car_23-2149434363.jpg",
|
||||
},
|
||||
{
|
||||
title: "Sport Hatchback",
|
||||
description: "Easy parking in cities.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/woman-charging-electro-car-electric-gas-station_1157-35441.jpg",
|
||||
},
|
||||
{
|
||||
title: "Electric Vehicle",
|
||||
description: "Sustainable and efficient.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/young-female-being-uber-driver_23-2149184217.jpg",
|
||||
},
|
||||
{
|
||||
title: "Travel Van",
|
||||
description: "Spacious for the whole family.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/modern-family-retro-style_23-2150440150.jpg",
|
||||
},
|
||||
{
|
||||
title: "Premium Crossover",
|
||||
description: "Style and versatility.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/joyful-fashionable-female-friends-raise-their-hands-while-sitting-luxury-cabriolet-car-park_613910-6818.jpg",
|
||||
},
|
||||
{
|
||||
title: "Luxury Sports",
|
||||
description: "Unmatched speed and prestige.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/f1-racing-24-hours-le-mans-render-3d-illustration_654080-409.jpg",
|
||||
},
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
<FleetSection />
|
||||
|
||||
<div id="pricing" data-section="pricing">
|
||||
<SectionErrorBoundary name="pricing">
|
||||
<PricingHighlightedCards
|
||||
tag="Simple Pricing"
|
||||
title="Transparent Rental Rates"
|
||||
description="Choose the term that suits your travel needs best."
|
||||
plans={[
|
||||
{
|
||||
tag: "Daily",
|
||||
price: "$45",
|
||||
description: "Perfect for short city trips.",
|
||||
features: [
|
||||
"Unlimited Miles",
|
||||
"24/7 Support",
|
||||
],
|
||||
primaryButton: {
|
||||
text: "Select",
|
||||
href: "#contact",
|
||||
},
|
||||
},
|
||||
{
|
||||
tag: "Weekly",
|
||||
price: "$280",
|
||||
description: "Best value for tourists.",
|
||||
highlight: "Most Popular",
|
||||
features: [
|
||||
"Free Upgrade",
|
||||
"Insurance Included",
|
||||
],
|
||||
primaryButton: {
|
||||
text: "Select",
|
||||
href: "#contact",
|
||||
},
|
||||
},
|
||||
{
|
||||
tag: "Monthly",
|
||||
price: "$950",
|
||||
description: "For long-term mobility.",
|
||||
features: [
|
||||
"Maintenance Included",
|
||||
"Priority Service",
|
||||
],
|
||||
primaryButton: {
|
||||
text: "Select",
|
||||
href: "#contact",
|
||||
},
|
||||
},
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
<PricingSection />
|
||||
|
||||
<div id="metrics" data-section="metrics">
|
||||
<SectionErrorBoundary name="metrics">
|
||||
<MetricsFeatureCards
|
||||
tag="Our Impact"
|
||||
title="Why Rent With Addoula?"
|
||||
description="We lead the market with exceptional service quality."
|
||||
metrics={[
|
||||
{
|
||||
value: "150+",
|
||||
title: "Cars Available",
|
||||
features: [
|
||||
"Sedans",
|
||||
"SUVs",
|
||||
"Vans",
|
||||
],
|
||||
},
|
||||
{
|
||||
value: "24/7",
|
||||
title: "Support Availability",
|
||||
features: [
|
||||
"Roadside",
|
||||
"Booking",
|
||||
"Inquiries",
|
||||
],
|
||||
},
|
||||
{
|
||||
value: "99%",
|
||||
title: "Customer Satisfaction",
|
||||
features: [
|
||||
"Punctuality",
|
||||
"Cleanliness",
|
||||
"Service",
|
||||
],
|
||||
},
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
<MetricsSection />
|
||||
|
||||
<div id="testimonials" data-section="testimonials">
|
||||
<SectionErrorBoundary name="testimonials">
|
||||
<TestimonialRatingCards
|
||||
tag="Reviews"
|
||||
title="What Our Clients Say"
|
||||
description="Real feedback from our satisfied travelers."
|
||||
testimonials={[
|
||||
{
|
||||
name: "John Doe",
|
||||
role: "Business Traveler",
|
||||
quote: "The booking process was incredibly easy and the car was spotless.",
|
||||
rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/middle-age-businessman-smiling-happy-standing-city_839833-25759.jpg",
|
||||
},
|
||||
{
|
||||
name: "Sarah Smith",
|
||||
role: "Tourist",
|
||||
quote: "Fantastic service in French, Arabic, and English. Highly recommend!",
|
||||
rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/happy-tourist-enjoying-summer-vacation-smiling-saying-yes-with-fist-pump-celebrating-holidays_1258-164115.jpg",
|
||||
},
|
||||
{
|
||||
name: "Alex Riv",
|
||||
role: "Local Commuter",
|
||||
quote: "Fast, reliable, and very transparent pricing. Best in town.",
|
||||
rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-smiley-woman-holding-plan_23-2148819855.jpg",
|
||||
},
|
||||
{
|
||||
name: "Michael K.",
|
||||
role: "Tourist",
|
||||
quote: "Great selection of luxury cars. I had a wonderful trip.",
|
||||
rating: 4,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/handsome-smiling-stylish-hipster-man-walking-city-street-with-leather-bag-wearing-sweatshirt-sunglasses-urban-style-trend-sunny-day_285396-4552.jpg",
|
||||
},
|
||||
{
|
||||
name: "Emma L.",
|
||||
role: "Family Traveler",
|
||||
quote: "Clean van, easy to drive, and professional support.",
|
||||
rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/happy-traveling-couple-love-taking-selfie-phone-beach_273443-2288.jpg",
|
||||
},
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
<TestimonialsSection />
|
||||
|
||||
<div id="faq" data-section="faq">
|
||||
<SectionErrorBoundary name="faq">
|
||||
<FaqTwoColumn
|
||||
tag="Common Questions"
|
||||
title="Everything You Need to Know"
|
||||
description="Clear answers to your common rental questions."
|
||||
items={[
|
||||
{
|
||||
question: "What documents do I need?",
|
||||
answer: "You need a valid driving license, passport/ID, and a credit card.",
|
||||
},
|
||||
{
|
||||
question: "Are insurance fees included?",
|
||||
answer: "Standard insurance is included; premium options are available.",
|
||||
},
|
||||
{
|
||||
question: "Can I return the car at a different location?",
|
||||
answer: "Yes, for an additional fee based on the location distance.",
|
||||
},
|
||||
{
|
||||
question: "Is multilingual support available?",
|
||||
answer: "Yes, we support Arabic, English, and French.",
|
||||
},
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
<FaqSection />
|
||||
|
||||
<div id="contact" data-section="contact">
|
||||
<SectionErrorBoundary name="contact">
|
||||
<ContactCta
|
||||
tag="Ready to Start?"
|
||||
text="Contact us today for quick booking and premium service."
|
||||
primaryButton={{
|
||||
text: "Contact Us Now",
|
||||
href: "mailto:info@addoulacars.com",
|
||||
}}
|
||||
secondaryButton={{
|
||||
text: "WhatsApp Support",
|
||||
href: "https://wa.me/123456789",
|
||||
}}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
<ContactSection />
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
22
src/pages/HomePage/sections/About.tsx
Normal file
22
src/pages/HomePage/sections/About.tsx
Normal file
@@ -0,0 +1,22 @@
|
||||
// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this
|
||||
// file as the canonical source for the "about" section.
|
||||
|
||||
import React from 'react';
|
||||
import AboutTextSplit from '@/components/sections/about/AboutTextSplit';
|
||||
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
|
||||
|
||||
export default function AboutSection(): React.JSX.Element {
|
||||
return (
|
||||
<div id="about" data-section="about">
|
||||
<SectionErrorBoundary name="about">
|
||||
<AboutTextSplit
|
||||
title="Who We Are"
|
||||
descriptions={[
|
||||
"Addoula Cars is your premier destination for reliable, luxury, and budget-friendly vehicle rentals. We cater to both business professionals and vacationers, ensuring a seamless experience through our modern fleet and commitment to excellence.",
|
||||
"We provide multilingual support in Arabic, English, and French, making our services accessible to everyone in the region.",
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
27
src/pages/HomePage/sections/Contact.tsx
Normal file
27
src/pages/HomePage/sections/Contact.tsx
Normal file
@@ -0,0 +1,27 @@
|
||||
// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this
|
||||
// file as the canonical source for the "contact" section.
|
||||
|
||||
import React from 'react';
|
||||
import ContactCta from '@/components/sections/contact/ContactCta';
|
||||
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
|
||||
|
||||
export default function ContactSection(): React.JSX.Element {
|
||||
return (
|
||||
<div id="contact" data-section="contact">
|
||||
<SectionErrorBoundary name="contact">
|
||||
<ContactCta
|
||||
tag="Ready to Start?"
|
||||
text="Contact us today for quick booking and premium service."
|
||||
primaryButton={{
|
||||
text: "Contact Us Now",
|
||||
href: "mailto:info@addoulacars.com",
|
||||
}}
|
||||
secondaryButton={{
|
||||
text: "WhatsApp Support",
|
||||
href: "https://wa.me/123456789",
|
||||
}}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
38
src/pages/HomePage/sections/Faq.tsx
Normal file
38
src/pages/HomePage/sections/Faq.tsx
Normal file
@@ -0,0 +1,38 @@
|
||||
// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this
|
||||
// file as the canonical source for the "faq" section.
|
||||
|
||||
import React from 'react';
|
||||
import FaqTwoColumn from '@/components/sections/faq/FaqTwoColumn';
|
||||
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
|
||||
|
||||
export default function FaqSection(): React.JSX.Element {
|
||||
return (
|
||||
<div id="faq" data-section="faq">
|
||||
<SectionErrorBoundary name="faq">
|
||||
<FaqTwoColumn
|
||||
tag="Common Questions"
|
||||
title="Everything You Need to Know"
|
||||
description="Clear answers to your common rental questions."
|
||||
items={[
|
||||
{
|
||||
question: "What documents do I need?",
|
||||
answer: "You need a valid driving license, passport/ID, and a credit card.",
|
||||
},
|
||||
{
|
||||
question: "Are insurance fees included?",
|
||||
answer: "Standard insurance is included; premium options are available.",
|
||||
},
|
||||
{
|
||||
question: "Can I return the car at a different location?",
|
||||
answer: "Yes, for an additional fee based on the location distance.",
|
||||
},
|
||||
{
|
||||
question: "Is multilingual support available?",
|
||||
answer: "Yes, we support Arabic, English, and French.",
|
||||
},
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
185
src/pages/HomePage/sections/Fleet.tsx
Normal file
185
src/pages/HomePage/sections/Fleet.tsx
Normal file
@@ -0,0 +1,185 @@
|
||||
/* eslint-disable */
|
||||
// @ts-nocheck — generated by catalog-eject; runtime-correct but TS strict-mode false-positives on inlined catalog body
|
||||
import Button from "@/components/ui/Button";
|
||||
import TextAnimation from "@/components/ui/TextAnimation";
|
||||
import ImageOrVideo from "@/components/ui/ImageOrVideo";
|
||||
import ScrollReveal from "@/components/ui/ScrollReveal";
|
||||
import { cls } from "@/lib/utils";
|
||||
|
||||
const items = [
|
||||
{
|
||||
title: "Silver Sedan",
|
||||
description: "Comfortable for daily commutes.",
|
||||
price: "$45/day",
|
||||
features: ["Automatic", "5 Seats", "Unlimited Mileage"],
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/woman-near-her-white-modern-car-carwash-station_651396-2392.jpg"
|
||||
},
|
||||
{
|
||||
title: "Luxury SUV",
|
||||
description: "Perfect for rugged terrains.",
|
||||
price: "$85/day",
|
||||
features: ["Automatic", "5 Seats", "GPS Included"],
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/woman-enjoying-her-financially-independence-while-buying-car_23-2149434363.jpg"
|
||||
},
|
||||
{
|
||||
title: "Sport Hatchback",
|
||||
description: "Easy parking in cities.",
|
||||
price: "$55/day",
|
||||
features: ["Manual", "4 Seats", "City Friendly"],
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/woman-charging-electro-car-electric-gas-station_1157-35441.jpg"
|
||||
},
|
||||
{
|
||||
title: "Electric Vehicle",
|
||||
description: "Sustainable and efficient.",
|
||||
price: "$65/day",
|
||||
features: ["Electric", "4 Seats", "Free Charging"],
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/young-female-being-uber-driver_23-2149184217.jpg"
|
||||
},
|
||||
{
|
||||
title: "Travel Van",
|
||||
description: "Spacious for the whole family.",
|
||||
price: "$95/day",
|
||||
features: ["Automatic", "7 Seats", "Extra Luggage"],
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/modern-family-retro-style_23-2150440150.jpg"
|
||||
},
|
||||
{
|
||||
title: "Premium Crossover",
|
||||
description: "Style and versatility.",
|
||||
price: "$110/day",
|
||||
features: ["Automatic", "5 Seats", "Leather Seats"],
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/joyful-fashionable-female-friends-raise-their-hands-while-sitting-luxury-cabriolet-car-park_613910-6818.jpg"
|
||||
},
|
||||
{
|
||||
title: "Luxury Sports",
|
||||
description: "Unmatched speed and prestige.",
|
||||
price: "$150/day",
|
||||
features: ["Automatic", "2 Seats", "High Performance"],
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/f1-racing-24-hours-le-mans-render-3d-illustration_654080-409.jpg"
|
||||
}
|
||||
];
|
||||
|
||||
type FeatureItem = {
|
||||
title: string;
|
||||
description: string;
|
||||
price?: string;
|
||||
features?: string[];
|
||||
href?: string;
|
||||
} & ({ imageSrc: string; videoSrc?: never } | { videoSrc: string; imageSrc?: never });
|
||||
|
||||
interface FeaturesImageBentoProps {
|
||||
tag: string;
|
||||
title: string;
|
||||
description: string;
|
||||
primaryButton?: { text: string; href: string };
|
||||
secondaryButton?: { text: string; href: string };
|
||||
items: [FeatureItem, FeatureItem, FeatureItem, FeatureItem, FeatureItem, FeatureItem, FeatureItem];
|
||||
}
|
||||
|
||||
const FleetInline = () => {
|
||||
const gridClasses = [
|
||||
"md:col-span-2",
|
||||
"md:col-span-4",
|
||||
"md:col-span-3",
|
||||
"md:col-span-3",
|
||||
"md:col-span-2",
|
||||
"md:col-span-2",
|
||||
"md:col-span-2",
|
||||
];
|
||||
|
||||
const staggerDelays = [
|
||||
0,
|
||||
0.1,
|
||||
0,
|
||||
0.1,
|
||||
0,
|
||||
0.1,
|
||||
0.2,
|
||||
];
|
||||
|
||||
return (
|
||||
<section aria-label="Features image bento section" className="py-20">
|
||||
<div className="flex flex-col gap-8 md:gap-10">
|
||||
<div className="flex flex-col items-center w-content-width mx-auto gap-2">
|
||||
<div className="px-3 py-1 mb-1 text-sm card rounded w-fit">
|
||||
<p>{"Our Fleet"}</p>
|
||||
</div>
|
||||
|
||||
<TextAnimation
|
||||
text={"Drive Your Choice"}
|
||||
variant="slide-up"
|
||||
gradientText={true}
|
||||
tag="h2"
|
||||
className="md:max-w-8/10 text-6xl 2xl:text-7xl leading-[1.15] font-semibold text-center text-balance"
|
||||
/>
|
||||
|
||||
<TextAnimation
|
||||
text={"Select from a wide range of premium vehicles maintained to the highest standards."}
|
||||
variant="slide-up"
|
||||
gradientText={false}
|
||||
tag="p"
|
||||
className="md:max-w-7/10 text-lg md:text-xl leading-snug text-center text-balance"
|
||||
/>
|
||||
|
||||
{(undefined || undefined) && (
|
||||
<div className="flex flex-wrap justify-center gap-3 mt-2 md:mt-3">
|
||||
{undefined && <Button text={undefined.text} href={undefined.href} variant="primary"/>}
|
||||
{undefined && <Button text={undefined.text} href={undefined.href} variant="secondary" animationDelay={0.1} />}
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
|
||||
<div className="w-content-width mx-auto grid grid-cols-1 md:grid-cols-6 gap-3">
|
||||
{items.map((item, index) => {
|
||||
const content = (
|
||||
<div className="relative h-80 xl:h-100 2xl:h-120 overflow-hidden">
|
||||
<ImageOrVideo
|
||||
imageSrc={item.imageSrc}
|
||||
videoSrc={item.videoSrc}
|
||||
className="rounded group-hover:scale-105 transition-transform duration-500"
|
||||
/>
|
||||
|
||||
<div className="absolute inset-x-5 bottom-5 xl:inset-x-6 xl:bottom-6 2xl:inset-x-7 2xl:bottom-7 flex flex-col text-background bg-black/40 p-4 rounded backdrop-blur-sm">
|
||||
<div className="flex justify-between items-start mb-1">
|
||||
<span className="text-2xl font-semibold leading-snug truncate">{item.title}</span>
|
||||
{item.price && <span className="text-xl font-bold">{item.price}</span>}
|
||||
</div>
|
||||
<span className="text-base leading-snug truncate mb-3">{item.description}</span>
|
||||
{item.features && (
|
||||
<div className="flex flex-wrap gap-2 mb-4">
|
||||
{item.features.map((f, i) => (
|
||||
<span key={i} className="text-xs bg-white/20 px-2 py-1 rounded">{f}</span>
|
||||
))}
|
||||
</div>
|
||||
)}
|
||||
<Button text="Book Now" href="#contact" variant="primary" className="w-fit" />
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
||||
return (
|
||||
<ScrollReveal key={index} variant="fade-blur" delay={staggerDelays[index]} className={cls("col-span-1 group", gridClasses[index])}>
|
||||
{item.href ? (
|
||||
<a href={item.href} className="block overflow-hidden rounded">
|
||||
{content}
|
||||
</a>
|
||||
) : (
|
||||
<div className="overflow-hidden rounded">
|
||||
{content}
|
||||
</div>
|
||||
)}
|
||||
</ScrollReveal>
|
||||
);
|
||||
})}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
};
|
||||
|
||||
export default function FleetSection() {
|
||||
return (
|
||||
<div data-webild-section="fleet" id="fleet">
|
||||
<FleetInline />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
68
src/pages/HomePage/sections/Hero.tsx
Normal file
68
src/pages/HomePage/sections/Hero.tsx
Normal file
@@ -0,0 +1,68 @@
|
||||
// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this
|
||||
// file as the canonical source for the "hero" section.
|
||||
|
||||
import React from 'react';
|
||||
import HeroSplitVerticalMarquee from '@/components/sections/hero/HeroSplitVerticalMarquee';
|
||||
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
|
||||
|
||||
export default function HeroSection(): React.JSX.Element {
|
||||
return (
|
||||
<div id="hero" data-section="hero">
|
||||
<SectionErrorBoundary name="hero">
|
||||
<HeroSplitVerticalMarquee
|
||||
tag="Trusted Rental Service"
|
||||
title="Rent Premium Cars, Book in Seconds"
|
||||
description="Browse our fleet, select your dates, and drive today. Available in Arabic, English, and French."
|
||||
primaryButton={{
|
||||
text: "Book Your Car Now",
|
||||
href: "#contact",
|
||||
}}
|
||||
secondaryButton={{
|
||||
text: "View Fleet",
|
||||
href: "#fleet",
|
||||
}}
|
||||
leftItems={[
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/dark-hatchback-driving-winter-highway-near-forest-landscape_169016-71717.jpg",
|
||||
},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/photo-infiniti-g37-coupe-outdoors_158538-24743.jpg",
|
||||
},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/white-suv-drives-wet-highway-curve-open-countryside-safe-driving_169016-71117.jpg",
|
||||
},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/rugged-suv-with-headlights-speeds-highway-dynamic-drive_169016-71052.jpg",
|
||||
},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/happy-employee-using-laptop_23-2148508935.jpg",
|
||||
},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/dark-suv-driving-winter-highway-through-rural-landscape_169016-71733.jpg",
|
||||
},
|
||||
]}
|
||||
rightItems={[
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/handsome-business-man-by-white-car_1303-16424.jpg",
|
||||
},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/black-convertible-driving-highway-road-trip-modern-luxury-car-with-open-top_169016-72712.jpg",
|
||||
},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/row-new-cars-port_335224-806.jpg",
|
||||
},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/senior-man-car-showroom-choosing-car_1303-18967.jpg",
|
||||
},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/talking-about-that-brand-new-vehicle-female-customer-modern-stylish-bearded-businessman-automobile-saloon_146671-16060.jpg",
|
||||
},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/close-up-happy-business-person-car-dealership_23-2149117177.jpg",
|
||||
},
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
49
src/pages/HomePage/sections/Metrics.tsx
Normal file
49
src/pages/HomePage/sections/Metrics.tsx
Normal file
@@ -0,0 +1,49 @@
|
||||
// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this
|
||||
// file as the canonical source for the "metrics" section.
|
||||
|
||||
import React from 'react';
|
||||
import MetricsFeatureCards from '@/components/sections/metrics/MetricsFeatureCards';
|
||||
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
|
||||
|
||||
export default function MetricsSection(): React.JSX.Element {
|
||||
return (
|
||||
<div id="metrics" data-section="metrics">
|
||||
<SectionErrorBoundary name="metrics">
|
||||
<MetricsFeatureCards
|
||||
tag="Our Impact"
|
||||
title="Why Rent With Addoula?"
|
||||
description="We lead the market with exceptional service quality."
|
||||
metrics={[
|
||||
{
|
||||
value: "150+",
|
||||
title: "Cars Available",
|
||||
features: [
|
||||
"Sedans",
|
||||
"SUVs",
|
||||
"Vans",
|
||||
],
|
||||
},
|
||||
{
|
||||
value: "24/7",
|
||||
title: "Support Availability",
|
||||
features: [
|
||||
"Roadside",
|
||||
"Booking",
|
||||
"Inquiries",
|
||||
],
|
||||
},
|
||||
{
|
||||
value: "99%",
|
||||
title: "Customer Satisfaction",
|
||||
features: [
|
||||
"Punctuality",
|
||||
"Cleanliness",
|
||||
"Service",
|
||||
],
|
||||
},
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
62
src/pages/HomePage/sections/Pricing.tsx
Normal file
62
src/pages/HomePage/sections/Pricing.tsx
Normal file
@@ -0,0 +1,62 @@
|
||||
// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this
|
||||
// file as the canonical source for the "pricing" section.
|
||||
|
||||
import React from 'react';
|
||||
import PricingHighlightedCards from '@/components/sections/pricing/PricingHighlightedCards';
|
||||
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
|
||||
|
||||
export default function PricingSection(): React.JSX.Element {
|
||||
return (
|
||||
<div id="pricing" data-section="pricing">
|
||||
<SectionErrorBoundary name="pricing">
|
||||
<PricingHighlightedCards
|
||||
tag="Simple Pricing"
|
||||
title="Transparent Rental Rates"
|
||||
description="Choose the term that suits your travel needs best."
|
||||
plans={[
|
||||
{
|
||||
tag: "Daily",
|
||||
price: "$45",
|
||||
description: "Perfect for short city trips.",
|
||||
features: [
|
||||
"Unlimited Miles",
|
||||
"24/7 Support",
|
||||
],
|
||||
primaryButton: {
|
||||
text: "Select",
|
||||
href: "#contact",
|
||||
},
|
||||
},
|
||||
{
|
||||
tag: "Weekly",
|
||||
price: "$280",
|
||||
description: "Best value for tourists.",
|
||||
highlight: "Most Popular",
|
||||
features: [
|
||||
"Free Upgrade",
|
||||
"Insurance Included",
|
||||
],
|
||||
primaryButton: {
|
||||
text: "Select",
|
||||
href: "#contact",
|
||||
},
|
||||
},
|
||||
{
|
||||
tag: "Monthly",
|
||||
price: "$950",
|
||||
description: "For long-term mobility.",
|
||||
features: [
|
||||
"Maintenance Included",
|
||||
"Priority Service",
|
||||
],
|
||||
primaryButton: {
|
||||
text: "Select",
|
||||
href: "#contact",
|
||||
},
|
||||
},
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
57
src/pages/HomePage/sections/Testimonials.tsx
Normal file
57
src/pages/HomePage/sections/Testimonials.tsx
Normal file
@@ -0,0 +1,57 @@
|
||||
// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this
|
||||
// file as the canonical source for the "testimonials" section.
|
||||
|
||||
import React from 'react';
|
||||
import TestimonialRatingCards from '@/components/sections/testimonial/TestimonialRatingCards';
|
||||
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
|
||||
|
||||
export default function TestimonialsSection(): React.JSX.Element {
|
||||
return (
|
||||
<div id="testimonials" data-section="testimonials">
|
||||
<SectionErrorBoundary name="testimonials">
|
||||
<TestimonialRatingCards
|
||||
tag="Reviews"
|
||||
title="What Our Clients Say"
|
||||
description="Real feedback from our satisfied travelers."
|
||||
testimonials={[
|
||||
{
|
||||
name: "John Doe",
|
||||
role: "Business Traveler",
|
||||
quote: "The booking process was incredibly easy and the car was spotless.",
|
||||
rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/middle-age-businessman-smiling-happy-standing-city_839833-25759.jpg",
|
||||
},
|
||||
{
|
||||
name: "Sarah Smith",
|
||||
role: "Tourist",
|
||||
quote: "Fantastic service in French, Arabic, and English. Highly recommend!",
|
||||
rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/happy-tourist-enjoying-summer-vacation-smiling-saying-yes-with-fist-pump-celebrating-holidays_1258-164115.jpg",
|
||||
},
|
||||
{
|
||||
name: "Alex Riv",
|
||||
role: "Local Commuter",
|
||||
quote: "Fast, reliable, and very transparent pricing. Best in town.",
|
||||
rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-smiley-woman-holding-plan_23-2148819855.jpg",
|
||||
},
|
||||
{
|
||||
name: "Michael K.",
|
||||
role: "Tourist",
|
||||
quote: "Great selection of luxury cars. I had a wonderful trip.",
|
||||
rating: 4,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/handsome-smiling-stylish-hipster-man-walking-city-street-with-leather-bag-wearing-sweatshirt-sunglasses-urban-style-trend-sunny-day_285396-4552.jpg",
|
||||
},
|
||||
{
|
||||
name: "Emma L.",
|
||||
role: "Family Traveler",
|
||||
quote: "Clean van, easy to drive, and professional support.",
|
||||
rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/happy-traveling-couple-love-taking-selfie-phone-beach_273443-2288.jpg",
|
||||
},
|
||||
]}
|
||||
/>
|
||||
</SectionErrorBoundary>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user