diff --git a/src/components/navigationBar/NavigationBar.css b/src/components/navigationBar/NavigationBar.css index d4f2845ca..e43bbd72d 100644 --- a/src/components/navigationBar/NavigationBar.css +++ b/src/components/navigationBar/NavigationBar.css @@ -12,33 +12,37 @@ border-bottom: 1px solid #dfdfdf; } -.navbarLeft { +.navbar-left { display: flex; align-items: center; } -.navbarHomeLogo { +.navbar-home-logo { width: 153px; } -.navbarMenu { +.navbar-menu { margin: 0 15px; text-decoration: none; } -.navbarMenu ol { +.navbar-menu ol { list-style-type: none; padding-left: 0; } -.navbarMenuItem { +.navbar-menu-item { display: inline-block; margin: 10px; font-size: 18px; font-weight: bold; } -.navbarMenuItem.active { +.navbar-menu-item.active { + color: var(--blue); +} + +.nav-bar-menu-link.active { color: var(--blue); } diff --git a/src/components/navigationBar/NavigationBar.jsx b/src/components/navigationBar/NavigationBar.jsx index ccbd95479..9b616613d 100644 --- a/src/components/navigationBar/NavigationBar.jsx +++ b/src/components/navigationBar/NavigationBar.jsx @@ -1,29 +1,45 @@ -import { useEffect, useState } from 'react'; +import { NavLink } from 'react-router-dom'; import imgPandaMarketLogo from '../../assets/images/logo/panda-market-logo.png'; import './NavigationBar.css'; function NavigationBar() { return (
-
+
판다마켓 홈 -