diff --git a/src/app/timeline/page.tsx b/src/app/timeline/page.tsx index 799ac15..018beda 100644 --- a/src/app/timeline/page.tsx +++ b/src/app/timeline/page.tsx @@ -1,47 +1,18 @@ "use client"; -import { ThemeProvider } from "@/components/theme/ThemeProvider"; -import NavbarLayoutFloatingOverlay from "@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay"; -import HeroSplitTestimonial from "@/components/sections/hero/HeroSplitTestimonial"; -import { useState } from "react"; -import { ChevronLeft, ChevronRight, Calendar } from "lucide-react"; -interface TimelineEvent { - id: string; - date: string; - title: string; - description: string; - metrics: string[]; -} +import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; +import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay'; -const TimelinePage = () => { - const [selectedDate, setSelectedDate] = useState("2024-01"); - - const timelineEvents: TimelineEvent[] = [ - { - id: "1", date: "2024-01", title: "January Launch", description: "Platform launched with core features", metrics: ["50K users", "99.5% uptime", "12 features"], - }, - { - id: "2", date: "2024-02", title: "First Milestone", description: "Reached 100K active users", metrics: ["100K users", "99.7% uptime", "15 features"], - }, - { - id: "3", date: "2024-03", title: "Feature Expansion", description: "Added advanced analytics and reporting", metrics: ["200K users", "99.8% uptime", "22 features"], - }, - { - id: "4", date: "2024-04", title: "Enterprise Release", description: "Enterprise tier with dedicated support", metrics: ["350K users", "99.9% uptime", "28 features"], - }, - { - id: "5", date: "2024-05", title: "Global Expansion", description: "Launched in 15 new countries", metrics: ["500K users", "99.95% uptime", "35 features"], - }, - { - id: "6", date: "2024-06", title: "AI Integration", description: "Introduced AI-powered insights", metrics: ["750K users", "99.95% uptime", "42 features"], - }, - ]; - - const selectedEvent = timelineEvents.find((e) => e.date === selectedDate); +const testCarImages = [ + 'https://images.unsplash.com/photo-1552519507-da3a142c6e3d?w=800&q=80', + 'https://images.unsplash.com/photo-1494976866105-d32a481b81b4?w=800&q=80', + 'https://images.unsplash.com/photo-1527524330007-3ea4e06ed667?w=800&q=80', +]; +export default function TimelinePage() { return ( { cardStyle="glass-elevated" primaryButtonStyle="gradient" secondaryButtonStyle="glass" - headingFontWeight="bold" + headingFontWeight="normal" > - - -
- + alert("Full history view coming soon") }, - { text: "Back to Home", href: "/" }, - ]} - mediaAnimation="slide-up" - buttonAnimation="slide-up" + brandName="Webild" + button={{ text: "Search", href: "search" }} />
-
-
-
-

Platform Growth Timeline

- - {/* Timeline Slider */} -
-
- -
-
-
- -
- - {/* Timeline months */} -
- {timelineEvents.map((event) => ( - - ))} -
-
- - {/* Selected Event Details */} - {selectedEvent && ( -
-
- -
-

{selectedEvent.title}

-

{selectedEvent.description}

-
-
{selectedEvent.date}
-
- -
- {selectedEvent.metrics.map((metric, idx) => ( -
-

{metric}

-
- ))} -
-
- )} -
- - {/* Full Timeline View */} -
- {timelineEvents.map((event, idx) => ( -
setSelectedDate(event.date)} - > -
-
{event.date}
-
-

{event.title}

-

{event.description}

-
-
-
- ))} -
+
+
+

Vehicle Timeline

+

Historical vehicle data and model evolution

); -}; - -export default TimelinePage; +}