Skip to content

Commit eec7b81

Browse files
committed
fix(admissions): fix timeline dots missalignment on mobile, added admissions page to navbar in mobile
1 parent 96a6b8d commit eec7b81

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

app/admissions/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ export default function AdmissionsPage() {
162162
className={`relative md:grid md:grid-cols-2 md:gap-8 ${index === timeline.length - 1 ? "" : "mb-12"}`}
163163
>
164164
{/* Mobile: left dot */}
165-
<div className="md:hidden absolute left-[5px] top-2 w-2.5 h-2.5 rounded-full bg-primary border-2 border-white shadow-sm z-10" />
165+
<div className="md:hidden absolute left-[3px] top-2 w-2.5 h-2.5 rounded-full bg-primary border-2 border-white shadow-sm z-10" />
166166

167167
{/* Desktop: center dot */}
168168
<div className="hidden md:block absolute left-1/2 top-2 w-3 h-3 rounded-full bg-primary border-4 border-white shadow-sm -translate-x-1/2 z-10" />

components/layout/Navbar.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ const navItems = [
1313
{ name: "Campus Life", href: "/campus-life" },
1414
{ name: "Community", href: "/community" },
1515
{ name: "FAQ", href: "/faq" },
16+
{ name: "Admissions", href: "/admissions" },
1617
];
1718

1819
export function Navbar() {

0 commit comments

Comments
 (0)