Merge version_2 into main #1
60
src/app/contact/page.tsx
Normal file
60
src/app/contact/page.tsx
Normal 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>
|
||||
);
|
||||
}
|
||||
@@ -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>
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user