Merge version_2 into main
Merge version_2 into main
This commit was merged in pull request #2.
This commit is contained in:
203
src/app/page.tsx
203
src/app/page.tsx
@@ -31,27 +31,17 @@ export default function LandingPage() {
|
||||
<NavbarLayoutFloatingInline
|
||||
navItems={[
|
||||
{
|
||||
name: "Home",
|
||||
id: "hero",
|
||||
},
|
||||
name: "Home", id: "hero"},
|
||||
{
|
||||
name: "About",
|
||||
id: "about",
|
||||
},
|
||||
name: "About", id: "about"},
|
||||
{
|
||||
name: "Book Ticket",
|
||||
id: "features",
|
||||
},
|
||||
name: "Book Ticket", id: "features"},
|
||||
{
|
||||
name: "Contact",
|
||||
id: "contact",
|
||||
},
|
||||
name: "Contact", id: "contact"},
|
||||
]}
|
||||
brandName="Mash Poa"
|
||||
button={{
|
||||
text: "Download App",
|
||||
href: "#",
|
||||
}}
|
||||
text: "Download App", href: "#"}}
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -61,13 +51,9 @@ export default function LandingPage() {
|
||||
description="Book your next ticket using our seamless online platform. Travel through East Africa in comfort and safety."
|
||||
buttons={[
|
||||
{
|
||||
text: "Search Bus",
|
||||
href: "#features",
|
||||
},
|
||||
text: "Search Bus", href: "#features"},
|
||||
{
|
||||
text: "Download App",
|
||||
href: "#",
|
||||
},
|
||||
text: "Download App", href: "#"},
|
||||
]}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/japanese-subway-system-passenger-information-display-screen_23-2148954779.jpg?_wi=1"
|
||||
/>
|
||||
@@ -81,17 +67,11 @@ export default function LandingPage() {
|
||||
description="Experience the best transport service in the region with our premium facilities. We provide top-tier travel experiences across Kenya, Uganda, Rwanda, and Tanzania."
|
||||
bulletPoints={[
|
||||
{
|
||||
title: "Free Wi-Fi",
|
||||
description: "Stay connected throughout your journey with our complimentary high-speed Wi-Fi.",
|
||||
},
|
||||
title: "Free Wi-Fi", description: "Stay connected throughout your journey with our complimentary high-speed Wi-Fi."},
|
||||
{
|
||||
title: "Power Outlets",
|
||||
description: "Keep your devices charged and ready with built-in power outlets.",
|
||||
},
|
||||
title: "Power Outlets", description: "Keep your devices charged and ready with built-in power outlets."},
|
||||
{
|
||||
title: "Extra Legroom",
|
||||
description: "Relax and stretch out with our thoughtfully designed seating arrangements.",
|
||||
},
|
||||
title: "Extra Legroom", description: "Relax and stretch out with our thoughtfully designed seating arrangements."},
|
||||
]}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/bag-with-camera-passport-near-beachwear_23-2147801027.jpg"
|
||||
mediaAnimation="slide-up"
|
||||
@@ -105,20 +85,11 @@ export default function LandingPage() {
|
||||
description="We offer the widest connectivity in East Africa with rewarding benefits for our loyal passengers."
|
||||
accordionItems={[
|
||||
{
|
||||
id: "1",
|
||||
title: "Cost Savings",
|
||||
content: "Save up to 25% of your Promo Cash balance by booking through our new Mobile App.",
|
||||
},
|
||||
id: "1", title: "Cost Savings", content: "Save up to 25% of your Promo Cash balance by booking through our new Mobile App."},
|
||||
{
|
||||
id: "2",
|
||||
title: "Earn Credits",
|
||||
content: "Receive additional credits during our exclusive promotional periods.",
|
||||
},
|
||||
id: "2", title: "Earn Credits", content: "Receive additional credits during our exclusive promotional periods."},
|
||||
{
|
||||
id: "3",
|
||||
title: "Multiple Routes",
|
||||
content: "We cover extensive routes connecting key cities in Kenya, Uganda, Rwanda and Tanzania.",
|
||||
},
|
||||
id: "3", title: "Multiple Routes", content: "We cover extensive routes connecting key cities in Kenya, Uganda, Rwanda and Tanzania."},
|
||||
]}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/female-scientist-white_53876-89030.jpg"
|
||||
mediaAnimation="slide-up"
|
||||
@@ -132,26 +103,11 @@ export default function LandingPage() {
|
||||
useInvertedBackground={false}
|
||||
metrics={[
|
||||
{
|
||||
id: "1",
|
||||
value: "1519+",
|
||||
title: "Monthly Views",
|
||||
description: "Growing community of travelers.",
|
||||
imageSrc: "http://img.b2bpic.net/free-vector/20-tourism-outdoor-recreation-outline-icon-presentation-vector-line-icons-illustration_1142-18611.jpg",
|
||||
},
|
||||
id: "1", value: "1519+", title: "Monthly Views", description: "Growing community of travelers.", imageSrc: "http://img.b2bpic.net/free-vector/20-tourism-outdoor-recreation-outline-icon-presentation-vector-line-icons-illustration_1142-18611.jpg"},
|
||||
{
|
||||
id: "2",
|
||||
value: "208",
|
||||
title: "Interactions",
|
||||
description: "Customer feedback and inquiries.",
|
||||
imageSrc: "http://img.b2bpic.net/free-vector/energy-logo-design-template_23-2150029284.jpg",
|
||||
},
|
||||
id: "2", value: "208", title: "Interactions", description: "Customer feedback and inquiries.", imageSrc: "http://img.b2bpic.net/free-vector/energy-logo-design-template_23-2150029284.jpg"},
|
||||
{
|
||||
id: "3",
|
||||
value: "4.9",
|
||||
title: "Avg. Rating",
|
||||
description: "Top-rated service in Mombasa.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/top-view-wi-fi-symbols-with-smartphone-sim-card_23-2148779247.jpg",
|
||||
},
|
||||
id: "3", value: "4.9", title: "Avg. Rating", description: "Top-rated service in Mombasa.", imageSrc: "http://img.b2bpic.net/free-photo/top-view-wi-fi-symbols-with-smartphone-sim-card_23-2148779247.jpg"},
|
||||
]}
|
||||
title="Our Growth"
|
||||
description="Reliable service trusted by thousands of passengers every day."
|
||||
@@ -165,59 +121,28 @@ export default function LandingPage() {
|
||||
useInvertedBackground={true}
|
||||
testimonials={[
|
||||
{
|
||||
id: "1",
|
||||
name: "Sarah J.",
|
||||
role: "Traveler",
|
||||
company: "Mombasa",
|
||||
rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/photographer-taking-picture-ocean-coast_657883-303.jpg",
|
||||
},
|
||||
id: "1", name: "Sarah J.", role: "Traveler", company: "Mombasa", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/photographer-taking-picture-ocean-coast_657883-303.jpg"},
|
||||
{
|
||||
id: "2",
|
||||
name: "Michael K.",
|
||||
role: "Commuter",
|
||||
company: "Nairobi",
|
||||
rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/pensive-grey-haired-woman-sunglasses-using-laptop_1262-18544.jpg",
|
||||
},
|
||||
id: "2", name: "Michael K.", role: "Commuter", company: "Nairobi", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/pensive-grey-haired-woman-sunglasses-using-laptop_1262-18544.jpg"},
|
||||
{
|
||||
id: "3",
|
||||
name: "Jane W.",
|
||||
role: "Tourist",
|
||||
company: "Uganda",
|
||||
rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/cropped-image-glad-female-smiles-gently-has-hiking-tour-with-rucksack_273609-25972.jpg",
|
||||
},
|
||||
id: "3", name: "Jane W.", role: "Tourist", company: "Uganda", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/cropped-image-glad-female-smiles-gently-has-hiking-tour-with-rucksack_273609-25972.jpg"},
|
||||
{
|
||||
id: "4",
|
||||
name: "David M.",
|
||||
role: "Traveler",
|
||||
company: "Rwanda",
|
||||
rating: 4,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/portrait-smiling-young-woman-background-two-trams_641386-322.jpg",
|
||||
},
|
||||
id: "4", name: "David M.", role: "Traveler", company: "Rwanda", rating: 4,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/portrait-smiling-young-woman-background-two-trams_641386-322.jpg"},
|
||||
{
|
||||
id: "5",
|
||||
name: "Elena R.",
|
||||
role: "Student",
|
||||
company: "Tanzania",
|
||||
rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/portrait-female-traveler-city-holding-vintage-camera-map-hand-looking-away_23-2148148638.jpg",
|
||||
},
|
||||
id: "5", name: "Elena R.", role: "Student", company: "Tanzania", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/portrait-female-traveler-city-holding-vintage-camera-map-hand-looking-away_23-2148148638.jpg"},
|
||||
]}
|
||||
kpiItems={[
|
||||
{
|
||||
value: "4.9/5",
|
||||
label: "Satisfaction",
|
||||
},
|
||||
value: "4.9/5", label: "Satisfaction"},
|
||||
{
|
||||
value: "10k+",
|
||||
label: "Trips",
|
||||
},
|
||||
value: "10k+", label: "Trips"},
|
||||
{
|
||||
value: "98%",
|
||||
label: "On Time",
|
||||
},
|
||||
value: "98%", label: "On Time"},
|
||||
]}
|
||||
title="Passenger Reviews"
|
||||
description="Read what our customers are saying about their journey."
|
||||
@@ -233,35 +158,11 @@ export default function LandingPage() {
|
||||
description="Stay informed about latest routes, holiday schedules, and travel tips."
|
||||
blogs={[
|
||||
{
|
||||
id: "1",
|
||||
category: "Updates",
|
||||
title: "Holiday Hours",
|
||||
excerpt: "Confirming updated holiday hours for Eid al-Adha.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/young-adults-travelling-winter-time_23-2149211139.jpg",
|
||||
authorName: "Admin",
|
||||
authorAvatar: "http://img.b2bpic.net/free-photo/young-stylish-african-american-woman-modern-sunglasses-riding-bus_627829-7398.jpg",
|
||||
date: "June 2025",
|
||||
},
|
||||
id: "1", category: "Updates", title: "Holiday Hours", excerpt: "Confirming updated holiday hours for Eid al-Adha.", imageSrc: "http://img.b2bpic.net/free-photo/young-adults-travelling-winter-time_23-2149211139.jpg", authorName: "Admin", authorAvatar: "http://img.b2bpic.net/free-photo/young-stylish-african-american-woman-modern-sunglasses-riding-bus_627829-7398.jpg", date: "June 2025"},
|
||||
{
|
||||
id: "2",
|
||||
category: "App",
|
||||
title: "Mobile App Launch",
|
||||
excerpt: "Earn rewards with every ticket purchased via our app.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/woman-with-packed-box-car_23-2147767783.jpg",
|
||||
authorName: "Admin",
|
||||
authorAvatar: "http://img.b2bpic.net/free-photo/man-woman-posing-together-retro-style-inside-vehicle_23-2149525854.jpg",
|
||||
date: "May 2025",
|
||||
},
|
||||
id: "2", category: "App", title: "Mobile App Launch", excerpt: "Earn rewards with every ticket purchased via our app.", imageSrc: "http://img.b2bpic.net/free-photo/woman-with-packed-box-car_23-2147767783.jpg", authorName: "Admin", authorAvatar: "http://img.b2bpic.net/free-photo/man-woman-posing-together-retro-style-inside-vehicle_23-2149525854.jpg", date: "May 2025"},
|
||||
{
|
||||
id: "3",
|
||||
category: "New Routes",
|
||||
title: "Expanding Connections",
|
||||
excerpt: "Connecting even more cities across East Africa.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/happy-men-elbow-bumping-while-greeting-bus-station_637285-12240.jpg",
|
||||
authorName: "Admin",
|
||||
authorAvatar: "http://img.b2bpic.net/free-photo/young-stylish-african-american-woman-riding-bus_627829-7364.jpg",
|
||||
date: "April 2025",
|
||||
},
|
||||
id: "3", category: "New Routes", title: "Expanding Connections", excerpt: "Connecting even more cities across East Africa.", imageSrc: "http://img.b2bpic.net/free-photo/happy-men-elbow-bumping-while-greeting-bus-station_637285-12240.jpg", authorName: "Admin", authorAvatar: "http://img.b2bpic.net/free-photo/young-stylish-african-american-woman-riding-bus_627829-7364.jpg", date: "April 2025"},
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
@@ -270,25 +171,17 @@ export default function LandingPage() {
|
||||
<ContactSplitForm
|
||||
useInvertedBackground={true}
|
||||
title="Get in Touch"
|
||||
description="Have questions or need help with a ticket? Contact us today."
|
||||
description="Need help with your booking? Reach out to our support team for a quick response."
|
||||
inputs={[
|
||||
{
|
||||
name: "name",
|
||||
type: "text",
|
||||
placeholder: "Your Name",
|
||||
required: true,
|
||||
name: "name", type: "text", placeholder: "Your Name", required: true,
|
||||
},
|
||||
{
|
||||
name: "email",
|
||||
type: "email",
|
||||
placeholder: "Email Address",
|
||||
required: true,
|
||||
name: "email", type: "email", placeholder: "Email Address", required: true,
|
||||
},
|
||||
]}
|
||||
textarea={{
|
||||
name: "message",
|
||||
placeholder: "How can we help?",
|
||||
required: true,
|
||||
name: "message", placeholder: "How can we help?", required: true,
|
||||
}}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/japanese-subway-system-passenger-information-display-screen_23-2148954779.jpg?_wi=2"
|
||||
/>
|
||||
@@ -300,29 +193,19 @@ export default function LandingPage() {
|
||||
logoText="Mash Poa"
|
||||
columns={[
|
||||
{
|
||||
title: "Quick Links",
|
||||
items: [
|
||||
title: "Quick Links", items: [
|
||||
{
|
||||
label: "About",
|
||||
href: "#",
|
||||
},
|
||||
label: "About", href: "#"},
|
||||
{
|
||||
label: "Print Ticket",
|
||||
href: "#",
|
||||
},
|
||||
label: "Print Ticket", href: "#"},
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Support",
|
||||
items: [
|
||||
title: "Support", items: [
|
||||
{
|
||||
label: "Contact Us",
|
||||
href: "#contact",
|
||||
},
|
||||
label: "Contact Us", href: "#contact"},
|
||||
{
|
||||
label: "Privacy Policy",
|
||||
href: "#",
|
||||
},
|
||||
label: "Privacy Policy", href: "#"},
|
||||
],
|
||||
},
|
||||
]}
|
||||
@@ -331,4 +214,4 @@ export default function LandingPage() {
|
||||
</ReactLenis>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user