Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 10 additions & 3 deletions frontend/src/components/Footer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,21 @@ function Footer({ userType }) {
];

return (
<div className="fixed bottom-6 left-1/2 -translate-x-1/2 z-50">
<Dock className="bg-white/10 dark:bg-black/10 backdrop-blur-xl border border-white/20 dark:border-white/10 shadow-2xl rounded-2xl">
<div
className="
fixed bottom-0 left-0 w-full
sm:bottom-6 sm:left-1/2 sm:w-auto sm:-translate-x-1/2
z-50
"
>
<Dock className="bg-white/10 dark:bg-black/10 backdrop-blur-xl border border-white/20 dark:border-white/10 shadow-2xl w-full justify-around rounded-none sm:rounded-2xl border-t sm:border px-4 pb-2">
Comment thread
seanrw93 marked this conversation as resolved.
{dockItems.map((item) => (
<DockIcon
key={item.title}
magnification={70}
distance={100}
className="bg-transparent hover:bg-white/20 dark:hover:bg-white/10 transition-colors rounded-xl"
baseItemSize={50}
className="bg-transparent hover:bg-white/20 dark:hover:bg-white/10 transition-colors rounded-xl sm:rounded-full"
>
<Link
to={item.href}
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/pages/Home.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ function Home({ userType, setUserType }) {
};

return (
<div className="min-h-[calc(100vh-80px)] w-full flex flex-col justify-center relative overflow-hidden">
<div className="min-h-[calc(100vh-80px)] pb-20 sm:pb-24 w-full flex flex-col justify-center relative overflow-hidden">
Copy link

Copilot AI Feb 9, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The dock-spacing values (pb-20 sm:pb-24) are duplicated across multiple pages, which risks drift if the dock height/spacing changes again. Consider centralizing this into a shared layout wrapper component or a Tailwind utility (e.g., a custom class like pb-dock) so the padding is defined in one place.

Copilot uses AI. Check for mistakes.
{/* Background Decor */}
<div className="absolute top-[-20%] right-[-10%] w-[600px] h-[600px] bg-primary/20 rounded-full blur-[120px] pointer-events-none" />
<div className="absolute bottom-[-10%] left-[-10%] w-[500px] h-[500px] bg-secondary/20 rounded-full blur-[100px] pointer-events-none" />
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/pages/Login.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ const Login = ({ setUserType }) => {
};

return (
<div className="min-h-[calc(100vh-80px)] w-full flex items-center justify-center p-4 relative overflow-hidden">
<div className="min-h-[calc(100vh-80px)] pb-20 sm:pb-24 w-full flex items-center justify-center p-4 relative overflow-hidden">
{/* Background Decor */}
<div className="absolute top-[-10%] left-[-10%] w-[500px] h-[500px] bg-primary/20 rounded-full blur-[120px] pointer-events-none" />
<div className="absolute bottom-[-10%] right-[-10%] w-[500px] h-[500px] bg-secondary/20 rounded-full blur-[120px] pointer-events-none" />
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/pages/Signup.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ const Signup = ({ setUserType }) => {
};

return (
<div className="min-h-[calc(100vh-80px)] w-full flex items-center justify-center p-4 relative overflow-hidden">
<div className="min-h-[calc(100vh-80px)] pb-20 sm:pb-24 w-full flex items-center justify-center p-4 relative overflow-hidden">
{/* Background Decor */}
<div className="absolute top-[-10%] right-[-10%] w-[500px] h-[500px] bg-primary/20 rounded-full blur-[120px] pointer-events-none" />
<div className="absolute bottom-[-10%] left-[-10%] w-[500px] h-[500px] bg-secondary/20 rounded-full blur-[120px] pointer-events-none" />
Expand Down
3 changes: 2 additions & 1 deletion frontend/src/pages/TrackShuttle.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ function TrackShuttle({ driverLocation }) {
});

return (
<div className="w-full flex flex-col h-[calc(100vh-100px)]">

<div className="w-full flex flex-col h-[calc(100vh-100px)] pb-20 sm:pb-24">
<motion.div
initial={{ opacity: 0, y: 20 }}
animate={{ opacity: 1, y: 0 }}
Expand Down
Loading