-
-
);
diff --git a/src/index.tsx b/src/index.tsx
index dac7f10..1264558 100644
--- a/src/index.tsx
+++ b/src/index.tsx
@@ -3,7 +3,6 @@ import ReactDOM from "react-dom/client";
import "./index.css";
import App from "./App";
import reportWebVitals from "./reportWebVitals";
-import Navbar from "./components/Navbar";
const root = ReactDOM.createRoot(
document.getElementById("root") as HTMLElement
@@ -12,7 +11,6 @@ const root = ReactDOM.createRoot(
root.render(
// strictMode에서는 두번 렌더링 될 수 있으나, 프로덕션빌드 모드에서는 그렇지 않을것
-
);
diff --git a/src/styles/NavbarStyled.tsx b/src/styles/NavbarStyled.tsx
index e9fd2c7..e03ecd7 100644
--- a/src/styles/NavbarStyled.tsx
+++ b/src/styles/NavbarStyled.tsx
@@ -32,35 +32,35 @@ export const Container = styled.div`
justify-content: space-between;
align-items: center;
}
+`;
- .navBox > div {
- display: flex;
- justify-content: center;
- align-items: center;
- }
+export const NavLink = styled(Link)`
+ text-decoration: none;
- .navBox > div > div {
+ .nav {
display: flex;
justify-content: center;
align-items: center;
+ transition: all 0.3s ease-in-out;
+ }
+
+ .nav > div {
font-size: 1.4rem;
margin-right: 0.7rem;
}
- .navBox > div:hover {
+ .nav:hover {
cursor: pointer;
color: white;
+ transform: scale(1.05);
}
-`;
-export const StyledLink = styled(Link)`
- text-decoration: none;
&:focus,
- &:hover,
&:visited,
&:link,
&:active {
text-decoration: none;
+ color: #3b3b3b;
}
`;