156 lines
3.6 KiB
TypeScript
156 lines
3.6 KiB
TypeScript
"use client";
|
|
|
|
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
|
import ReactLenis from "lenis/react";
|
|
import AboutMetric from '@/components/sections/about/AboutMetric';
|
|
import FooterMedia from '@/components/sections/footer/FooterMedia';
|
|
import MetricCardTwo from '@/components/sections/metrics/MetricCardTwo';
|
|
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
|
|
import TextAbout from '@/components/sections/about/TextAbout';
|
|
import { Car, MapPin, Users } from "lucide-react";
|
|
|
|
export default function LandingPage() {
|
|
return (
|
|
<ThemeProvider
|
|
defaultButtonVariant="directional-hover"
|
|
defaultTextAnimation="background-highlight"
|
|
borderRadius="soft"
|
|
contentWidth="medium"
|
|
sizing="large"
|
|
background="none"
|
|
cardStyle="outline"
|
|
primaryButtonStyle="flat"
|
|
secondaryButtonStyle="glass"
|
|
headingFontWeight="medium"
|
|
>
|
|
<ReactLenis root>
|
|
<div id="nav" data-section="nav">
|
|
<NavbarStyleCentered
|
|
navItems={[
|
|
{
|
|
name: "Home",
|
|
id: "/",
|
|
},
|
|
{
|
|
name: "About",
|
|
id: "/about",
|
|
},
|
|
{
|
|
name: "Services",
|
|
id: "/services",
|
|
},
|
|
{
|
|
name: "Drive",
|
|
id: "/drive",
|
|
},
|
|
{
|
|
name: "Contact",
|
|
id: "/contact",
|
|
},
|
|
]}
|
|
brandName="Tusafiri Ride"
|
|
/>
|
|
</div>
|
|
|
|
<div id="about-content" data-section="about-content">
|
|
<AboutMetric
|
|
useInvertedBackground={true}
|
|
title="Improving Transport in Kenya"
|
|
metrics={[
|
|
{
|
|
label: "Happy Riders",
|
|
value: "50k+",
|
|
icon: Users,
|
|
},
|
|
{
|
|
label: "Active Drivers",
|
|
value: "2k+",
|
|
icon: Car,
|
|
},
|
|
{
|
|
label: "Cities",
|
|
value: "5",
|
|
icon: MapPin,
|
|
},
|
|
]}
|
|
metricsAnimation="slide-up"
|
|
/>
|
|
</div>
|
|
|
|
<div id="about" data-section="about">
|
|
<TextAbout
|
|
useInvertedBackground={false}
|
|
tag="Vision"
|
|
title="Moving Kenya Forward"
|
|
buttons={[
|
|
{
|
|
text: "Learn More",
|
|
href: "/about",
|
|
},
|
|
]}
|
|
/>
|
|
</div>
|
|
|
|
<div id="metric" data-section="metric">
|
|
<MetricCardTwo
|
|
animationType="slide-up"
|
|
textboxLayout="default"
|
|
gridVariant="uniform-all-items-equal"
|
|
useInvertedBackground={false}
|
|
title="Our Impact"
|
|
description="The growth metrics of Tusafiri Ride in numbers."
|
|
metrics={[
|
|
{
|
|
id: "m1",
|
|
value: "1M+",
|
|
description: "Trips Completed",
|
|
},
|
|
{
|
|
id: "m2",
|
|
value: "99.9%",
|
|
description: "Safety Rate",
|
|
},
|
|
]}
|
|
/>
|
|
</div>
|
|
|
|
<div id="footer" data-section="footer">
|
|
<FooterMedia
|
|
imageSrc="http://img.b2bpic.net/free-vector/flat-design-car-service-logo-template_23-2149830104.jpg?_wi=2"
|
|
logoText="Tusafiri Ride"
|
|
columns={[
|
|
{
|
|
title: "Company",
|
|
items: [
|
|
{
|
|
label: "About Us",
|
|
href: "/about",
|
|
},
|
|
{
|
|
label: "Drive With Us",
|
|
href: "/drive",
|
|
},
|
|
],
|
|
},
|
|
{
|
|
title: "Help",
|
|
items: [
|
|
{
|
|
label: "Contact",
|
|
href: "/contact",
|
|
},
|
|
{
|
|
label: "FAQ",
|
|
href: "#",
|
|
},
|
|
],
|
|
},
|
|
]}
|
|
copyrightText="© 2025 Tusafiri Ride. Nairobi, Kenya."
|
|
/>
|
|
</div>
|
|
</ReactLenis>
|
|
</ThemeProvider>
|
|
);
|
|
}
|