Changeset ba52069 for src/components/professor-navbar.tsx
- Timestamp:
- 02/13/26 19:32:02 (7 months ago)
- Branches:
- master
- Children:
- d7deae5
- Parents:
- 50f2fb4
- File:
-
- 1 edited
-
src/components/professor-navbar.tsx (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/components/professor-navbar.tsx
r50f2fb4 rba52069 23 23 <> 24 24 {/* Desktop Navbar */} 25 <nav className="hidden md:flex flex-row gap-2 justify-evenly bg-primary text- whitep-7 rounded-xl my-5 text-xl">25 <nav className="hidden md:flex flex-row gap-2 justify-evenly bg-primary text-primary-foreground p-7 rounded-xl my-5 text-xl"> 26 26 {menuItems.map((item) => ( 27 27 <Link key={item.href} href={item.href}> 28 <div className="group flex flex-row items-center gap-2 px-3 py-2 rounded-lg cursor-pointer transition-all duration-300 hover:bg- white hover:bg-opacity-20 hover:scale-105 hover:shadow-lg hover:text-primary">28 <div className="group flex flex-row items-center gap-2 px-3 py-2 rounded-lg cursor-pointer transition-all duration-300 hover:bg-card hover:text-card-foreground hover:scale-105 hover:shadow-lg"> 29 29 <FontAwesomeIcon icon={item.icon} className="transition-transform duration-300 group-hover:rotate-12" /> 30 30 <span>{item.label}</span> … … 35 35 36 36 {/* Mobile Navbar */} 37 <nav className="md:hidden bg-primary text- whiterounded-xl my-5">37 <nav className="md:hidden bg-primary text-primary-foreground rounded-xl my-5"> 38 38 <div className="flex justify-between items-center p-4"> 39 39 <div className="flex items-center gap-2 text-xl font-bold"> … … 44 44 <button 45 45 onClick={toggleMenu} 46 className="p-2 rounded-lg hover:bg- white hover:bg-opacity-20transition-colors duration-300"46 className="p-2 rounded-lg hover:bg-card hover:text-card-foreground transition-colors duration-300" 47 47 aria-label="Toggle menu" 48 48 > … … 62 62 {menuItems.map((item) => ( 63 63 <Link key={item.href} href={item.href}> 64 <div className="group flex flex-row items-center gap-3 px-3 py-3 rounded-lg cursor-pointer transition-all duration-300 hover:bg- white hover:bg-opacity-20 hover:text-primary">64 <div className="group flex flex-row items-center gap-3 px-3 py-3 rounded-lg cursor-pointer transition-all duration-300 hover:bg-card hover:text-card-foreground"> 65 65 <FontAwesomeIcon 66 66 icon={item.icon}
Note:
See TracChangeset
for help on using the changeset viewer.
