@@ -18,13 +37,9 @@ export function GNB() {
{GNB_MENU_NAME.map(menu => (
{menu.type === 'button' ? (
-
+
) : (
-
+
{menu.name}
)}
@@ -64,22 +79,22 @@ const menuCss = css`
margin: auto 0;
`;
-const linkCss = css`
+const activeLinkCss = css`
+ color: ${colors.yellow500};
+`;
+
+const inActiveLinkCss = css`
color: ${colors.white};
- font-size: 1.25rem;
- font-weight: 500;
- line-height: 150%; /* 30px */
- letter-spacing: -0.2px;
`;
-const linkButtonCss = css`
+const linkCss = css`
font-size: 1.25rem;
font-weight: 500;
line-height: 150%; /* 30px */
letter-spacing: -0.2px;
`;
-const yellow500css = css`
+const applyButtonCss = css`
background-color: ${colors.yellow500};
color: ${colors.black800};
`;
diff --git a/src/constant/gnb.ts b/src/constant/gnb.ts
index 0c3685f7..55ba3f21 100644
--- a/src/constant/gnb.ts
+++ b/src/constant/gnb.ts
@@ -1,10 +1,10 @@
-type GNB = {
+export type GNBMenu = {
name: 'About' | '모집안내' | '프로젝트' | '지원하기';
href: '/about' | '/recruit' | '/project' | '/';
type: 'text' | 'button';
};
// TODO: 지원하기 url 넣기
-export const GNB_MENU_NAME: GNB[] = [
+export const GNB_MENU_NAME: GNBMenu[] = [
{
name: 'About',
href: '/about',