-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathNavigation.js
More file actions
24 lines (23 loc) · 757 Bytes
/
Navigation.js
File metadata and controls
24 lines (23 loc) · 757 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
function Navigation() {
const navItems = [
{ name: "Schedule", icon: "/icons/calendar-solid.svg", hash: "#calendar" },
{ name: "Event Map", icon: "/icons/map-solid.svg", hash: "#map" },
{ name: "Profile", icon: "/icons/circle-user-solid.svg", hash: "#profile" },
];
return (
<div className="bot-nav-bar">
<nav className="flex justify-around py-3">
{navItems.map((item) => (
<a
key={item.name}
href={item.hash}
className="flex flex-col items-center text-sm text-[#1a3a5f] font-semibold hover:text-black"
>
<img src={item.icon} alt={item.name} className="w-5 h-5 mb-1" />
{item.name}
</a>
))}
</nav>
</div>
);
}