Merge version_1 into main #2
196
src/app/page.tsx
196
src/app/page.tsx
@@ -30,23 +30,15 @@ export default function LandingPage() {
|
||||
<NavbarLayoutFloatingInline
|
||||
navItems={[
|
||||
{
|
||||
name: "Flights",
|
||||
id: "#flights",
|
||||
},
|
||||
name: "Flights", id: "#flights"},
|
||||
{
|
||||
name: "Buses",
|
||||
id: "#buses",
|
||||
},
|
||||
name: "Buses", id: "#buses"},
|
||||
{
|
||||
name: "My Bookings",
|
||||
id: "#bookings",
|
||||
},
|
||||
name: "My Bookings", id: "#bookings"},
|
||||
]}
|
||||
brandName="TravelSwift"
|
||||
button={{
|
||||
text: "Sign In",
|
||||
href: "#login",
|
||||
}}
|
||||
text: "Sign In", href: "#login"}}
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -56,34 +48,22 @@ export default function LandingPage() {
|
||||
description="Compare and book the best flights and bus tickets in one secure platform."
|
||||
buttons={[
|
||||
{
|
||||
text: "Search Tickets",
|
||||
href: "#search",
|
||||
},
|
||||
text: "Search Tickets", href: "#search"},
|
||||
]}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/sunglasses-hat-airplane_23-2147746347.jpg?_wi=1"
|
||||
imageSrc="http://img.b2bpic.net/free-photo/sunglasses-hat-airplane_23-2147746347.jpg"
|
||||
imageAlt="Modern airport travel terminal"
|
||||
showDimOverlay={true}
|
||||
avatars={[
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/handsome-young-tourist-summer-hat-backpacking-travelling-holding-photo-camera-standing-blu_1258-158939.jpg",
|
||||
alt: "Sarah J.",
|
||||
},
|
||||
src: "http://img.b2bpic.net/free-photo/handsome-young-tourist-summer-hat-backpacking-travelling-holding-photo-camera-standing-blu_1258-158939.jpg", alt: "Sarah J."},
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/man-holding-briefcase_1368-6325.jpg",
|
||||
alt: "Michael C.",
|
||||
},
|
||||
src: "http://img.b2bpic.net/free-photo/man-holding-briefcase_1368-6325.jpg", alt: "Michael C."},
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/happy-pretty-young-woman-listening-music-headphones-using-smartphone-while-sitting-bench-city_231208-4475.jpg",
|
||||
alt: "Emily R.",
|
||||
},
|
||||
src: "http://img.b2bpic.net/free-photo/happy-pretty-young-woman-listening-music-headphones-using-smartphone-while-sitting-bench-city_231208-4475.jpg", alt: "Emily R."},
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/young-woman-sitting-arena-seats-talking-phone_1303-24903.jpg",
|
||||
alt: "David K.",
|
||||
},
|
||||
src: "http://img.b2bpic.net/free-photo/young-woman-sitting-arena-seats-talking-phone_1303-24903.jpg", alt: "David K."},
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/portrait-young-traveler-posing_23-2148357248.jpg",
|
||||
alt: "Anna S.",
|
||||
},
|
||||
src: "http://img.b2bpic.net/free-photo/portrait-young-traveler-posing_23-2148357248.jpg", alt: "Anna S."},
|
||||
]}
|
||||
avatarText="Trusted by 1M+ happy travelers"
|
||||
/>
|
||||
@@ -96,28 +76,13 @@ export default function LandingPage() {
|
||||
useInvertedBackground={true}
|
||||
features={[
|
||||
{
|
||||
title: "Secure Payments",
|
||||
description: "Industry-leading security for your financial data.",
|
||||
bentoComponent: "reveal-icon",
|
||||
icon: Shield,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/sunglasses-hat-airplane_23-2147746347.jpg?_wi=2",
|
||||
imageAlt: "modern airport interior travel",
|
||||
title: "Secure Payments", description: "Industry-leading security for your financial data.", bentoComponent: "reveal-icon", icon: Shield,
|
||||
},
|
||||
{
|
||||
title: "Live Pricing",
|
||||
description: "Get accurate, real-time pricing data instantly.",
|
||||
bentoComponent: "reveal-icon",
|
||||
icon: Zap,
|
||||
imageSrc: "http://img.b2bpic.net/free-vector/shield-with-check-mark-set_78370-7855.jpg",
|
||||
imageAlt: "secure shield checkmark icon",
|
||||
title: "Live Pricing", description: "Get accurate, real-time pricing data instantly.", bentoComponent: "reveal-icon", icon: Zap,
|
||||
},
|
||||
{
|
||||
title: "24/7 Support",
|
||||
description: "Our team is available round-the-clock for assistance.",
|
||||
bentoComponent: "reveal-icon",
|
||||
icon: Headphones,
|
||||
imageSrc: "http://img.b2bpic.net/free-vector/chart-icon_632498-19762.jpg",
|
||||
imageAlt: "live pricing chart icon",
|
||||
title: "24/7 Support", description: "Our team is available round-the-clock for assistance.", bentoComponent: "reveal-icon", icon: Headphones,
|
||||
},
|
||||
]}
|
||||
title="Designed for Your Peace of Mind"
|
||||
@@ -133,41 +98,17 @@ export default function LandingPage() {
|
||||
useInvertedBackground={false}
|
||||
products={[
|
||||
{
|
||||
id: "1",
|
||||
name: "New York to London",
|
||||
price: "$599",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/white-clouds-daytime_417767-303.jpg",
|
||||
},
|
||||
id: "1", name: "New York to London", price: "$599", imageSrc: "http://img.b2bpic.net/free-photo/white-clouds-daytime_417767-303.jpg"},
|
||||
{
|
||||
id: "2",
|
||||
name: "Paris to Berlin",
|
||||
price: "$129",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/blurred-airplane-window_1232-1269.jpg",
|
||||
},
|
||||
id: "2", name: "Paris to Berlin", price: "$129", imageSrc: "http://img.b2bpic.net/free-photo/blurred-airplane-window_1232-1269.jpg"},
|
||||
{
|
||||
id: "3",
|
||||
name: "Tokyo to Osaka",
|
||||
price: "$89",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/road-cliff_53876-15101.jpg?_wi=1",
|
||||
},
|
||||
id: "3", name: "Tokyo to Osaka", price: "$89", imageSrc: "http://img.b2bpic.net/free-photo/road-cliff_53876-15101.jpg"},
|
||||
{
|
||||
id: "4",
|
||||
name: "Madrid to Barcelona",
|
||||
price: "$45",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/people-traveling-subway-winter-time_23-2149217915.jpg",
|
||||
},
|
||||
id: "4", name: "Madrid to Barcelona", price: "$45", imageSrc: "http://img.b2bpic.net/free-photo/people-traveling-subway-winter-time_23-2149217915.jpg"},
|
||||
{
|
||||
id: "5",
|
||||
name: "Sydney to Melbourne",
|
||||
price: "$110",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/airplane_1203-2908.jpg",
|
||||
},
|
||||
id: "5", name: "Sydney to Melbourne", price: "$110", imageSrc: "http://img.b2bpic.net/free-photo/airplane_1203-2908.jpg"},
|
||||
{
|
||||
id: "6",
|
||||
name: "Rome to Milan",
|
||||
price: "$60",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/young-stylish-african-american-woman-modern-sunglasses-riding-bus_627829-7398.jpg",
|
||||
},
|
||||
id: "6", name: "Rome to Milan", price: "$60", imageSrc: "http://img.b2bpic.net/free-photo/young-stylish-african-american-woman-modern-sunglasses-riding-bus_627829-7398.jpg"},
|
||||
]}
|
||||
title="Popular Destinations"
|
||||
description="Check out our most popular flight and bus routes for your next trip."
|
||||
@@ -181,59 +122,28 @@ export default function LandingPage() {
|
||||
useInvertedBackground={true}
|
||||
testimonials={[
|
||||
{
|
||||
id: "1",
|
||||
name: "Sarah Johnson",
|
||||
role: "Frequent Traveler",
|
||||
company: "Global Corp",
|
||||
rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/handsome-young-tourist-summer-hat-backpacking-travelling-holding-photo-camera-standing-blu_1258-158939.jpg",
|
||||
},
|
||||
id: "1", name: "Sarah Johnson", role: "Frequent Traveler", company: "Global Corp", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/handsome-young-tourist-summer-hat-backpacking-travelling-holding-photo-camera-standing-blu_1258-158939.jpg"},
|
||||
{
|
||||
id: "2",
|
||||
name: "Michael Chen",
|
||||
role: "Business Executive",
|
||||
company: "Innovate",
|
||||
rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/man-holding-briefcase_1368-6325.jpg",
|
||||
},
|
||||
id: "2", name: "Michael Chen", role: "Business Executive", company: "Innovate", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/man-holding-briefcase_1368-6325.jpg"},
|
||||
{
|
||||
id: "3",
|
||||
name: "Emily Rodriguez",
|
||||
role: "Travel Blogger",
|
||||
company: "Nomad Life",
|
||||
rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/happy-pretty-young-woman-listening-music-headphones-using-smartphone-while-sitting-bench-city_231208-4475.jpg",
|
||||
},
|
||||
id: "3", name: "Emily Rodriguez", role: "Travel Blogger", company: "Nomad Life", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/happy-pretty-young-woman-listening-music-headphones-using-smartphone-while-sitting-bench-city_231208-4475.jpg"},
|
||||
{
|
||||
id: "4",
|
||||
name: "David Kim",
|
||||
role: "Project Manager",
|
||||
company: "TechBase",
|
||||
rating: 4,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/young-woman-sitting-arena-seats-talking-phone_1303-24903.jpg",
|
||||
},
|
||||
id: "4", name: "David Kim", role: "Project Manager", company: "TechBase", rating: 4,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/young-woman-sitting-arena-seats-talking-phone_1303-24903.jpg"},
|
||||
{
|
||||
id: "5",
|
||||
name: "Anna Smith",
|
||||
role: "Marketing Specialist",
|
||||
company: "GrowthCo",
|
||||
rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/portrait-young-traveler-posing_23-2148357248.jpg",
|
||||
},
|
||||
id: "5", name: "Anna Smith", role: "Marketing Specialist", company: "GrowthCo", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/portrait-young-traveler-posing_23-2148357248.jpg"},
|
||||
]}
|
||||
kpiItems={[
|
||||
{
|
||||
value: "1M+",
|
||||
label: "Trips Booked",
|
||||
},
|
||||
value: "1M+", label: "Trips Booked"},
|
||||
{
|
||||
value: "99.9%",
|
||||
label: "Reliability",
|
||||
},
|
||||
value: "99.9%", label: "Reliability"},
|
||||
{
|
||||
value: "500+",
|
||||
label: "Carriers",
|
||||
},
|
||||
value: "500+", label: "Carriers"},
|
||||
]}
|
||||
title="What Our Travelers Say"
|
||||
description="Thousands of satisfied customers trust our platform for their travel needs."
|
||||
@@ -247,25 +157,17 @@ export default function LandingPage() {
|
||||
description="Have questions or need assistance? Our support team is ready to help you."
|
||||
inputs={[
|
||||
{
|
||||
name: "fullName",
|
||||
type: "text",
|
||||
placeholder: "Full Name",
|
||||
required: true,
|
||||
name: "fullName", type: "text", placeholder: "Full Name", required: true,
|
||||
},
|
||||
{
|
||||
name: "email",
|
||||
type: "email",
|
||||
placeholder: "Email Address",
|
||||
required: true,
|
||||
name: "email", type: "email", placeholder: "Email Address", required: true,
|
||||
},
|
||||
]}
|
||||
textarea={{
|
||||
name: "message",
|
||||
placeholder: "How can we help you today?",
|
||||
rows: 4,
|
||||
name: "message", placeholder: "How can we help you today?", rows: 4,
|
||||
required: true,
|
||||
}}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/road-cliff_53876-15101.jpg?_wi=2"
|
||||
imageSrc="http://img.b2bpic.net/free-photo/road-cliff_53876-15101.jpg"
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -275,33 +177,21 @@ export default function LandingPage() {
|
||||
{
|
||||
items: [
|
||||
{
|
||||
label: "Flights",
|
||||
href: "#flights",
|
||||
},
|
||||
label: "Flights", href: "#flights"},
|
||||
{
|
||||
label: "Buses",
|
||||
href: "#buses",
|
||||
},
|
||||
label: "Buses", href: "#buses"},
|
||||
{
|
||||
label: "My Bookings",
|
||||
href: "#bookings",
|
||||
},
|
||||
label: "My Bookings", href: "#bookings"},
|
||||
],
|
||||
},
|
||||
{
|
||||
items: [
|
||||
{
|
||||
label: "Support",
|
||||
href: "#contact",
|
||||
},
|
||||
label: "Support", href: "#contact"},
|
||||
{
|
||||
label: "Privacy Policy",
|
||||
href: "#",
|
||||
},
|
||||
label: "Privacy Policy", href: "#"},
|
||||
{
|
||||
label: "Terms of Service",
|
||||
href: "#",
|
||||
},
|
||||
label: "Terms of Service", href: "#"},
|
||||
],
|
||||
},
|
||||
]}
|
||||
|
||||
Reference in New Issue
Block a user