Merge version_2 into main #1

Merged
bender merged 2 commits from version_2 into main 2026-04-22 17:40:45 +00:00
2 changed files with 64 additions and 21 deletions

60
src/app/contact/page.tsx Normal file
View File

@@ -0,0 +1,60 @@
"use client";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import NavbarLayoutFloatingInline from "@/components/navbar/NavbarLayoutFloatingInline";
import ContactSplitForm from "@/components/sections/contact/ContactSplitForm";
import FooterCard from "@/components/sections/footer/FooterCard";
import { Instagram, Facebook } from "lucide-react";
export default function ContactPage() {
return (
<ThemeProvider
defaultButtonVariant="icon-arrow"
defaultTextAnimation="entrance-slide"
borderRadius="rounded"
contentWidth="medium"
sizing="medium"
background="none"
cardStyle="solid"
primaryButtonStyle="shadow"
secondaryButtonStyle="solid"
headingFontWeight="medium"
>
<ReactLenis root>
<NavbarLayoutFloatingInline
navItems={[
{ name: "Home", href: "/" },
{ name: "Contact", href: "/contact" },
]}
brandName="Avni Bus"
button={{ text: "Book Ticket", href: "/contact" }}
/>
<ContactSplitForm
title="Get in Touch"
description="We are here to help. Reach out for booking inquiries, support, or feedback."
useInvertedBackground={false}
imageSrc="http://img.b2bpic.net/free-photo/tram-doors-closeup-public-transport-accessibility-icons_169016-68606.jpg"
mediaPosition="right"
mediaAnimation="slide-up"
buttonText="Send Message"
inputs={[
{ name: "name", type: "text", placeholder: "Full Name", required: true },
{ name: "email", type: "email", placeholder: "Email Address", required: true },
]}
textarea={{
name: "message", placeholder: "How can we help you?", rows: 4,
}}
/>
<FooterCard
logoText="Avni Bus"
copyrightText="© 2025 Avni Bus Service. Safe travels guaranteed."
socialLinks={[
{ icon: Instagram, href: "#", ariaLabel: "Instagram" },
{ icon: Facebook, href: "#", ariaLabel: "Facebook" },
]}
/>
</ReactLenis>
</ThemeProvider>
);
}

View File

@@ -34,16 +34,16 @@ export default function AvniBusServicePage() {
{ name: "Services", id: "services" },
{ name: "Routes", id: "routes" },
{ name: "Reviews", id: "reviews" },
{ name: "Contact", id: "contact" },
{ name: "Contact", href: "/contact" },
]}
brandName="Avni Bus"
button={{ text: "Book Ticket", href: "#contact" }}
button={{ text: "Book Ticket", href: "/contact" }}
/>
<HeroCarouselLogo
logoText="Avni Bus Service"
description="Premium coach travel across the country, prioritizing your safety, comfort, and punctuality with every mile."
buttons={[
{ text: "Book Your Seat", href: "#contact" },
{ text: "Book Your Seat", href: "/contact" },
{ text: "View Our Fleet", href: "#services" },
]}
slides={[
@@ -126,23 +126,6 @@ export default function AvniBusServicePage() {
{ id: "2", name: "Mark Thompson", date: "Dec 2024", title: "Great Value", quote: "The service is top-notch and the staff is very professional.", tag: "Business", avatarSrc: "http://img.b2bpic.net/free-photo/ambitious-businessman-standing-street_1262-3451.jpg", imageSrc: "http://img.b2bpic.net/free-photo/get-work-time_329181-15202.jpg" },
]}
/>
<ContactSplitForm
title="Book Your Journey"
description="Need a coach for your group or a single ticket? Contact us today."
useInvertedBackground={false}
imageSrc="http://img.b2bpic.net/free-photo/tram-doors-closeup-public-transport-accessibility-icons_169016-68606.jpg"
mediaPosition="right"
mediaAnimation="slide-up"
buttonText="Get A Quote"
inputs={[
{ name: "name", type: "text", placeholder: "Full Name", required: true },
{ name: "email", type: "email", placeholder: "Email Address", required: true },
{ name: "route", type: "text", placeholder: "Planned Route" },
]}
textarea={{
name: "message", placeholder: "Any special requests or group booking details?", rows: 4,
}}
/>
<FooterCard
logoText="Avni Bus"
copyrightText="© 2025 Avni Bus Service. Safe travels guaranteed."
@@ -154,4 +137,4 @@ export default function AvniBusServicePage() {
</ReactLenis>
</ThemeProvider>
);
}
}