Merge version_1 into main #2
@@ -17,32 +17,28 @@ export default function ComplaintPage() {
|
||||
|
||||
const footerColumns = [
|
||||
{
|
||||
title: "Navigation",
|
||||
items: [
|
||||
title: "Navigation", items: [
|
||||
{ label: "Home", href: "/" },
|
||||
{ label: "Routes", href: "/routes" },
|
||||
{ label: "Schedule", href: "/schedule" },
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Services",
|
||||
items: [
|
||||
title: "Services", items: [
|
||||
{ label: "Registration", href: "/registration" },
|
||||
{ label: "Complaints", href: "/complaint" },
|
||||
{ label: "Admin", href: "/admin" },
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Support",
|
||||
items: [
|
||||
title: "Support", items: [
|
||||
{ label: "Contact Us", href: "#" },
|
||||
{ label: "FAQ", href: "#" },
|
||||
{ label: "Help Center", href: "#" },
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Legal",
|
||||
items: [
|
||||
title: "Legal", items: [
|
||||
{ label: "Privacy Policy", href: "#" },
|
||||
{ label: "Terms of Service", href: "#" },
|
||||
{ label: "Cookie Policy", href: "#" },
|
||||
|
||||
@@ -15,32 +15,28 @@ export default function LoginPage() {
|
||||
|
||||
const footerColumns = [
|
||||
{
|
||||
title: "Navigation",
|
||||
items: [
|
||||
title: "Navigation", items: [
|
||||
{ label: "Home", href: "/" },
|
||||
{ label: "Routes", href: "/routes" },
|
||||
{ label: "Schedule", href: "/schedule" },
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Services",
|
||||
items: [
|
||||
title: "Services", items: [
|
||||
{ label: "Registration", href: "/registration" },
|
||||
{ label: "Complaints", href: "/complaint" },
|
||||
{ label: "Admin", href: "/admin" },
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Support",
|
||||
items: [
|
||||
title: "Support", items: [
|
||||
{ label: "Contact Us", href: "#" },
|
||||
{ label: "FAQ", href: "#" },
|
||||
{ label: "Help Center", href: "#" },
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Legal",
|
||||
items: [
|
||||
title: "Legal", items: [
|
||||
{ label: "Privacy Policy", href: "#" },
|
||||
{ label: "Terms of Service", href: "#" },
|
||||
{ label: "Cookie Policy", href: "#" },
|
||||
@@ -66,9 +62,7 @@ export default function LoginPage() {
|
||||
brandName="UniTransport"
|
||||
navItems={navItems}
|
||||
button={{
|
||||
text: "Login",
|
||||
href: "/login",
|
||||
}}
|
||||
text: "Login", href: "/login"}}
|
||||
animateOnLoad={true}
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -20,32 +20,28 @@ export default function HomePage() {
|
||||
|
||||
const footerColumns = [
|
||||
{
|
||||
title: "Navigation",
|
||||
items: [
|
||||
title: "Navigation", items: [
|
||||
{ label: "Home", href: "/" },
|
||||
{ label: "Routes", href: "/routes" },
|
||||
{ label: "Schedule", href: "/schedule" },
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Services",
|
||||
items: [
|
||||
title: "Services", items: [
|
||||
{ label: "Registration", href: "/registration" },
|
||||
{ label: "Complaints", href: "/complaint" },
|
||||
{ label: "Admin", href: "/admin" },
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Support",
|
||||
items: [
|
||||
title: "Support", items: [
|
||||
{ label: "Contact Us", href: "#" },
|
||||
{ label: "FAQ", href: "#" },
|
||||
{ label: "Help Center", href: "#" },
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Legal",
|
||||
items: [
|
||||
title: "Legal", items: [
|
||||
{ label: "Privacy Policy", href: "#" },
|
||||
{ label: "Terms of Service", href: "#" },
|
||||
{ label: "Cookie Policy", href: "#" },
|
||||
@@ -85,17 +81,11 @@ export default function HomePage() {
|
||||
]}
|
||||
slides={[
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/young-adults-travelling-winter-time_23-2149211139.jpg?_wi=1",
|
||||
imageAlt: "University campus transport bus service",
|
||||
},
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/young-adults-travelling-winter-time_23-2149211139.jpg", imageAlt: "University campus transport bus service"},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-vector/christmas-town-flat-design_23-2148333374.jpg?_wi=1",
|
||||
imageAlt: "Bus route navigation system",
|
||||
},
|
||||
imageSrc: "http://img.b2bpic.net/free-vector/christmas-town-flat-design_23-2148333374.jpg", imageAlt: "Bus route navigation system"},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/japanese-subway-train-system-display-screen-passenger-information_23-2148954839.jpg?_wi=1",
|
||||
imageAlt: "Transport schedule timetable",
|
||||
},
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/japanese-subway-train-system-display-screen-passenger-information_23-2148954839.jpg", imageAlt: "Transport schedule timetable"},
|
||||
]}
|
||||
autoplayDelay={4000}
|
||||
showDimOverlay={false}
|
||||
@@ -109,63 +99,39 @@ export default function HomePage() {
|
||||
tag="Services"
|
||||
features={[
|
||||
{
|
||||
title: "Browse Routes",
|
||||
description: "View all available bus routes with starting points, destinations, and major stops along the way.",
|
||||
icon: MapPin,
|
||||
title: "Browse Routes", description: "View all available bus routes with starting points, destinations, and major stops along the way.", icon: MapPin,
|
||||
mediaItems: [
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-vector/christmas-town-flat-design_23-2148333374.jpg?_wi=2",
|
||||
imageAlt: "Route browsing interface",
|
||||
},
|
||||
imageSrc: "http://img.b2bpic.net/free-vector/christmas-town-flat-design_23-2148333374.jpg", imageAlt: "Route browsing interface"},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/japanese-subway-train-system-display-screen-passenger-information_23-2148954839.jpg?_wi=2",
|
||||
imageAlt: "Route map display",
|
||||
},
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/japanese-subway-train-system-display-screen-passenger-information_23-2148954839.jpg", imageAlt: "Route map display"},
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Check Schedules",
|
||||
description: "Access real-time bus schedules with departure and arrival times for all routes.",
|
||||
icon: Clock,
|
||||
title: "Check Schedules", description: "Access real-time bus schedules with departure and arrival times for all routes.", icon: Clock,
|
||||
mediaItems: [
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/japanese-subway-train-system-display-screen-passenger-information_23-2148954839.jpg?_wi=3",
|
||||
imageAlt: "Schedule board",
|
||||
},
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/japanese-subway-train-system-display-screen-passenger-information_23-2148954839.jpg", imageAlt: "Schedule board"},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/young-adults-travelling-winter-time_23-2149211139.jpg?_wi=2",
|
||||
imageAlt: "Schedule interface",
|
||||
},
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/young-adults-travelling-winter-time_23-2149211139.jpg", imageAlt: "Schedule interface"},
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Register for Services",
|
||||
description: "Easily register for transport services by providing your details and preferred pickup points.",
|
||||
icon: ClipboardList,
|
||||
title: "Register for Services", description: "Easily register for transport services by providing your details and preferred pickup points.", icon: ClipboardList,
|
||||
mediaItems: [
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/register-now-document-filling-form-concept_53876-125596.jpg?_wi=1",
|
||||
imageAlt: "Registration form",
|
||||
},
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/register-now-document-filling-form-concept_53876-125596.jpg", imageAlt: "Registration form"},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/salesperson-auto-showroom-discussing-with-man-offering-color-swatch-samples-choice-agent_482257-133036.jpg?_wi=1",
|
||||
imageAlt: "Registration success",
|
||||
},
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/salesperson-auto-showroom-discussing-with-man-offering-color-swatch-samples-choice-agent_482257-133036.jpg", imageAlt: "Registration success"},
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Submit Complaints",
|
||||
description: "Report issues and provide feedback about transport services for continuous improvement.",
|
||||
icon: MessageSquare,
|
||||
title: "Submit Complaints", description: "Report issues and provide feedback about transport services for continuous improvement.", icon: MessageSquare,
|
||||
mediaItems: [
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/salesperson-auto-showroom-discussing-with-man-offering-color-swatch-samples-choice-agent_482257-133036.jpg?_wi=2",
|
||||
imageAlt: "Complaint submission",
|
||||
},
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/salesperson-auto-showroom-discussing-with-man-offering-color-swatch-samples-choice-agent_482257-133036.jpg", imageAlt: "Complaint submission"},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-vector/christmas-town-flat-design_23-2148333374.jpg?_wi=3",
|
||||
imageAlt: "Feedback form",
|
||||
},
|
||||
imageSrc: "http://img.b2bpic.net/free-vector/christmas-town-flat-design_23-2148333374.jpg", imageAlt: "Feedback form"},
|
||||
],
|
||||
},
|
||||
]}
|
||||
@@ -179,29 +145,13 @@ export default function HomePage() {
|
||||
<TestimonialCardTwelve
|
||||
testimonials={[
|
||||
{
|
||||
id: "1",
|
||||
name: "Sarah Johnson",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/students-smiling-camera-college-campus_23-2148222569.jpg",
|
||||
imageAlt: "Sarah Johnson",
|
||||
},
|
||||
id: "1", name: "Sarah Johnson", imageSrc: "http://img.b2bpic.net/free-photo/students-smiling-camera-college-campus_23-2148222569.jpg", imageAlt: "Sarah Johnson"},
|
||||
{
|
||||
id: "2",
|
||||
name: "Michael Chen",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/side-view-smiley-man-carrying-books_23-2149659095.jpg",
|
||||
imageAlt: "Michael Chen",
|
||||
},
|
||||
id: "2", name: "Michael Chen", imageSrc: "http://img.b2bpic.net/free-photo/side-view-smiley-man-carrying-books_23-2149659095.jpg", imageAlt: "Michael Chen"},
|
||||
{
|
||||
id: "3",
|
||||
name: "Emma Rodriguez",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/portrait-satisfied-africanamerican-female-student-smiling-pleased-showing-okay-sign-like-some_1258-137770.jpg",
|
||||
imageAlt: "Emma Rodriguez",
|
||||
},
|
||||
id: "3", name: "Emma Rodriguez", imageSrc: "http://img.b2bpic.net/free-photo/portrait-satisfied-africanamerican-female-student-smiling-pleased-showing-okay-sign-like-some_1258-137770.jpg", imageAlt: "Emma Rodriguez"},
|
||||
{
|
||||
id: "4",
|
||||
name: "James Wilson",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/listening-classmate_1098-14225.jpg",
|
||||
imageAlt: "James Wilson",
|
||||
},
|
||||
id: "4", name: "James Wilson", imageSrc: "http://img.b2bpic.net/free-photo/listening-classmate_1098-14225.jpg", imageAlt: "James Wilson"},
|
||||
]}
|
||||
cardTitle="Over 5,000 students trust UniTransport for their daily commute"
|
||||
cardTag="Student Reviews"
|
||||
|
||||
@@ -17,32 +17,28 @@ export default function RegistrationPage() {
|
||||
|
||||
const footerColumns = [
|
||||
{
|
||||
title: "Navigation",
|
||||
items: [
|
||||
title: "Navigation", items: [
|
||||
{ label: "Home", href: "/" },
|
||||
{ label: "Routes", href: "/routes" },
|
||||
{ label: "Schedule", href: "/schedule" },
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Services",
|
||||
items: [
|
||||
title: "Services", items: [
|
||||
{ label: "Registration", href: "/registration" },
|
||||
{ label: "Complaints", href: "/complaint" },
|
||||
{ label: "Admin", href: "/admin" },
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Support",
|
||||
items: [
|
||||
title: "Support", items: [
|
||||
{ label: "Contact Us", href: "#" },
|
||||
{ label: "FAQ", href: "#" },
|
||||
{ label: "Help Center", href: "#" },
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Legal",
|
||||
items: [
|
||||
title: "Legal", items: [
|
||||
{ label: "Privacy Policy", href: "#" },
|
||||
{ label: "Terms of Service", href: "#" },
|
||||
{ label: "Cookie Policy", href: "#" },
|
||||
|
||||
@@ -18,32 +18,28 @@ const RoutesPage = () => {
|
||||
|
||||
const footerColumns = [
|
||||
{
|
||||
title: "Navigation",
|
||||
items: [
|
||||
title: "Navigation", items: [
|
||||
{ label: "Home", href: "/" },
|
||||
{ label: "Routes", href: "/routes" },
|
||||
{ label: "Schedule", href: "/schedule" }
|
||||
]
|
||||
},
|
||||
{
|
||||
title: "Services",
|
||||
items: [
|
||||
title: "Services", items: [
|
||||
{ label: "Registration", href: "/registration" },
|
||||
{ label: "Complaints", href: "/complaint" },
|
||||
{ label: "Admin", href: "/admin" }
|
||||
]
|
||||
},
|
||||
{
|
||||
title: "Support",
|
||||
items: [
|
||||
title: "Support", items: [
|
||||
{ label: "Contact Us", href: "#" },
|
||||
{ label: "FAQ", href: "#" },
|
||||
{ label: "Help Center", href: "#" }
|
||||
]
|
||||
},
|
||||
{
|
||||
title: "Legal",
|
||||
items: [
|
||||
title: "Legal", items: [
|
||||
{ label: "Privacy Policy", href: "#" },
|
||||
{ label: "Terms of Service", href: "#" },
|
||||
{ label: "Cookie Policy", href: "#" }
|
||||
@@ -77,62 +73,46 @@ const RoutesPage = () => {
|
||||
<FeatureCardTwentyFive
|
||||
features={[
|
||||
{
|
||||
title: "Campus Central Route",
|
||||
description: "Main shuttle service connecting all major campus facilities including library, student center, and academic buildings.",
|
||||
icon: MapPin,
|
||||
title: "Campus Central Route", description: "Main shuttle service connecting all major campus facilities including library, student center, and academic buildings.", icon: MapPin,
|
||||
mediaItems: [
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-vector/christmas-town-flat-design_23-2148333374.jpg?_wi=4",
|
||||
imageAlt: "Campus central route map"
|
||||
imageSrc: "http://img.b2bpic.net/free-vector/christmas-town-flat-design_23-2148333374.jpg", imageAlt: "Campus central route map"
|
||||
},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/japanese-subway-train-system-display-screen-passenger-information_23-2148954839.jpg?_wi=4",
|
||||
imageAlt: "Route schedule display"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/japanese-subway-train-system-display-screen-passenger-information_23-2148954839.jpg", imageAlt: "Route schedule display"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
title: "Residence Hall Express",
|
||||
description: "Quick transit service from residential areas to academic zones with multiple stops at each dormitory.",
|
||||
icon: Navigation,
|
||||
title: "Residence Hall Express", description: "Quick transit service from residential areas to academic zones with multiple stops at each dormitory.", icon: Navigation,
|
||||
mediaItems: [
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/japanese-subway-train-system-display-screen-passenger-information_23-2148954839.jpg?_wi=5",
|
||||
imageAlt: "Residence hall route"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/japanese-subway-train-system-display-screen-passenger-information_23-2148954839.jpg", imageAlt: "Residence hall route"
|
||||
},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-vector/christmas-town-flat-design_23-2148333374.jpg?_wi=5",
|
||||
imageAlt: "Dormitory stops"
|
||||
imageSrc: "http://img.b2bpic.net/free-vector/christmas-town-flat-design_23-2148333374.jpg", imageAlt: "Dormitory stops"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
title: "Sports Complex Shuttle",
|
||||
description: "Dedicated route serving the athletic facilities and recreation center with frequent departures during event times.",
|
||||
icon: Clock,
|
||||
title: "Sports Complex Shuttle", description: "Dedicated route serving the athletic facilities and recreation center with frequent departures during event times.", icon: Clock,
|
||||
mediaItems: [
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/register-now-document-filling-form-concept_53876-125596.jpg?_wi=2",
|
||||
imageAlt: "Sports complex route"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/register-now-document-filling-form-concept_53876-125596.jpg", imageAlt: "Sports complex route"
|
||||
},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-vector/christmas-town-flat-design_23-2148333374.jpg?_wi=6",
|
||||
imageAlt: "Athletic facilities access"
|
||||
imageSrc: "http://img.b2bpic.net/free-vector/christmas-town-flat-design_23-2148333374.jpg", imageAlt: "Athletic facilities access"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
title: "Night Safety Route",
|
||||
description: "Evening and late-night service providing safe transportation across campus with well-lit stops and security monitoring.",
|
||||
icon: AlertCircle,
|
||||
title: "Night Safety Route", description: "Evening and late-night service providing safe transportation across campus with well-lit stops and security monitoring.", icon: AlertCircle,
|
||||
mediaItems: [
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/salesperson-auto-showroom-discussing-with-man-offering-color-swatch-samples-choice-agent_482257-133036.jpg?_wi=3",
|
||||
imageAlt: "Night safety shuttle"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/salesperson-auto-showroom-discussing-with-man-offering-color-swatch-samples-choice-agent_482257-133036.jpg", imageAlt: "Night safety shuttle"
|
||||
},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/register-now-document-filling-form-concept_53876-125596.jpg?_wi=3",
|
||||
imageAlt: "Safety monitoring system"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/register-now-document-filling-form-concept_53876-125596.jpg", imageAlt: "Safety monitoring system"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -18,32 +18,28 @@ const SchedulePage = () => {
|
||||
|
||||
const footerColumns = [
|
||||
{
|
||||
title: "Navigation",
|
||||
items: [
|
||||
title: "Navigation", items: [
|
||||
{ label: "Home", href: "/" },
|
||||
{ label: "Routes", href: "/routes" },
|
||||
{ label: "Schedule", href: "/schedule" }
|
||||
]
|
||||
},
|
||||
{
|
||||
title: "Services",
|
||||
items: [
|
||||
title: "Services", items: [
|
||||
{ label: "Registration", href: "/registration" },
|
||||
{ label: "Complaints", href: "/complaint" },
|
||||
{ label: "Admin", href: "/admin" }
|
||||
]
|
||||
},
|
||||
{
|
||||
title: "Support",
|
||||
items: [
|
||||
title: "Support", items: [
|
||||
{ label: "Contact Us", href: "#" },
|
||||
{ label: "FAQ", href: "#" },
|
||||
{ label: "Help Center", href: "#" }
|
||||
]
|
||||
},
|
||||
{
|
||||
title: "Legal",
|
||||
items: [
|
||||
title: "Legal", items: [
|
||||
{ label: "Privacy Policy", href: "#" },
|
||||
{ label: "Terms of Service", href: "#" },
|
||||
{ label: "Cookie Policy", href: "#" }
|
||||
@@ -77,62 +73,46 @@ const SchedulePage = () => {
|
||||
<FeatureCardTwentyFive
|
||||
features={[
|
||||
{
|
||||
title: "Weekday Service Hours",
|
||||
description: "Full operation from 6:30 AM to 11:00 PM with 10-15 minute intervals during peak hours and 20-30 minute intervals during off-peak times.",
|
||||
icon: Clock,
|
||||
title: "Weekday Service Hours", description: "Full operation from 6:30 AM to 11:00 PM with 10-15 minute intervals during peak hours and 20-30 minute intervals during off-peak times.", icon: Clock,
|
||||
mediaItems: [
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/japanese-subway-train-system-display-screen-passenger-information_23-2148954839.jpg?_wi=6",
|
||||
imageAlt: "Weekday schedule board"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/japanese-subway-train-system-display-screen-passenger-information_23-2148954839.jpg", imageAlt: "Weekday schedule board"
|
||||
},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-vector/christmas-town-flat-design_23-2148333374.jpg?_wi=7",
|
||||
imageAlt: "Weekday timing chart"
|
||||
imageSrc: "http://img.b2bpic.net/free-vector/christmas-town-flat-design_23-2148333374.jpg", imageAlt: "Weekday timing chart"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
title: "Weekend Schedule",
|
||||
description: "Modified weekend routes operate from 8:00 AM to 10:00 PM with 20-30 minute intervals throughout the day for convenient campus access.",
|
||||
icon: Calendar,
|
||||
title: "Weekend Schedule", description: "Modified weekend routes operate from 8:00 AM to 10:00 PM with 20-30 minute intervals throughout the day for convenient campus access.", icon: Calendar,
|
||||
mediaItems: [
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/register-now-document-filling-form-concept_53876-125596.jpg?_wi=4",
|
||||
imageAlt: "Weekend schedule"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/register-now-document-filling-form-concept_53876-125596.jpg", imageAlt: "Weekend schedule"
|
||||
},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/japanese-subway-train-system-display-screen-passenger-information_23-2148954839.jpg?_wi=7",
|
||||
imageAlt: "Weekend service times"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/japanese-subway-train-system-display-screen-passenger-information_23-2148954839.jpg", imageAlt: "Weekend service times"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
title: "Real-Time Tracking",
|
||||
description: "Live vehicle tracking system shows exact bus locations and estimated arrival times for all routes with GPS-enabled mobile updates.",
|
||||
icon: Zap,
|
||||
title: "Real-Time Tracking", description: "Live vehicle tracking system shows exact bus locations and estimated arrival times for all routes with GPS-enabled mobile updates.", icon: Zap,
|
||||
mediaItems: [
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-vector/christmas-town-flat-design_23-2148333374.jpg?_wi=8",
|
||||
imageAlt: "GPS tracking interface"
|
||||
imageSrc: "http://img.b2bpic.net/free-vector/christmas-town-flat-design_23-2148333374.jpg", imageAlt: "GPS tracking interface"
|
||||
},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/salesperson-auto-showroom-discussing-with-man-offering-color-swatch-samples-choice-agent_482257-133036.jpg?_wi=4",
|
||||
imageAlt: "Real-time location updates"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/salesperson-auto-showroom-discussing-with-man-offering-color-swatch-samples-choice-agent_482257-133036.jpg", imageAlt: "Real-time location updates"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
title: "Capacity Management",
|
||||
description: "Monitor current shuttle occupancy levels with real-time capacity indicators to help plan your trips during busy times.",
|
||||
icon: BarChart3,
|
||||
title: "Capacity Management", description: "Monitor current shuttle occupancy levels with real-time capacity indicators to help plan your trips during busy times.", icon: BarChart3,
|
||||
mediaItems: [
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/salesperson-auto-showroom-discussing-with-man-offering-color-swatch-samples-choice-agent_482257-133036.jpg?_wi=5",
|
||||
imageAlt: "Capacity metrics display"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/salesperson-auto-showroom-discussing-with-man-offering-color-swatch-samples-choice-agent_482257-133036.jpg", imageAlt: "Capacity metrics display"
|
||||
},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/register-now-document-filling-form-concept_53876-125596.jpg?_wi=5",
|
||||
imageAlt: "Occupancy management"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/register-now-document-filling-form-concept_53876-125596.jpg", imageAlt: "Occupancy management"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -1,51 +1,36 @@
|
||||
"use client";
|
||||
|
||||
import { memo } from "react";
|
||||
import useSvgTextLogo from "./useSvgTextLogo";
|
||||
import { cls } from "@/lib/utils";
|
||||
import React from 'react';
|
||||
|
||||
interface SvgTextLogoProps {
|
||||
logoText: string;
|
||||
adjustHeightFactor?: number;
|
||||
verticalAlign?: "top" | "center";
|
||||
text: string;
|
||||
className?: string;
|
||||
textClassName?: string;
|
||||
dominantBaseline?: 'auto' | 'text-bottom' | 'alphabetic' | 'ideographic' | 'middle' | 'central' | 'hanging' | 'mathematical';
|
||||
}
|
||||
|
||||
const SvgTextLogo = memo<SvgTextLogoProps>(function SvgTextLogo({
|
||||
logoText,
|
||||
adjustHeightFactor,
|
||||
verticalAlign = "top",
|
||||
className = "",
|
||||
}) {
|
||||
const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor);
|
||||
|
||||
const SvgTextLogo: React.FC<SvgTextLogoProps> = ({
|
||||
text,
|
||||
className = '',
|
||||
textClassName = '',
|
||||
dominantBaseline = 'middle',
|
||||
}) => {
|
||||
return (
|
||||
<svg
|
||||
ref={svgRef}
|
||||
viewBox={viewBox}
|
||||
className={cls("w-full", className)}
|
||||
style={{ aspectRatio: aspectRatio }}
|
||||
preserveAspectRatio="none"
|
||||
role="img"
|
||||
aria-label={`${logoText} logo`}
|
||||
viewBox="0 0 1000 200"
|
||||
className={`w-full h-auto ${className}`}
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
aria-label={text}
|
||||
>
|
||||
<text
|
||||
ref={textRef}
|
||||
x="0"
|
||||
y={verticalAlign === "center" ? "50%" : "0"}
|
||||
className="font-bold fill-current"
|
||||
style={{
|
||||
fontSize: "20px",
|
||||
letterSpacing: "-0.02em",
|
||||
dominantBaseline: verticalAlign === "center" ? "middle" : "text-before-edge"
|
||||
}}
|
||||
x="50%"
|
||||
y="50%"
|
||||
textAnchor="middle"
|
||||
dominantBaseline={dominantBaseline}
|
||||
className={`text-4xl font-bold fill-current ${textClassName}`}
|
||||
>
|
||||
{logoText}
|
||||
{text}
|
||||
</text>
|
||||
</svg>
|
||||
);
|
||||
});
|
||||
|
||||
SvgTextLogo.displayName = "SvgTextLogo";
|
||||
};
|
||||
|
||||
export default SvgTextLogo;
|
||||
|
||||
Reference in New Issue
Block a user