Changeset ba52069 for src/components/navbar.tsx
- Timestamp:
- 02/13/26 19:32:02 (7 months ago)
- Branches:
- master
- Children:
- d7deae5
- Parents:
- 50f2fb4
- File:
-
- 1 edited
-
src/components/navbar.tsx (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/components/navbar.tsx
r50f2fb4 rba52069 32 32 <> 33 33 {/* Desktop Navbar */} 34 <nav className="hidden md:flex flex-row gap-2 justify-evenly bg-primary text- whitep-7 rounded-xl my-5 text-xl">34 <nav className="hidden md:flex flex-row gap-2 justify-evenly bg-primary text-primary-foreground p-7 rounded-xl my-5 text-xl"> 35 35 {menuItems.map((item, index) => ( 36 36 <Link key={index} href={item.href}> 37 <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">37 <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"> 38 38 <FontAwesomeIcon icon={item.icon} className="transition-transform duration-300 group-hover:rotate-12" /> 39 39 <span>{item.label}</span> … … 44 44 45 45 {/* Mobile Navbar */} 46 <nav className="md:hidden bg-primary text- whiterounded-xl my-5">46 <nav className="md:hidden bg-primary text-primary-foreground rounded-xl my-5"> 47 47 <div className="flex justify-between items-center p-4"> 48 48 {/* IKnow Logo/Text */} … … 55 55 <button 56 56 onClick={toggleMenu} 57 className="p-2 rounded-lg hover:bg- white hover:bg-opacity-20transition-colors duration-300"57 className="p-2 rounded-lg hover:bg-card hover:text-card-foreground transition-colors duration-300" 58 58 > 59 59 <FontAwesomeIcon … … 71 71 {menuItems.map((item, index) => ( 72 72 <Link key={index} href={item.href}> 73 <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">73 <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"> 74 74 <FontAwesomeIcon icon={item.icon} className="transition-transform duration-300 group-hover:rotate-12" /> 75 75 <span className="text-lg">{item.label}</span>
Note:
See TracChangeset
for help on using the changeset viewer.
