From f2ac53d8a103b70513b6c76171e37f66f5386e42 Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 14 May 2026 03:31:02 +0000 Subject: [PATCH 1/7] Add src/app/admin/dashboard/page.tsx --- src/app/admin/dashboard/page.tsx | 58 ++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 src/app/admin/dashboard/page.tsx diff --git a/src/app/admin/dashboard/page.tsx b/src/app/admin/dashboard/page.tsx new file mode 100644 index 0000000..5d22978 --- /dev/null +++ b/src/app/admin/dashboard/page.tsx @@ -0,0 +1,58 @@ +"use client"; + +import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; +import ReactLenis from "lenis/react"; +import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen'; +import MetricCardFourteen from '@/components/sections/metrics/MetricCardFourteen'; +import FooterLogoReveal from '@/components/sections/footer/FooterLogoReveal'; + +export default function AdminDashboardPage() { + return ( + + + + +
+ +
+ + +
+
+ ); +} \ No newline at end of file -- 2.49.1 From 46c6cbf0790008ac1e1d7a559ee378d043c21858 Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 14 May 2026 03:31:02 +0000 Subject: [PATCH 2/7] Add src/app/admin/page.tsx --- src/app/admin/page.tsx | 61 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 src/app/admin/page.tsx diff --git a/src/app/admin/page.tsx b/src/app/admin/page.tsx new file mode 100644 index 0000000..6c55a4c --- /dev/null +++ b/src/app/admin/page.tsx @@ -0,0 +1,61 @@ +"use client"; + +import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; +import ReactLenis from "lenis/react"; +import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen'; +import FooterLogoReveal from '@/components/sections/footer/FooterLogoReveal'; + +export default function AdminDashboardPage() { + return ( + + + + +
+

Admin Dashboard

+
+
+

Bus Management

+

Manage fleet, registration numbers, and bus types.

+
+
+

Route Management

+

Configure routes, schedules, and stop points.

+
+
+

Driver Management

+

Assign drivers, track certifications, and performance.

+
+
+
+ + +
+
+ ); +} \ No newline at end of file -- 2.49.1 From d106da79e9a27cb4a1a7bb30fcd7a83d4ff96ee7 Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 14 May 2026 03:31:03 +0000 Subject: [PATCH 3/7] Add src/app/driver/page.tsx --- src/app/driver/page.tsx | 60 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 src/app/driver/page.tsx diff --git a/src/app/driver/page.tsx b/src/app/driver/page.tsx new file mode 100644 index 0000000..6311554 --- /dev/null +++ b/src/app/driver/page.tsx @@ -0,0 +1,60 @@ +"use client"; + +import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; +import ReactLenis from "lenis/react"; +import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen'; +import FeatureCardTwelve from '@/components/sections/feature/FeatureCardTwelve'; +import FooterLogoReveal from '@/components/sections/footer/FooterLogoReveal'; + +export default function DriverDashboardPage() { + return ( + + + + +
+ +
+ + +
+
+ ); +} \ No newline at end of file -- 2.49.1 From c792175845c8e2b897303827b78119a2a496e79f Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 14 May 2026 03:31:03 +0000 Subject: [PATCH 4/7] Add src/app/login/page.tsx --- src/app/login/page.tsx | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 src/app/login/page.tsx diff --git a/src/app/login/page.tsx b/src/app/login/page.tsx new file mode 100644 index 0000000..11d6298 --- /dev/null +++ b/src/app/login/page.tsx @@ -0,0 +1,32 @@ +"use client"; + +import { useState } from "react"; +import { useRouter } from "next/navigation"; +import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; + +export default function LoginPage() { + const [isLogin, setIsLogin] = useState(true); + const router = useRouter(); + + return ( + +
+
+

{isLogin ? "Admin Login" : "Admin Signup"}

+
+ {!isLogin && ( + + )} + + + +
+

+ {isLogin ? "Don't have an account?" : "Already have an account?"} + +

+
+
+
+ ); +} \ No newline at end of file -- 2.49.1 From f785857f5e85f2e0bd0c4f3c861e7d16f55e1046 Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 14 May 2026 03:31:04 +0000 Subject: [PATCH 5/7] Update src/app/page.tsx --- src/app/page.tsx | 168 +++++++++++++++-------------------------------- 1 file changed, 53 insertions(+), 115 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 91094a1..0d6c3e3 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -31,16 +31,12 @@ export default function LandingPage() { @@ -128,12 +97,9 @@ export default function LandingPage() { textboxLayout="split" useInvertedBackground={false} features={[ - { - tag: "Digital", title: "QR Digital Tickets", subtitle: "Seamless entry", description: "No paper needed. Use your smartphone to display your QR ticket at boarding.", imageSrc: "http://img.b2bpic.net/free-photo/woman-with-curly-hair-using-her-mobile-phone-bus_23-2148753445.jpg?_wi=2"}, - { - tag: "Live", title: "GPS Tracking", subtitle: "Real-time updates", description: "Know exactly where your bus is at any moment during your journey.", imageSrc: "http://img.b2bpic.net/free-photo/travel-navigation-journey-vacation-trip-laptop-concept_53876-125037.jpg?_wi=2"}, - { - tag: "Secure", title: "Integrated Payments", subtitle: "eSewa, Khalti, IME", description: "Multiple secure payment gateways for a frictionless booking experience.", imageSrc: "http://img.b2bpic.net/free-photo/close-up-shot-person-doing-internet-shopping-using-cellphone_482257-115489.jpg?_wi=2"}, + { tag: "Digital", title: "QR Digital Tickets", subtitle: "Seamless entry", description: "No paper needed. Use your smartphone to display your QR ticket at boarding.", imageSrc: "http://img.b2bpic.net/free-photo/woman-with-curly-hair-using-her-mobile-phone-bus_23-2148753445.jpg?_wi=2" }, + { tag: "Live", title: "GPS Tracking", subtitle: "Real-time updates", description: "Know exactly where your bus is at any moment during your journey.", imageSrc: "http://img.b2bpic.net/free-photo/travel-navigation-journey-vacation-trip-laptop-concept_53876-125037.jpg?_wi=2" }, + { tag: "Secure", title: "Integrated Payments", subtitle: "eSewa, Khalti, IME", description: "Multiple secure payment gateways for a frictionless booking experience.", imageSrc: "http://img.b2bpic.net/free-photo/close-up-shot-person-doing-internet-shopping-using-cellphone_482257-115489.jpg?_wi=2" }, ]} title="Comprehensive Travel Features" description="Everything you need for a comfortable and efficient journey." @@ -147,24 +113,12 @@ export default function LandingPage() { gridVariant="uniform-all-items-equal" useInvertedBackground={true} products={[ - { - id: "1", brand: "Luxury", name: "Kathmandu to Pokhara", price: "Rs. 1,200", rating: 5, - reviewCount: "120", imageSrc: "http://img.b2bpic.net/free-photo/yellow-admission-ticket_1101-3251.jpg"}, - { - id: "2", brand: "Standard", name: "Kathmandu to Chitwan", price: "Rs. 950", rating: 4, - reviewCount: "85", imageSrc: "http://img.b2bpic.net/free-photo/copy-space-small-sign-with-black-friday-design_23-2148313146.jpg"}, - { - id: "3", brand: "Luxury", name: "Pokhara to Butwal", price: "Rs. 1,500", rating: 5, - reviewCount: "40", imageSrc: "http://img.b2bpic.net/free-photo/high-angle-woman-working-as-travel-agent_23-2150455559.jpg"}, - { - id: "4", brand: "Standard", name: "Kathmandu to Dharan", price: "Rs. 1,800", rating: 4, - reviewCount: "60", imageSrc: "http://img.b2bpic.net/free-photo/young-woman-sitting-back-car-talking-phone_1303-20472.jpg"}, - { - id: "5", brand: "Luxury", name: "Pokhara to Janakpur", price: "Rs. 2,100", rating: 5, - reviewCount: "35", imageSrc: "http://img.b2bpic.net/free-photo/young-man-travelling-by-city-bus-using-smartphone_23-2148958082.jpg"}, - { - id: "6", brand: "Standard", name: "Kathmandu to Biratnagar", price: "Rs. 1,900", rating: 4, - reviewCount: "55", imageSrc: "http://img.b2bpic.net/free-photo/magician-s-hand-wearing-white-gloves-performing-trick-playing-cards_23-2147880760.jpg"}, + { id: "1", brand: "Luxury", name: "Kathmandu to Pokhara", price: "Rs. 1,200", rating: 5, reviewCount: "120", imageSrc: "http://img.b2bpic.net/free-photo/yellow-admission-ticket_1101-3251.jpg" }, + { id: "2", brand: "Standard", name: "Kathmandu to Chitwan", price: "Rs. 950", rating: 4, reviewCount: "85", imageSrc: "http://img.b2bpic.net/free-photo/copy-space-small-sign-with-black-friday-design_23-2148313146.jpg" }, + { id: "3", brand: "Luxury", name: "Pokhara to Butwal", price: "Rs. 1,500", rating: 5, reviewCount: "40", imageSrc: "http://img.b2bpic.net/free-photo/high-angle-woman-working-as-travel-agent_23-2150455559.jpg" }, + { id: "4", brand: "Standard", name: "Kathmandu to Dharan", price: "Rs. 1,800", rating: 4, reviewCount: "60", imageSrc: "http://img.b2bpic.net/free-photo/young-woman-sitting-back-car-talking-phone_1303-20472.jpg" }, + { id: "5", brand: "Luxury", name: "Pokhara to Janakpur", price: "Rs. 2,100", rating: 5, reviewCount: "35", imageSrc: "http://img.b2bpic.net/free-photo/young-man-travelling-by-city-bus-using-smartphone_23-2148958082.jpg" }, + { id: "6", brand: "Standard", name: "Kathmandu to Biratnagar", price: "Rs. 1,900", rating: 4, reviewCount: "55", imageSrc: "http://img.b2bpic.net/free-photo/magician-s-hand-wearing-white-gloves-performing-trick-playing-cards_23-2147880760.jpg" }, ]} title="Popular Routes" description="Book your seat for these high-demand routes today." @@ -177,12 +131,9 @@ export default function LandingPage() { title="YatraNepal in Numbers" tag="Trusted by Thousands" metrics={[ - { - id: "1", value: "50,000+", description: "Happy Passengers"}, - { - id: "2", value: "150+", description: "Verified Buses"}, - { - id: "3", value: "45+", description: "Daily Routes"}, + { id: "1", value: "50,000+", description: "Happy Passengers" }, + { id: "2", value: "150+", description: "Verified Buses" }, + { id: "3", value: "45+", description: "Daily Routes" }, ]} metricsAnimation="slide-up" /> @@ -194,16 +145,11 @@ export default function LandingPage() { textboxLayout="default" useInvertedBackground={true} testimonials={[ - { - id: "1", name: "Anil K.", role: "Traveler", testimonial: "Amazing experience, very helpful app for Nepal travel.", imageSrc: "http://img.b2bpic.net/free-photo/elegant-businesswoman-with-her-red-suitcase_1139-425.jpg"}, - { - id: "2", name: "Sunita R.", role: "Student", testimonial: "Reliable and fast. Love the notification features.", imageSrc: "http://img.b2bpic.net/free-photo/cute-woman-with-old-camera-smiling_23-2147846985.jpg"}, - { - id: "3", name: "Bimal T.", role: "Business Owner", testimonial: "Booking system is very intuitive.", imageSrc: "http://img.b2bpic.net/free-photo/tourism-vacation-excited-guy-tourist-going-holiday-trip-showing-passport-with-tickets-hol_1258-155516.jpg"}, - { - id: "4", name: "Rina M.", role: "Tourist", testimonial: "Great service throughout the trip.", imageSrc: "http://img.b2bpic.net/free-photo/front-view-traveling-woman-with-hat-backpack-holding-thermos_23-2148648661.jpg"}, - { - id: "5", name: "Sajan P.", role: "Professional", testimonial: "Best bus service, GPS tracking is accurate.", imageSrc: "http://img.b2bpic.net/free-photo/black-businessman-happy-expression_1194-2623.jpg"}, + { id: "1", name: "Anil K.", role: "Traveler", testimonial: "Amazing experience, very helpful app for Nepal travel.", imageSrc: "http://img.b2bpic.net/free-photo/elegant-businesswoman-with-her-red-suitcase_1139-425.jpg" }, + { id: "2", name: "Sunita R.", role: "Student", testimonial: "Reliable and fast. Love the notification features.", imageSrc: "http://img.b2bpic.net/free-photo/cute-woman-with-old-camera-smiling_23-2147846985.jpg" }, + { id: "3", name: "Bimal T.", role: "Business Owner", testimonial: "Booking system is very intuitive.", imageSrc: "http://img.b2bpic.net/free-photo/tourism-vacation-excited-guy-tourist-going-holiday-trip-showing-passport-with-tickets-hol_1258-155516.jpg" }, + { id: "4", name: "Rina M.", role: "Tourist", testimonial: "Great service throughout the trip.", imageSrc: "http://img.b2bpic.net/free-photo/front-view-traveling-woman-with-hat-backpack-holding-thermos_23-2148648661.jpg" }, + { id: "5", name: "Sajan P.", role: "Professional", testimonial: "Best bus service, GPS tracking is accurate.", imageSrc: "http://img.b2bpic.net/free-photo/black-businessman-happy-expression_1194-2623.jpg" }, ]} title="Passenger Reviews" description="What our users say about us." @@ -215,14 +161,10 @@ export default function LandingPage() { textboxLayout="split" useInvertedBackground={false} faqs={[ - { - id: "1", title: "Can I book a seat for someone else?", content: "Yes, you can enter the passenger's details during the booking process."}, - { - id: "2", title: "What payment methods are supported?", content: "We support eSewa, Khalti, IME Pay, and major credit cards via Stripe."}, - { - id: "3", title: "How do I get my ticket?", content: "Your ticket is generated digitally and sent to your email and accessible via the app."}, - { - id: "4", title: "Can I track my bus?", content: "Yes, our app includes live GPS tracking for all buses on our platform."}, + { id: "1", title: "Can I book a seat for someone else?", content: "Yes, you can enter the passenger's details during the booking process." }, + { id: "2", title: "What payment methods are supported?", content: "We support eSewa, Khalti, IME Pay, and major credit cards via Stripe." }, + { id: "3", title: "How do I get my ticket?", content: "Your ticket is generated digitally and sent to your email and accessible via the app." }, + { id: "4", title: "Can I track my bus?", content: "Yes, our app includes live GPS tracking for all buses on our platform." }, ]} imageSrc="http://img.b2bpic.net/free-photo/happy-men-elbow-bumping-while-greeting-bus-station_637285-12240.jpg" mediaAnimation="slide-up" @@ -235,12 +177,10 @@ export default function LandingPage() {
@@ -248,10 +188,8 @@ export default function LandingPage() { -- 2.49.1 From bf5cd7709d0a4bd8c07aac0f13da0bb7f5f61d75 Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 14 May 2026 03:31:05 +0000 Subject: [PATCH 6/7] Add src/app/qr-ticket/page.tsx --- src/app/qr-ticket/page.tsx | 76 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 76 insertions(+) create mode 100644 src/app/qr-ticket/page.tsx diff --git a/src/app/qr-ticket/page.tsx b/src/app/qr-ticket/page.tsx new file mode 100644 index 0000000..7f8cf8a --- /dev/null +++ b/src/app/qr-ticket/page.tsx @@ -0,0 +1,76 @@ +"use client"; + +import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; +import ReactLenis from "lenis/react"; +import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen'; +import TextBox from '@/components/Textbox'; +import ButtonShiftHover from '@/components/button/ButtonShiftHover/ButtonShiftHover'; +import { useState } from 'react'; + +export default function QRTicketPage() { + const [ticketGenerated, setTicketGenerated] = useState(false); + + const handleDownload = () => { + alert("QR Digital Ticket downloaded successfully!"); + }; + + return ( + + + + +
+ + +
+ {!ticketGenerated ? ( +
+

Generate your ticket for entry.

+ setTicketGenerated(true)} /> +
+ ) : ( +
+
+ [QR CODE IMAGE] +
+
+

Route: Kathmandu to Pokhara

+

Date: 2025-05-15

+

Seat: 12A

+
+ +
+ )} +
+
+
+
+ ); +} -- 2.49.1 From 609d8872cefb515c9c2dde9b260712100d1b6fa9 Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 14 May 2026 03:31:05 +0000 Subject: [PATCH 7/7] Add src/app/signup/page.tsx --- src/app/signup/page.tsx | 43 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 src/app/signup/page.tsx diff --git a/src/app/signup/page.tsx b/src/app/signup/page.tsx new file mode 100644 index 0000000..48ab3fd --- /dev/null +++ b/src/app/signup/page.tsx @@ -0,0 +1,43 @@ +"use client"; + +import { useState } from "react"; +import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; +import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen'; +import ContactForm from '@/components/form/ContactForm'; + +export default function SignupPage() { + const [email, setEmail] = useState(""); + + const handleSignup = (email: string) => { + console.log("Signing up:", email); + }; + + return ( + + +
+ +
+
+ ); +} \ No newline at end of file -- 2.49.1