므하
This commit is contained in:
@@ -7,7 +7,7 @@ import MainLogoSvg from "./svgs/mainlogosvg";
|
||||
import ChevronDownSvg from "./svgs/chevrondownsvg";
|
||||
|
||||
const NAV_ITEMS = [
|
||||
{ label: "교육 과정 목록", href: "/menu" },
|
||||
{ label: "교육 과정 목록", href: "/course-list" },
|
||||
{ label: "학습 자료실", href: "/resources" },
|
||||
{ label: "공지사항", href: "/notices" },
|
||||
];
|
||||
@@ -52,14 +52,12 @@ export default function NavBar() {
|
||||
</Link>
|
||||
<nav className="flex h-full items-center">
|
||||
{NAV_ITEMS.map((item) => {
|
||||
const isActive = pathname === item.href;
|
||||
return (
|
||||
<Link
|
||||
key={item.href}
|
||||
href={item.href}
|
||||
className={[
|
||||
"px-4 py-2 text-[16px] font-semibold",
|
||||
isActive ? "text-white" : "text-white/80 hover:text-white",
|
||||
"px-4 py-2 text-[16px] font-semibold text-white",
|
||||
].join(" ")}
|
||||
>
|
||||
{item.label}
|
||||
@@ -69,7 +67,7 @@ export default function NavBar() {
|
||||
</nav>
|
||||
</div>
|
||||
<div className="relative flex items-center gap-2">
|
||||
<Link href="/my-courses" className="px-4 py-2 text-[16px] font-semibold text-white hover:text-white">
|
||||
<Link href="/menu/courses" className="px-4 py-2 text-[16px] font-semibold text-white">
|
||||
내 강좌실
|
||||
</Link>
|
||||
<button
|
||||
|
||||
Reference in New Issue
Block a user