diff --git a/src/app/complaint/page.tsx b/src/app/complaint/page.tsx index 14c1b3e..dffeebf 100644 --- a/src/app/complaint/page.tsx +++ b/src/app/complaint/page.tsx @@ -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: "#" }, diff --git a/src/app/login/page.tsx b/src/app/login/page.tsx index 1a34797..3fcf3ac 100644 --- a/src/app/login/page.tsx +++ b/src/app/login/page.tsx @@ -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} /> diff --git a/src/app/page.tsx b/src/app/page.tsx index b4855e9..afdeaab 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -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() { { 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 = () => { { 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 = () => { (function SvgTextLogo({ - logoText, - adjustHeightFactor, - verticalAlign = "top", - className = "", -}) { - const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor); - +const SvgTextLogo: React.FC = ({ + text, + className = '', + textClassName = '', + dominantBaseline = 'middle', +}) => { return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo;