diff --git a/src/containers/common/Header/Header.tsx b/src/containers/common/Header/Header.tsx index c83bcb34..42d757e0 100644 --- a/src/containers/common/Header/Header.tsx +++ b/src/containers/common/Header/Header.tsx @@ -34,7 +34,7 @@ export function Header({ state = State.Onboarding, onLogout = () => {} }: Header />
{/* 임시로 메인 라우팅 /beta로 변경 */} - +
US:SUM diff --git a/src/containers/common/Header/const/pathData.tsx b/src/containers/common/Header/const/pathData.tsx index 103488a3..4c8d1532 100644 --- a/src/containers/common/Header/const/pathData.tsx +++ b/src/containers/common/Header/const/pathData.tsx @@ -20,7 +20,7 @@ export const menuItems = { 학생자치기구: [ // { name: '산하기구', path: '/affiliated_organization' }, // { name: '특별기구', path: '/special_organization' }, - { name: 'passu', path: '/register/passu' }, + { name: 'passu', path: '/register/redirect' }, { name: '감사기구', path: '/audit?category=all' }, ], 소통: [ diff --git a/src/pages/kakao/passu/containers/RegisterButtonSection.tsx b/src/pages/kakao/redirect/containers/RegisterButtonSection.tsx similarity index 100% rename from src/pages/kakao/passu/containers/RegisterButtonSection.tsx rename to src/pages/kakao/redirect/containers/RegisterButtonSection.tsx diff --git a/src/pages/kakao/passu/page.tsx b/src/pages/kakao/redirect/page.tsx similarity index 91% rename from src/pages/kakao/passu/page.tsx rename to src/pages/kakao/redirect/page.tsx index 5aa0809f..04c6c16f 100644 --- a/src/pages/kakao/passu/page.tsx +++ b/src/pages/kakao/redirect/page.tsx @@ -4,12 +4,11 @@ import { RegisterTextSection } from '@/pages/kakao/containers/RegisterTextSectio import { RegisterButtonSection } from './containers/RegisterButtonSection'; import { useParams } from 'react-router-dom'; -export function KakaoRegisterPassuPage() { +export function KakaoRegisterRedirectPage() { let { redirect_url } = useParams(); if (redirect_url === undefined) { - redirect_url = ''; - return <>; + redirect_url = 'https://ssuketch60.cafe24.com/'; } return ( diff --git a/src/pages/router.tsx b/src/pages/router.tsx index f0c113fd..c6af1509 100644 --- a/src/pages/router.tsx +++ b/src/pages/router.tsx @@ -28,13 +28,13 @@ import { LostDetailPage } from './lost-article/detail/page'; import { LostPatchPage } from './lost-article/patch/page'; import PersonalDataPage from './personal-data/page'; import { Layout } from './layout/headerLayout'; -import { KakaoRegisterPassuPage } from './kakao/passu/page'; +import { KakaoRegisterRedirectPage } from './kakao/redirect/page'; export function MainRouter() { return ( }> - } /> + } /> {/*소개*/} } /> } /> @@ -73,7 +73,7 @@ export function MainRouter() { {/*온보딩*/} } /> - } /> + } /> } /> } />