Update src/app/page.tsx
This commit is contained in:
@@ -22,8 +22,7 @@ export default function HomePage() {
|
||||
|
||||
const footerColumns = [
|
||||
{
|
||||
title: "Service",
|
||||
items: [
|
||||
title: "Service", items: [
|
||||
{ label: "Track Train", href: "/" },
|
||||
{ label: "Check PNR", href: "/pnr" },
|
||||
{ label: "Live Status", href: "#live-status" },
|
||||
@@ -31,8 +30,7 @@ export default function HomePage() {
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Company",
|
||||
items: [
|
||||
title: "Company", items: [
|
||||
{ label: "About Us", href: "/about" },
|
||||
{ label: "Contact", href: "/contact" },
|
||||
{ label: "Blog", href: "/blog" },
|
||||
@@ -40,8 +38,7 @@ export default function HomePage() {
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Legal",
|
||||
items: [
|
||||
title: "Legal", items: [
|
||||
{ label: "Privacy Policy", href: "/privacy" },
|
||||
{ label: "Terms of Service", href: "/terms" },
|
||||
{ label: "Disclaimer", href: "/disclaimer" },
|
||||
@@ -85,14 +82,11 @@ export default function HomePage() {
|
||||
]}
|
||||
mediaItems={[
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/empty-railroad-platform_1359-702.jpg?_wi=1",
|
||||
imageAlt: "Train tracking interface",
|
||||
},
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/empty-railroad-platform_1359-702.jpg", imageAlt: "Train tracking interface"},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-vector/underground-infographic-set_1284-16818.jpg?_wi=1",
|
||||
imageAlt: "Real-time status visualization",
|
||||
},
|
||||
imageSrc: "http://img.b2bpic.net/free-vector/underground-infographic-set_1284-16818.jpg", imageAlt: "Real-time status visualization"},
|
||||
]}
|
||||
mediaAnimation="none"
|
||||
rating={5}
|
||||
ratingText="Trusted by 500K+ Indian Travelers"
|
||||
/>
|
||||
@@ -103,7 +97,7 @@ export default function HomePage() {
|
||||
title="Live Status Timeline"
|
||||
description="View your train's journey station by station. See passed stations in grey, upcoming stations highlighted in bold blue, real-time delays in red, and platform numbers in green badges. Every detail you need at a glance."
|
||||
tag="Status Tracking"
|
||||
imageSrc="http://img.b2bpic.net/free-vector/underground-infographic-set_1284-16818.jpg?_wi=2"
|
||||
imageSrc="http://img.b2bpic.net/free-vector/underground-infographic-set_1284-16818.jpg"
|
||||
imageAlt="Live status timeline display"
|
||||
buttons={[{ text: "Start Tracking", href: "#hero" }]}
|
||||
useInvertedBackground={false}
|
||||
@@ -117,20 +111,11 @@ export default function HomePage() {
|
||||
tag="Passenger Info"
|
||||
negativeCard={{
|
||||
items: [
|
||||
"Manual phone calls to enquiry",
|
||||
"Waiting hours for information",
|
||||
"Unclear booking status",
|
||||
"No real-time updates",
|
||||
],
|
||||
"Manual phone calls to enquiry", "Waiting hours for information", "Unclear booking status", "No real-time updates"],
|
||||
}}
|
||||
positiveCard={{
|
||||
items: [
|
||||
"Instant PNR status check",
|
||||
"Live booking confirmation",
|
||||
"Current passenger status",
|
||||
"Seat and coach details",
|
||||
"Confirmed vs RAC status",
|
||||
],
|
||||
"Instant PNR status check", "Live booking confirmation", "Current passenger status", "Seat and coach details", "Confirmed vs RAC status"],
|
||||
}}
|
||||
animationType="slide-up"
|
||||
textboxLayout="default"
|
||||
@@ -141,12 +126,7 @@ export default function HomePage() {
|
||||
<div id="social-proof" data-section="social-proof">
|
||||
<SocialProofOne
|
||||
names={[
|
||||
"Indian Railways",
|
||||
"IRCTC",
|
||||
"Ministry of Railways",
|
||||
"Railway Board",
|
||||
"Transportation Ministry",
|
||||
]}
|
||||
"Indian Railways", "IRCTC", "Ministry of Railways", "Railway Board", "Transportation Ministry"]}
|
||||
title="Trusted by Official Partners"
|
||||
description="Verified integration with Indian Railways official systems and government transportation authorities."
|
||||
tag="Official Partners"
|
||||
@@ -161,41 +141,23 @@ export default function HomePage() {
|
||||
<FaqBase
|
||||
faqs={[
|
||||
{
|
||||
id: "1",
|
||||
title: "How do I track my train?",
|
||||
content:
|
||||
"Enter your 5-digit train number and the journey date in the search bar on our home page. You'll instantly see live location, all station stops, delays, and platform information.",
|
||||
},
|
||||
id: "1", title: "How do I track my train?", content:
|
||||
"Enter your 5-digit train number and the journey date in the search bar on our home page. You'll instantly see live location, all station stops, delays, and platform information."},
|
||||
{
|
||||
id: "2",
|
||||
title: "What is a PNR number?",
|
||||
content:
|
||||
"A Passenger Name Record (PNR) is a unique 10-digit confirmation number given when you book a train ticket. Use it to check your exact booking status, seat number, and passenger details.",
|
||||
},
|
||||
id: "2", title: "What is a PNR number?", content:
|
||||
"A Passenger Name Record (PNR) is a unique 10-digit confirmation number given when you book a train ticket. Use it to check your exact booking status, seat number, and passenger details."},
|
||||
{
|
||||
id: "3",
|
||||
title: "Is the data real-time?",
|
||||
content:
|
||||
"Yes! Our system is integrated with official Indian Railways data and updates every 2-3 minutes. You get the most current train location and status information available.",
|
||||
},
|
||||
id: "3", title: "Is the data real-time?", content:
|
||||
"Yes! Our system is integrated with official Indian Railways data and updates every 2-3 minutes. You get the most current train location and status information available."},
|
||||
{
|
||||
id: "4",
|
||||
title: "Can I use this for multiple trains?",
|
||||
content:
|
||||
"Absolutely! Track unlimited trains simultaneously. Each search gives you complete real-time details about that specific train's journey.",
|
||||
},
|
||||
id: "4", title: "Can I use this for multiple trains?", content:
|
||||
"Absolutely! Track unlimited trains simultaneously. Each search gives you complete real-time details about that specific train's journey."},
|
||||
{
|
||||
id: "5",
|
||||
title: "What does the red delay time mean?",
|
||||
content:
|
||||
"Red delay time shows how many minutes the train is running late from its scheduled time. Green indicates the train is on schedule.",
|
||||
},
|
||||
id: "5", title: "What does the red delay time mean?", content:
|
||||
"Red delay time shows how many minutes the train is running late from its scheduled time. Green indicates the train is on schedule."},
|
||||
{
|
||||
id: "6",
|
||||
title: "How accurate are platform numbers?",
|
||||
content:
|
||||
"Platform numbers are displayed in green badges and are updated based on the latest railway authority information, typically confirmed 1-2 hours before arrival.",
|
||||
},
|
||||
id: "6", title: "How accurate are platform numbers?", content:
|
||||
"Platform numbers are displayed in green badges and are updated based on the latest railway authority information, typically confirmed 1-2 hours before arrival."},
|
||||
]}
|
||||
title="Frequently Asked Questions"
|
||||
description="Get quick answers about train tracking, PNR status, and how to use our service."
|
||||
@@ -215,13 +177,11 @@ export default function HomePage() {
|
||||
{ name: "pnr", type: "text", placeholder: "PNR Number", required: true },
|
||||
]}
|
||||
textarea={{
|
||||
name: "food_preference",
|
||||
placeholder: "Meal preferences and dietary requirements",
|
||||
rows: 3,
|
||||
name: "food_preference", placeholder: "Meal preferences and dietary requirements", rows: 3,
|
||||
required: false,
|
||||
}}
|
||||
useInvertedBackground={false}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/people-traveling-subway-winter-time_23-2149217900.jpg?_wi=1"
|
||||
imageSrc="http://img.b2bpic.net/free-photo/people-traveling-subway-winter-time_23-2149217900.jpg"
|
||||
imageAlt="Meal booking service"
|
||||
mediaAnimation="slide-up"
|
||||
mediaPosition="right"
|
||||
|
||||
Reference in New Issue
Block a user