diff --git a/src/components/Nav/index.tsx b/src/components/Nav/index.tsx index ee2bed1..615bd6f 100644 --- a/src/components/Nav/index.tsx +++ b/src/components/Nav/index.tsx @@ -53,30 +53,31 @@ const Nav = () => { ))} - - {isLogin ? ( - { - setOpenMenu(false); - localStorage.removeItem("id"); - navigate("/"); - }} - > - {t("로그아웃")} - - ) : ( - { - setOpenMenu(false); - navigate("/login"); - }} - > - {t("로그인")} - - )} - + {/*TODO: 필요시 활성화*/} + {/**/} + {/* {isLogin ? (*/} + {/* {*/} + {/* setOpenMenu(false);*/} + {/* localStorage.removeItem("id");*/} + {/* navigate("/");*/} + {/* }}*/} + {/* >*/} + {/* {t("로그아웃")}*/} + {/* */} + {/* ) : (*/} + {/* {*/} + {/* setOpenMenu(false);*/} + {/* navigate("/login");*/} + {/* }}*/} + {/* >*/} + {/* {t("로그인")}*/} + {/* */} + {/* )}*/} + {/**/} {t("언어")} diff --git a/src/components/Nav/menus.ts b/src/components/Nav/menus.ts index 7cdba7a..e263de5 100644 --- a/src/components/Nav/menus.ts +++ b/src/components/Nav/menus.ts @@ -41,19 +41,19 @@ const Menus = { }, ], }, - ticket: { - name: "티켓", - sub: [ - { - name: "티켓 구매하기", - path: "buy", - }, - { - name: "구매 내역", - path: "payment-list", - }, - ], - }, + // ticket: { + // name: "티켓", + // sub: [ + // { + // name: "티켓 구매하기", + // path: "buy", + // }, + // { + // name: "구매 내역", + // path: "payment-list", + // }, + // ], + // }, contribution: { name: "기여하기", sub: [ diff --git a/src/routes.tsx b/src/routes.tsx index 03b727d..04faf41 100644 --- a/src/routes.tsx +++ b/src/routes.tsx @@ -22,9 +22,9 @@ const Router = () => { } /> } /> - } /> - } /> - } /> + {/*} />*/} + {/*} />*/} + {/*} />*/} } /> } /> } />