From e9d5b358681bf455646527dff3d5bd3d51d30250 Mon Sep 17 00:00:00 2001 From: yeahsel Date: Fri, 30 Jan 2026 00:20:12 +0900 Subject: [PATCH 1/3] =?UTF-8?q?rename:=20mypage=20=ED=8F=B4=EB=8D=94=20?= =?UTF-8?q?=EA=B5=AC=EC=A1=B0=20=EB=B3=80=EA=B2=BD=20=EB=B0=8F=20=ED=94=84?= =?UTF-8?q?=EB=A1=9C=ED=95=84=20=EC=B9=B4=EB=93=9C=20=EC=88=98=EC=A0=95?= =?UTF-8?q?=EC=A4=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/routeTree.gen.ts | 616 ++++++++++++------ .../components}/ConfirmModal.tsx | 2 +- .../profileCard.tsx/MatchingResult.tsx | 13 + .../profileCard.tsx/MyCampaigns.tsx | 13 + .../components/profileCard.tsx/MyTraits.tsx | 11 + .../profileCard.tsx/ProfileSummary.tsx | 13 + .../components/profileCard.tsx/SnsCard.tsx | 11 + .../_main/_mypage/edit/edit-content.tsx | 9 + .../edit.tsx => _mypage/edit/route.tsx} | 2 +- .../likes/likes-content.tsx} | 2 +- .../inquiry.tsx => _mypage/likes/route.tsx} | 4 +- .../_main/{ => _mypage}/mypage/MyPageHome.tsx | 129 ++-- .../_main/_mypage/mypage/mypage-content.tsx | 37 ++ src/routes/_main/_mypage/mypage/route.tsx | 14 + .../notifications/notifications-content.tsx | 9 + .../notifications/route.tsx} | 2 +- .../_main/_mypage/privacy/privacy-content.tsx | 9 + .../privacy.tsx => _mypage/privacy/route.tsx} | 2 +- .../profileCard/profileCard-content.tsx | 195 ++++++ .../_main/_mypage/profileCard/route.tsx | 10 + .../terms.tsx => _mypage/terms/route.tsx} | 2 +- .../_main/_mypage/terms/terms-content.tsx | 9 + src/routes/_main/mypage/mypage-content.tsx | 35 - src/routes/_main/mypage/profileCard.tsx | 9 - src/routes/_main/mypage/route.tsx | 6 - src/routes/_main/mypage/withdraw.tsx | 9 - 26 files changed, 856 insertions(+), 317 deletions(-) rename src/routes/_main/{mypage/_components => _mypage/components}/ConfirmModal.tsx (97%) create mode 100644 src/routes/_main/_mypage/components/profileCard.tsx/MatchingResult.tsx create mode 100644 src/routes/_main/_mypage/components/profileCard.tsx/MyCampaigns.tsx create mode 100644 src/routes/_main/_mypage/components/profileCard.tsx/MyTraits.tsx create mode 100644 src/routes/_main/_mypage/components/profileCard.tsx/ProfileSummary.tsx create mode 100644 src/routes/_main/_mypage/components/profileCard.tsx/SnsCard.tsx create mode 100644 src/routes/_main/_mypage/edit/edit-content.tsx rename src/routes/_main/{mypage/edit.tsx => _mypage/edit/route.tsx} (73%) rename src/routes/_main/{mypage/likes.tsx => _mypage/likes/likes-content.tsx} (70%) rename src/routes/_main/{mypage/inquiry.tsx => _mypage/likes/route.tsx} (51%) rename src/routes/_main/{ => _mypage}/mypage/MyPageHome.tsx (86%) create mode 100644 src/routes/_main/_mypage/mypage/mypage-content.tsx create mode 100644 src/routes/_main/_mypage/mypage/route.tsx create mode 100644 src/routes/_main/_mypage/notifications/notifications-content.tsx rename src/routes/_main/{mypage/notifications.tsx => _mypage/notifications/route.tsx} (71%) create mode 100644 src/routes/_main/_mypage/privacy/privacy-content.tsx rename src/routes/_main/{mypage/privacy.tsx => _mypage/privacy/route.tsx} (72%) create mode 100644 src/routes/_main/_mypage/profileCard/profileCard-content.tsx create mode 100644 src/routes/_main/_mypage/profileCard/route.tsx rename src/routes/_main/{mypage/terms.tsx => _mypage/terms/route.tsx} (72%) create mode 100644 src/routes/_main/_mypage/terms/terms-content.tsx delete mode 100644 src/routes/_main/mypage/mypage-content.tsx delete mode 100644 src/routes/_main/mypage/profileCard.tsx delete mode 100644 src/routes/_main/mypage/route.tsx delete mode 100644 src/routes/_main/mypage/withdraw.tsx diff --git a/src/routeTree.gen.ts b/src/routeTree.gen.ts index 92b548a..d9c2d08 100644 --- a/src/routeTree.gen.ts +++ b/src/routeTree.gen.ts @@ -13,17 +13,8 @@ import { Route as MainRouteImport } from './routes/_main' import { Route as RoomsRouteRouteImport } from './routes/rooms/route' import { Route as RoomsChatIdRouteImport } from './routes/rooms/$chatId' import { Route as AuthLoginRouteRouteImport } from './routes/auth/login/route' -import { Route as MainMypageRouteRouteImport } from './routes/_main/mypage/route' import { Route as MainChatRouteRouteImport } from './routes/_main/chat/route' import { Route as MainHomeIndexRouteImport } from './routes/_main/_home/index' -import { Route as MainMypageWithdrawRouteImport } from './routes/_main/mypage/withdraw' -import { Route as MainMypageTermsRouteImport } from './routes/_main/mypage/terms' -import { Route as MainMypageProfileCardRouteImport } from './routes/_main/mypage/profileCard' -import { Route as MainMypagePrivacyRouteImport } from './routes/_main/mypage/privacy' -import { Route as MainMypageNotificationsRouteImport } from './routes/_main/mypage/notifications' -import { Route as MainMypageLikesRouteImport } from './routes/_main/mypage/likes' -import { Route as MainMypageInquiryRouteImport } from './routes/_main/mypage/inquiry' -import { Route as MainMypageEditRouteImport } from './routes/_main/mypage/edit' import { Route as MainHomePreRouteImport } from './routes/_main/_home/pre' import { Route as AuthSignupTypeRouteRouteImport } from './routes/auth/signup/type/route' import { Route as AuthSignupTermsRouteRouteImport } from './routes/auth/signup/terms/route' @@ -32,13 +23,30 @@ import { Route as AuthSignupPurposeRouteRouteImport } from './routes/auth/signup import { Route as AuthSignupInfoMoreRouteRouteImport } from './routes/auth/signup/info-more/route' import { Route as AuthSignupInfoRouteRouteImport } from './routes/auth/signup/info/route' import { Route as MainMatchingTestMatchingResultRouteRouteImport } from './routes/_main/matching-test/matching-result/route' +import { Route as MainMypageTermsRouteRouteImport } from './routes/_main/_mypage/terms/route' +import { Route as MainMypageProfileCardRouteRouteImport } from './routes/_main/_mypage/profileCard/route' +import { Route as MainMypagePrivacyRouteRouteImport } from './routes/_main/_mypage/privacy/route' +import { Route as MainMypageNotificationsRouteRouteImport } from './routes/_main/_mypage/notifications/route' +import { Route as MainMypageMypageRouteRouteImport } from './routes/_main/_mypage/mypage/route' +import { Route as MainMypageLikesRouteRouteImport } from './routes/_main/_mypage/likes/route' +import { Route as MainMypageEditRouteRouteImport } from './routes/_main/_mypage/edit/route' import { Route as MainBusinessRejectionRouteRouteImport } from './routes/_main/_business/rejection/route' import { Route as MainBusinessProposalRouteRouteImport } from './routes/_main/_business/proposal/route' import { Route as MainBusinessCampaignRouteRouteImport } from './routes/_main/_business/campaign/route' import { Route as MainBusinessCalendarRouteRouteImport } from './routes/_main/_business/calendar/route' +import { Route as MainMypageTermsTermsContentRouteImport } from './routes/_main/_mypage/terms/terms-content' +import { Route as MainMypagePrivacyPrivacyContentRouteImport } from './routes/_main/_mypage/privacy/privacy-content' +import { Route as MainMypageNotificationsNotificationsContentRouteImport } from './routes/_main/_mypage/notifications/notifications-content' +import { Route as MainMypageLikesLikesContentRouteImport } from './routes/_main/_mypage/likes/likes-content' +import { Route as MainMypageEditEditContentRouteImport } from './routes/_main/_mypage/edit/edit-content' import { Route as MainMatchingTestMatchingTestStep3RouteRouteImport } from './routes/_main/matching-test/matching-test/step3/route' import { Route as MainMatchingTestMatchingTestStep2RouteRouteImport } from './routes/_main/matching-test/matching-test/step2/route' import { Route as MainMatchingTestMatchingTestStep1RouteRouteImport } from './routes/_main/matching-test/matching-test/step1/route' +import { Route as MainMypageComponentsProfileCardTsxSnsCardRouteImport } from './routes/_main/_mypage/components/profileCard.tsx/SnsCard' +import { Route as MainMypageComponentsProfileCardTsxProfileSummaryRouteImport } from './routes/_main/_mypage/components/profileCard.tsx/ProfileSummary' +import { Route as MainMypageComponentsProfileCardTsxMyTraitsRouteImport } from './routes/_main/_mypage/components/profileCard.tsx/MyTraits' +import { Route as MainMypageComponentsProfileCardTsxMyCampaignsRouteImport } from './routes/_main/_mypage/components/profileCard.tsx/MyCampaigns' +import { Route as MainMypageComponentsProfileCardTsxMatchingResultRouteImport } from './routes/_main/_mypage/components/profileCard.tsx/MatchingResult' const MainRoute = MainRouteImport.update({ id: '/_main', @@ -59,11 +67,6 @@ const AuthLoginRouteRoute = AuthLoginRouteRouteImport.update({ path: '/auth/login', getParentRoute: () => rootRouteImport, } as any) -const MainMypageRouteRoute = MainMypageRouteRouteImport.update({ - id: '/mypage', - path: '/mypage', - getParentRoute: () => MainRoute, -} as any) const MainChatRouteRoute = MainChatRouteRouteImport.update({ id: '/chat', path: '/chat', @@ -74,46 +77,6 @@ const MainHomeIndexRoute = MainHomeIndexRouteImport.update({ path: '/', getParentRoute: () => MainRoute, } as any) -const MainMypageWithdrawRoute = MainMypageWithdrawRouteImport.update({ - id: '/withdraw', - path: '/withdraw', - getParentRoute: () => MainMypageRouteRoute, -} as any) -const MainMypageTermsRoute = MainMypageTermsRouteImport.update({ - id: '/terms', - path: '/terms', - getParentRoute: () => MainMypageRouteRoute, -} as any) -const MainMypageProfileCardRoute = MainMypageProfileCardRouteImport.update({ - id: '/profileCard', - path: '/profileCard', - getParentRoute: () => MainMypageRouteRoute, -} as any) -const MainMypagePrivacyRoute = MainMypagePrivacyRouteImport.update({ - id: '/privacy', - path: '/privacy', - getParentRoute: () => MainMypageRouteRoute, -} as any) -const MainMypageNotificationsRoute = MainMypageNotificationsRouteImport.update({ - id: '/notifications', - path: '/notifications', - getParentRoute: () => MainMypageRouteRoute, -} as any) -const MainMypageLikesRoute = MainMypageLikesRouteImport.update({ - id: '/likes', - path: '/likes', - getParentRoute: () => MainMypageRouteRoute, -} as any) -const MainMypageInquiryRoute = MainMypageInquiryRouteImport.update({ - id: '/inquiry', - path: '/inquiry', - getParentRoute: () => MainMypageRouteRoute, -} as any) -const MainMypageEditRoute = MainMypageEditRouteImport.update({ - id: '/edit', - path: '/edit', - getParentRoute: () => MainMypageRouteRoute, -} as any) const MainHomePreRoute = MainHomePreRouteImport.update({ id: '/_home/pre', path: '/pre', @@ -155,6 +118,43 @@ const MainMatchingTestMatchingResultRouteRoute = path: '/matching-test/matching-result', getParentRoute: () => MainRoute, } as any) +const MainMypageTermsRouteRoute = MainMypageTermsRouteRouteImport.update({ + id: '/_mypage/terms', + path: '/terms', + getParentRoute: () => MainRoute, +} as any) +const MainMypageProfileCardRouteRoute = + MainMypageProfileCardRouteRouteImport.update({ + id: '/_mypage/profileCard', + path: '/profileCard', + getParentRoute: () => MainRoute, + } as any) +const MainMypagePrivacyRouteRoute = MainMypagePrivacyRouteRouteImport.update({ + id: '/_mypage/privacy', + path: '/privacy', + getParentRoute: () => MainRoute, +} as any) +const MainMypageNotificationsRouteRoute = + MainMypageNotificationsRouteRouteImport.update({ + id: '/_mypage/notifications', + path: '/notifications', + getParentRoute: () => MainRoute, + } as any) +const MainMypageMypageRouteRoute = MainMypageMypageRouteRouteImport.update({ + id: '/_mypage/mypage', + path: '/mypage', + getParentRoute: () => MainRoute, +} as any) +const MainMypageLikesRouteRoute = MainMypageLikesRouteRouteImport.update({ + id: '/_mypage/likes', + path: '/likes', + getParentRoute: () => MainRoute, +} as any) +const MainMypageEditRouteRoute = MainMypageEditRouteRouteImport.update({ + id: '/_mypage/edit', + path: '/edit', + getParentRoute: () => MainRoute, +} as any) const MainBusinessRejectionRouteRoute = MainBusinessRejectionRouteRouteImport.update({ id: '/_business/rejection', @@ -179,6 +179,36 @@ const MainBusinessCalendarRouteRoute = path: '/calendar', getParentRoute: () => MainRoute, } as any) +const MainMypageTermsTermsContentRoute = + MainMypageTermsTermsContentRouteImport.update({ + id: '/terms-content', + path: '/terms-content', + getParentRoute: () => MainMypageTermsRouteRoute, + } as any) +const MainMypagePrivacyPrivacyContentRoute = + MainMypagePrivacyPrivacyContentRouteImport.update({ + id: '/privacy-content', + path: '/privacy-content', + getParentRoute: () => MainMypagePrivacyRouteRoute, + } as any) +const MainMypageNotificationsNotificationsContentRoute = + MainMypageNotificationsNotificationsContentRouteImport.update({ + id: '/notifications-content', + path: '/notifications-content', + getParentRoute: () => MainMypageNotificationsRouteRoute, + } as any) +const MainMypageLikesLikesContentRoute = + MainMypageLikesLikesContentRouteImport.update({ + id: '/likes-content', + path: '/likes-content', + getParentRoute: () => MainMypageLikesRouteRoute, + } as any) +const MainMypageEditEditContentRoute = + MainMypageEditEditContentRouteImport.update({ + id: '/edit-content', + path: '/edit-content', + getParentRoute: () => MainMypageEditRouteRoute, + } as any) const MainMatchingTestMatchingTestStep3RouteRoute = MainMatchingTestMatchingTestStep3RouteRouteImport.update({ id: '/matching-test/matching-test/step3', @@ -197,17 +227,53 @@ const MainMatchingTestMatchingTestStep1RouteRoute = path: '/matching-test/matching-test/step1', getParentRoute: () => MainRoute, } as any) +const MainMypageComponentsProfileCardTsxSnsCardRoute = + MainMypageComponentsProfileCardTsxSnsCardRouteImport.update({ + id: '/_mypage/components/profileCard/tsx/SnsCard', + path: '/components/profileCard/tsx/SnsCard', + getParentRoute: () => MainRoute, + } as any) +const MainMypageComponentsProfileCardTsxProfileSummaryRoute = + MainMypageComponentsProfileCardTsxProfileSummaryRouteImport.update({ + id: '/_mypage/components/profileCard/tsx/ProfileSummary', + path: '/components/profileCard/tsx/ProfileSummary', + getParentRoute: () => MainRoute, + } as any) +const MainMypageComponentsProfileCardTsxMyTraitsRoute = + MainMypageComponentsProfileCardTsxMyTraitsRouteImport.update({ + id: '/_mypage/components/profileCard/tsx/MyTraits', + path: '/components/profileCard/tsx/MyTraits', + getParentRoute: () => MainRoute, + } as any) +const MainMypageComponentsProfileCardTsxMyCampaignsRoute = + MainMypageComponentsProfileCardTsxMyCampaignsRouteImport.update({ + id: '/_mypage/components/profileCard/tsx/MyCampaigns', + path: '/components/profileCard/tsx/MyCampaigns', + getParentRoute: () => MainRoute, + } as any) +const MainMypageComponentsProfileCardTsxMatchingResultRoute = + MainMypageComponentsProfileCardTsxMatchingResultRouteImport.update({ + id: '/_mypage/components/profileCard/tsx/MatchingResult', + path: '/components/profileCard/tsx/MatchingResult', + getParentRoute: () => MainRoute, + } as any) export interface FileRoutesByFullPath { '/rooms': typeof RoomsRouteRouteWithChildren '/chat': typeof MainChatRouteRoute - '/mypage': typeof MainMypageRouteRouteWithChildren '/auth/login': typeof AuthLoginRouteRoute '/rooms/$chatId': typeof RoomsChatIdRoute '/calendar': typeof MainBusinessCalendarRouteRoute '/campaign': typeof MainBusinessCampaignRouteRoute '/proposal': typeof MainBusinessProposalRouteRoute '/rejection': typeof MainBusinessRejectionRouteRoute + '/edit': typeof MainMypageEditRouteRouteWithChildren + '/likes': typeof MainMypageLikesRouteRouteWithChildren + '/mypage': typeof MainMypageMypageRouteRoute + '/notifications': typeof MainMypageNotificationsRouteRouteWithChildren + '/privacy': typeof MainMypagePrivacyRouteRouteWithChildren + '/profileCard': typeof MainMypageProfileCardRouteRoute + '/terms': typeof MainMypageTermsRouteRouteWithChildren '/matching-test/matching-result': typeof MainMatchingTestMatchingResultRouteRoute '/auth/signup/info': typeof AuthSignupInfoRouteRoute '/auth/signup/info-more': typeof AuthSignupInfoMoreRouteRoute @@ -216,29 +282,37 @@ export interface FileRoutesByFullPath { '/auth/signup/terms': typeof AuthSignupTermsRouteRoute '/auth/signup/type': typeof AuthSignupTypeRouteRoute '/pre': typeof MainHomePreRoute - '/mypage/edit': typeof MainMypageEditRoute - '/mypage/inquiry': typeof MainMypageInquiryRoute - '/mypage/likes': typeof MainMypageLikesRoute - '/mypage/notifications': typeof MainMypageNotificationsRoute - '/mypage/privacy': typeof MainMypagePrivacyRoute - '/mypage/profileCard': typeof MainMypageProfileCardRoute - '/mypage/terms': typeof MainMypageTermsRoute - '/mypage/withdraw': typeof MainMypageWithdrawRoute '/': typeof MainHomeIndexRoute '/matching-test/matching-test/step1': typeof MainMatchingTestMatchingTestStep1RouteRoute '/matching-test/matching-test/step2': typeof MainMatchingTestMatchingTestStep2RouteRoute '/matching-test/matching-test/step3': typeof MainMatchingTestMatchingTestStep3RouteRoute + '/edit/edit-content': typeof MainMypageEditEditContentRoute + '/likes/likes-content': typeof MainMypageLikesLikesContentRoute + '/notifications/notifications-content': typeof MainMypageNotificationsNotificationsContentRoute + '/privacy/privacy-content': typeof MainMypagePrivacyPrivacyContentRoute + '/terms/terms-content': typeof MainMypageTermsTermsContentRoute + '/components/profileCard/tsx/MatchingResult': typeof MainMypageComponentsProfileCardTsxMatchingResultRoute + '/components/profileCard/tsx/MyCampaigns': typeof MainMypageComponentsProfileCardTsxMyCampaignsRoute + '/components/profileCard/tsx/MyTraits': typeof MainMypageComponentsProfileCardTsxMyTraitsRoute + '/components/profileCard/tsx/ProfileSummary': typeof MainMypageComponentsProfileCardTsxProfileSummaryRoute + '/components/profileCard/tsx/SnsCard': typeof MainMypageComponentsProfileCardTsxSnsCardRoute } export interface FileRoutesByTo { '/rooms': typeof RoomsRouteRouteWithChildren '/chat': typeof MainChatRouteRoute - '/mypage': typeof MainMypageRouteRouteWithChildren '/auth/login': typeof AuthLoginRouteRoute '/rooms/$chatId': typeof RoomsChatIdRoute '/calendar': typeof MainBusinessCalendarRouteRoute '/campaign': typeof MainBusinessCampaignRouteRoute '/proposal': typeof MainBusinessProposalRouteRoute '/rejection': typeof MainBusinessRejectionRouteRoute + '/edit': typeof MainMypageEditRouteRouteWithChildren + '/likes': typeof MainMypageLikesRouteRouteWithChildren + '/mypage': typeof MainMypageMypageRouteRoute + '/notifications': typeof MainMypageNotificationsRouteRouteWithChildren + '/privacy': typeof MainMypagePrivacyRouteRouteWithChildren + '/profileCard': typeof MainMypageProfileCardRouteRoute + '/terms': typeof MainMypageTermsRouteRouteWithChildren '/matching-test/matching-result': typeof MainMatchingTestMatchingResultRouteRoute '/auth/signup/info': typeof AuthSignupInfoRouteRoute '/auth/signup/info-more': typeof AuthSignupInfoMoreRouteRoute @@ -247,31 +321,39 @@ export interface FileRoutesByTo { '/auth/signup/terms': typeof AuthSignupTermsRouteRoute '/auth/signup/type': typeof AuthSignupTypeRouteRoute '/pre': typeof MainHomePreRoute - '/mypage/edit': typeof MainMypageEditRoute - '/mypage/inquiry': typeof MainMypageInquiryRoute - '/mypage/likes': typeof MainMypageLikesRoute - '/mypage/notifications': typeof MainMypageNotificationsRoute - '/mypage/privacy': typeof MainMypagePrivacyRoute - '/mypage/profileCard': typeof MainMypageProfileCardRoute - '/mypage/terms': typeof MainMypageTermsRoute - '/mypage/withdraw': typeof MainMypageWithdrawRoute '/': typeof MainHomeIndexRoute '/matching-test/matching-test/step1': typeof MainMatchingTestMatchingTestStep1RouteRoute '/matching-test/matching-test/step2': typeof MainMatchingTestMatchingTestStep2RouteRoute '/matching-test/matching-test/step3': typeof MainMatchingTestMatchingTestStep3RouteRoute + '/edit/edit-content': typeof MainMypageEditEditContentRoute + '/likes/likes-content': typeof MainMypageLikesLikesContentRoute + '/notifications/notifications-content': typeof MainMypageNotificationsNotificationsContentRoute + '/privacy/privacy-content': typeof MainMypagePrivacyPrivacyContentRoute + '/terms/terms-content': typeof MainMypageTermsTermsContentRoute + '/components/profileCard/tsx/MatchingResult': typeof MainMypageComponentsProfileCardTsxMatchingResultRoute + '/components/profileCard/tsx/MyCampaigns': typeof MainMypageComponentsProfileCardTsxMyCampaignsRoute + '/components/profileCard/tsx/MyTraits': typeof MainMypageComponentsProfileCardTsxMyTraitsRoute + '/components/profileCard/tsx/ProfileSummary': typeof MainMypageComponentsProfileCardTsxProfileSummaryRoute + '/components/profileCard/tsx/SnsCard': typeof MainMypageComponentsProfileCardTsxSnsCardRoute } export interface FileRoutesById { __root__: typeof rootRouteImport '/rooms': typeof RoomsRouteRouteWithChildren '/_main': typeof MainRouteWithChildren '/_main/chat': typeof MainChatRouteRoute - '/_main/mypage': typeof MainMypageRouteRouteWithChildren '/auth/login': typeof AuthLoginRouteRoute '/rooms/$chatId': typeof RoomsChatIdRoute '/_main/_business/calendar': typeof MainBusinessCalendarRouteRoute '/_main/_business/campaign': typeof MainBusinessCampaignRouteRoute '/_main/_business/proposal': typeof MainBusinessProposalRouteRoute '/_main/_business/rejection': typeof MainBusinessRejectionRouteRoute + '/_main/_mypage/edit': typeof MainMypageEditRouteRouteWithChildren + '/_main/_mypage/likes': typeof MainMypageLikesRouteRouteWithChildren + '/_main/_mypage/mypage': typeof MainMypageMypageRouteRoute + '/_main/_mypage/notifications': typeof MainMypageNotificationsRouteRouteWithChildren + '/_main/_mypage/privacy': typeof MainMypagePrivacyRouteRouteWithChildren + '/_main/_mypage/profileCard': typeof MainMypageProfileCardRouteRoute + '/_main/_mypage/terms': typeof MainMypageTermsRouteRouteWithChildren '/_main/matching-test/matching-result': typeof MainMatchingTestMatchingResultRouteRoute '/auth/signup/info': typeof AuthSignupInfoRouteRoute '/auth/signup/info-more': typeof AuthSignupInfoMoreRouteRoute @@ -280,31 +362,39 @@ export interface FileRoutesById { '/auth/signup/terms': typeof AuthSignupTermsRouteRoute '/auth/signup/type': typeof AuthSignupTypeRouteRoute '/_main/_home/pre': typeof MainHomePreRoute - '/_main/mypage/edit': typeof MainMypageEditRoute - '/_main/mypage/inquiry': typeof MainMypageInquiryRoute - '/_main/mypage/likes': typeof MainMypageLikesRoute - '/_main/mypage/notifications': typeof MainMypageNotificationsRoute - '/_main/mypage/privacy': typeof MainMypagePrivacyRoute - '/_main/mypage/profileCard': typeof MainMypageProfileCardRoute - '/_main/mypage/terms': typeof MainMypageTermsRoute - '/_main/mypage/withdraw': typeof MainMypageWithdrawRoute '/_main/_home/': typeof MainHomeIndexRoute '/_main/matching-test/matching-test/step1': typeof MainMatchingTestMatchingTestStep1RouteRoute '/_main/matching-test/matching-test/step2': typeof MainMatchingTestMatchingTestStep2RouteRoute '/_main/matching-test/matching-test/step3': typeof MainMatchingTestMatchingTestStep3RouteRoute + '/_main/_mypage/edit/edit-content': typeof MainMypageEditEditContentRoute + '/_main/_mypage/likes/likes-content': typeof MainMypageLikesLikesContentRoute + '/_main/_mypage/notifications/notifications-content': typeof MainMypageNotificationsNotificationsContentRoute + '/_main/_mypage/privacy/privacy-content': typeof MainMypagePrivacyPrivacyContentRoute + '/_main/_mypage/terms/terms-content': typeof MainMypageTermsTermsContentRoute + '/_main/_mypage/components/profileCard/tsx/MatchingResult': typeof MainMypageComponentsProfileCardTsxMatchingResultRoute + '/_main/_mypage/components/profileCard/tsx/MyCampaigns': typeof MainMypageComponentsProfileCardTsxMyCampaignsRoute + '/_main/_mypage/components/profileCard/tsx/MyTraits': typeof MainMypageComponentsProfileCardTsxMyTraitsRoute + '/_main/_mypage/components/profileCard/tsx/ProfileSummary': typeof MainMypageComponentsProfileCardTsxProfileSummaryRoute + '/_main/_mypage/components/profileCard/tsx/SnsCard': typeof MainMypageComponentsProfileCardTsxSnsCardRoute } export interface FileRouteTypes { fileRoutesByFullPath: FileRoutesByFullPath fullPaths: | '/rooms' | '/chat' - | '/mypage' | '/auth/login' | '/rooms/$chatId' | '/calendar' | '/campaign' | '/proposal' | '/rejection' + | '/edit' + | '/likes' + | '/mypage' + | '/notifications' + | '/privacy' + | '/profileCard' + | '/terms' | '/matching-test/matching-result' | '/auth/signup/info' | '/auth/signup/info-more' @@ -313,29 +403,37 @@ export interface FileRouteTypes { | '/auth/signup/terms' | '/auth/signup/type' | '/pre' - | '/mypage/edit' - | '/mypage/inquiry' - | '/mypage/likes' - | '/mypage/notifications' - | '/mypage/privacy' - | '/mypage/profileCard' - | '/mypage/terms' - | '/mypage/withdraw' | '/' | '/matching-test/matching-test/step1' | '/matching-test/matching-test/step2' | '/matching-test/matching-test/step3' + | '/edit/edit-content' + | '/likes/likes-content' + | '/notifications/notifications-content' + | '/privacy/privacy-content' + | '/terms/terms-content' + | '/components/profileCard/tsx/MatchingResult' + | '/components/profileCard/tsx/MyCampaigns' + | '/components/profileCard/tsx/MyTraits' + | '/components/profileCard/tsx/ProfileSummary' + | '/components/profileCard/tsx/SnsCard' fileRoutesByTo: FileRoutesByTo to: | '/rooms' | '/chat' - | '/mypage' | '/auth/login' | '/rooms/$chatId' | '/calendar' | '/campaign' | '/proposal' | '/rejection' + | '/edit' + | '/likes' + | '/mypage' + | '/notifications' + | '/privacy' + | '/profileCard' + | '/terms' | '/matching-test/matching-result' | '/auth/signup/info' | '/auth/signup/info-more' @@ -344,30 +442,38 @@ export interface FileRouteTypes { | '/auth/signup/terms' | '/auth/signup/type' | '/pre' - | '/mypage/edit' - | '/mypage/inquiry' - | '/mypage/likes' - | '/mypage/notifications' - | '/mypage/privacy' - | '/mypage/profileCard' - | '/mypage/terms' - | '/mypage/withdraw' | '/' | '/matching-test/matching-test/step1' | '/matching-test/matching-test/step2' | '/matching-test/matching-test/step3' + | '/edit/edit-content' + | '/likes/likes-content' + | '/notifications/notifications-content' + | '/privacy/privacy-content' + | '/terms/terms-content' + | '/components/profileCard/tsx/MatchingResult' + | '/components/profileCard/tsx/MyCampaigns' + | '/components/profileCard/tsx/MyTraits' + | '/components/profileCard/tsx/ProfileSummary' + | '/components/profileCard/tsx/SnsCard' id: | '__root__' | '/rooms' | '/_main' | '/_main/chat' - | '/_main/mypage' | '/auth/login' | '/rooms/$chatId' | '/_main/_business/calendar' | '/_main/_business/campaign' | '/_main/_business/proposal' | '/_main/_business/rejection' + | '/_main/_mypage/edit' + | '/_main/_mypage/likes' + | '/_main/_mypage/mypage' + | '/_main/_mypage/notifications' + | '/_main/_mypage/privacy' + | '/_main/_mypage/profileCard' + | '/_main/_mypage/terms' | '/_main/matching-test/matching-result' | '/auth/signup/info' | '/auth/signup/info-more' @@ -376,18 +482,20 @@ export interface FileRouteTypes { | '/auth/signup/terms' | '/auth/signup/type' | '/_main/_home/pre' - | '/_main/mypage/edit' - | '/_main/mypage/inquiry' - | '/_main/mypage/likes' - | '/_main/mypage/notifications' - | '/_main/mypage/privacy' - | '/_main/mypage/profileCard' - | '/_main/mypage/terms' - | '/_main/mypage/withdraw' | '/_main/_home/' | '/_main/matching-test/matching-test/step1' | '/_main/matching-test/matching-test/step2' | '/_main/matching-test/matching-test/step3' + | '/_main/_mypage/edit/edit-content' + | '/_main/_mypage/likes/likes-content' + | '/_main/_mypage/notifications/notifications-content' + | '/_main/_mypage/privacy/privacy-content' + | '/_main/_mypage/terms/terms-content' + | '/_main/_mypage/components/profileCard/tsx/MatchingResult' + | '/_main/_mypage/components/profileCard/tsx/MyCampaigns' + | '/_main/_mypage/components/profileCard/tsx/MyTraits' + | '/_main/_mypage/components/profileCard/tsx/ProfileSummary' + | '/_main/_mypage/components/profileCard/tsx/SnsCard' fileRoutesById: FileRoutesById } export interface RootRouteChildren { @@ -432,13 +540,6 @@ declare module '@tanstack/react-router' { preLoaderRoute: typeof AuthLoginRouteRouteImport parentRoute: typeof rootRouteImport } - '/_main/mypage': { - id: '/_main/mypage' - path: '/mypage' - fullPath: '/mypage' - preLoaderRoute: typeof MainMypageRouteRouteImport - parentRoute: typeof MainRoute - } '/_main/chat': { id: '/_main/chat' path: '/chat' @@ -453,62 +554,6 @@ declare module '@tanstack/react-router' { preLoaderRoute: typeof MainHomeIndexRouteImport parentRoute: typeof MainRoute } - '/_main/mypage/withdraw': { - id: '/_main/mypage/withdraw' - path: '/withdraw' - fullPath: '/mypage/withdraw' - preLoaderRoute: typeof MainMypageWithdrawRouteImport - parentRoute: typeof MainMypageRouteRoute - } - '/_main/mypage/terms': { - id: '/_main/mypage/terms' - path: '/terms' - fullPath: '/mypage/terms' - preLoaderRoute: typeof MainMypageTermsRouteImport - parentRoute: typeof MainMypageRouteRoute - } - '/_main/mypage/profileCard': { - id: '/_main/mypage/profileCard' - path: '/profileCard' - fullPath: '/mypage/profileCard' - preLoaderRoute: typeof MainMypageProfileCardRouteImport - parentRoute: typeof MainMypageRouteRoute - } - '/_main/mypage/privacy': { - id: '/_main/mypage/privacy' - path: '/privacy' - fullPath: '/mypage/privacy' - preLoaderRoute: typeof MainMypagePrivacyRouteImport - parentRoute: typeof MainMypageRouteRoute - } - '/_main/mypage/notifications': { - id: '/_main/mypage/notifications' - path: '/notifications' - fullPath: '/mypage/notifications' - preLoaderRoute: typeof MainMypageNotificationsRouteImport - parentRoute: typeof MainMypageRouteRoute - } - '/_main/mypage/likes': { - id: '/_main/mypage/likes' - path: '/likes' - fullPath: '/mypage/likes' - preLoaderRoute: typeof MainMypageLikesRouteImport - parentRoute: typeof MainMypageRouteRoute - } - '/_main/mypage/inquiry': { - id: '/_main/mypage/inquiry' - path: '/inquiry' - fullPath: '/mypage/inquiry' - preLoaderRoute: typeof MainMypageInquiryRouteImport - parentRoute: typeof MainMypageRouteRoute - } - '/_main/mypage/edit': { - id: '/_main/mypage/edit' - path: '/edit' - fullPath: '/mypage/edit' - preLoaderRoute: typeof MainMypageEditRouteImport - parentRoute: typeof MainMypageRouteRoute - } '/_main/_home/pre': { id: '/_main/_home/pre' path: '/pre' @@ -565,6 +610,55 @@ declare module '@tanstack/react-router' { preLoaderRoute: typeof MainMatchingTestMatchingResultRouteRouteImport parentRoute: typeof MainRoute } + '/_main/_mypage/terms': { + id: '/_main/_mypage/terms' + path: '/terms' + fullPath: '/terms' + preLoaderRoute: typeof MainMypageTermsRouteRouteImport + parentRoute: typeof MainRoute + } + '/_main/_mypage/profileCard': { + id: '/_main/_mypage/profileCard' + path: '/profileCard' + fullPath: '/profileCard' + preLoaderRoute: typeof MainMypageProfileCardRouteRouteImport + parentRoute: typeof MainRoute + } + '/_main/_mypage/privacy': { + id: '/_main/_mypage/privacy' + path: '/privacy' + fullPath: '/privacy' + preLoaderRoute: typeof MainMypagePrivacyRouteRouteImport + parentRoute: typeof MainRoute + } + '/_main/_mypage/notifications': { + id: '/_main/_mypage/notifications' + path: '/notifications' + fullPath: '/notifications' + preLoaderRoute: typeof MainMypageNotificationsRouteRouteImport + parentRoute: typeof MainRoute + } + '/_main/_mypage/mypage': { + id: '/_main/_mypage/mypage' + path: '/mypage' + fullPath: '/mypage' + preLoaderRoute: typeof MainMypageMypageRouteRouteImport + parentRoute: typeof MainRoute + } + '/_main/_mypage/likes': { + id: '/_main/_mypage/likes' + path: '/likes' + fullPath: '/likes' + preLoaderRoute: typeof MainMypageLikesRouteRouteImport + parentRoute: typeof MainRoute + } + '/_main/_mypage/edit': { + id: '/_main/_mypage/edit' + path: '/edit' + fullPath: '/edit' + preLoaderRoute: typeof MainMypageEditRouteRouteImport + parentRoute: typeof MainRoute + } '/_main/_business/rejection': { id: '/_main/_business/rejection' path: '/rejection' @@ -593,6 +687,41 @@ declare module '@tanstack/react-router' { preLoaderRoute: typeof MainBusinessCalendarRouteRouteImport parentRoute: typeof MainRoute } + '/_main/_mypage/terms/terms-content': { + id: '/_main/_mypage/terms/terms-content' + path: '/terms-content' + fullPath: '/terms/terms-content' + preLoaderRoute: typeof MainMypageTermsTermsContentRouteImport + parentRoute: typeof MainMypageTermsRouteRoute + } + '/_main/_mypage/privacy/privacy-content': { + id: '/_main/_mypage/privacy/privacy-content' + path: '/privacy-content' + fullPath: '/privacy/privacy-content' + preLoaderRoute: typeof MainMypagePrivacyPrivacyContentRouteImport + parentRoute: typeof MainMypagePrivacyRouteRoute + } + '/_main/_mypage/notifications/notifications-content': { + id: '/_main/_mypage/notifications/notifications-content' + path: '/notifications-content' + fullPath: '/notifications/notifications-content' + preLoaderRoute: typeof MainMypageNotificationsNotificationsContentRouteImport + parentRoute: typeof MainMypageNotificationsRouteRoute + } + '/_main/_mypage/likes/likes-content': { + id: '/_main/_mypage/likes/likes-content' + path: '/likes-content' + fullPath: '/likes/likes-content' + preLoaderRoute: typeof MainMypageLikesLikesContentRouteImport + parentRoute: typeof MainMypageLikesRouteRoute + } + '/_main/_mypage/edit/edit-content': { + id: '/_main/_mypage/edit/edit-content' + path: '/edit-content' + fullPath: '/edit/edit-content' + preLoaderRoute: typeof MainMypageEditEditContentRouteImport + parentRoute: typeof MainMypageEditRouteRoute + } '/_main/matching-test/matching-test/step3': { id: '/_main/matching-test/matching-test/step3' path: '/matching-test/matching-test/step3' @@ -614,6 +743,41 @@ declare module '@tanstack/react-router' { preLoaderRoute: typeof MainMatchingTestMatchingTestStep1RouteRouteImport parentRoute: typeof MainRoute } + '/_main/_mypage/components/profileCard/tsx/SnsCard': { + id: '/_main/_mypage/components/profileCard/tsx/SnsCard' + path: '/components/profileCard/tsx/SnsCard' + fullPath: '/components/profileCard/tsx/SnsCard' + preLoaderRoute: typeof MainMypageComponentsProfileCardTsxSnsCardRouteImport + parentRoute: typeof MainRoute + } + '/_main/_mypage/components/profileCard/tsx/ProfileSummary': { + id: '/_main/_mypage/components/profileCard/tsx/ProfileSummary' + path: '/components/profileCard/tsx/ProfileSummary' + fullPath: '/components/profileCard/tsx/ProfileSummary' + preLoaderRoute: typeof MainMypageComponentsProfileCardTsxProfileSummaryRouteImport + parentRoute: typeof MainRoute + } + '/_main/_mypage/components/profileCard/tsx/MyTraits': { + id: '/_main/_mypage/components/profileCard/tsx/MyTraits' + path: '/components/profileCard/tsx/MyTraits' + fullPath: '/components/profileCard/tsx/MyTraits' + preLoaderRoute: typeof MainMypageComponentsProfileCardTsxMyTraitsRouteImport + parentRoute: typeof MainRoute + } + '/_main/_mypage/components/profileCard/tsx/MyCampaigns': { + id: '/_main/_mypage/components/profileCard/tsx/MyCampaigns' + path: '/components/profileCard/tsx/MyCampaigns' + fullPath: '/components/profileCard/tsx/MyCampaigns' + preLoaderRoute: typeof MainMypageComponentsProfileCardTsxMyCampaignsRouteImport + parentRoute: typeof MainRoute + } + '/_main/_mypage/components/profileCard/tsx/MatchingResult': { + id: '/_main/_mypage/components/profileCard/tsx/MatchingResult' + path: '/components/profileCard/tsx/MatchingResult' + fullPath: '/components/profileCard/tsx/MatchingResult' + preLoaderRoute: typeof MainMypageComponentsProfileCardTsxMatchingResultRouteImport + parentRoute: typeof MainRoute + } } } @@ -629,54 +793,108 @@ const RoomsRouteRouteWithChildren = RoomsRouteRoute._addFileChildren( RoomsRouteRouteChildren, ) -interface MainMypageRouteRouteChildren { - MainMypageEditRoute: typeof MainMypageEditRoute - MainMypageInquiryRoute: typeof MainMypageInquiryRoute - MainMypageLikesRoute: typeof MainMypageLikesRoute - MainMypageNotificationsRoute: typeof MainMypageNotificationsRoute - MainMypagePrivacyRoute: typeof MainMypagePrivacyRoute - MainMypageProfileCardRoute: typeof MainMypageProfileCardRoute - MainMypageTermsRoute: typeof MainMypageTermsRoute - MainMypageWithdrawRoute: typeof MainMypageWithdrawRoute +interface MainMypageEditRouteRouteChildren { + MainMypageEditEditContentRoute: typeof MainMypageEditEditContentRoute } -const MainMypageRouteRouteChildren: MainMypageRouteRouteChildren = { - MainMypageEditRoute: MainMypageEditRoute, - MainMypageInquiryRoute: MainMypageInquiryRoute, - MainMypageLikesRoute: MainMypageLikesRoute, - MainMypageNotificationsRoute: MainMypageNotificationsRoute, - MainMypagePrivacyRoute: MainMypagePrivacyRoute, - MainMypageProfileCardRoute: MainMypageProfileCardRoute, - MainMypageTermsRoute: MainMypageTermsRoute, - MainMypageWithdrawRoute: MainMypageWithdrawRoute, +const MainMypageEditRouteRouteChildren: MainMypageEditRouteRouteChildren = { + MainMypageEditEditContentRoute: MainMypageEditEditContentRoute, } -const MainMypageRouteRouteWithChildren = MainMypageRouteRoute._addFileChildren( - MainMypageRouteRouteChildren, -) +const MainMypageEditRouteRouteWithChildren = + MainMypageEditRouteRoute._addFileChildren(MainMypageEditRouteRouteChildren) + +interface MainMypageLikesRouteRouteChildren { + MainMypageLikesLikesContentRoute: typeof MainMypageLikesLikesContentRoute +} + +const MainMypageLikesRouteRouteChildren: MainMypageLikesRouteRouteChildren = { + MainMypageLikesLikesContentRoute: MainMypageLikesLikesContentRoute, +} + +const MainMypageLikesRouteRouteWithChildren = + MainMypageLikesRouteRoute._addFileChildren(MainMypageLikesRouteRouteChildren) + +interface MainMypageNotificationsRouteRouteChildren { + MainMypageNotificationsNotificationsContentRoute: typeof MainMypageNotificationsNotificationsContentRoute +} + +const MainMypageNotificationsRouteRouteChildren: MainMypageNotificationsRouteRouteChildren = + { + MainMypageNotificationsNotificationsContentRoute: + MainMypageNotificationsNotificationsContentRoute, + } + +const MainMypageNotificationsRouteRouteWithChildren = + MainMypageNotificationsRouteRoute._addFileChildren( + MainMypageNotificationsRouteRouteChildren, + ) + +interface MainMypagePrivacyRouteRouteChildren { + MainMypagePrivacyPrivacyContentRoute: typeof MainMypagePrivacyPrivacyContentRoute +} + +const MainMypagePrivacyRouteRouteChildren: MainMypagePrivacyRouteRouteChildren = + { + MainMypagePrivacyPrivacyContentRoute: MainMypagePrivacyPrivacyContentRoute, + } + +const MainMypagePrivacyRouteRouteWithChildren = + MainMypagePrivacyRouteRoute._addFileChildren( + MainMypagePrivacyRouteRouteChildren, + ) + +interface MainMypageTermsRouteRouteChildren { + MainMypageTermsTermsContentRoute: typeof MainMypageTermsTermsContentRoute +} + +const MainMypageTermsRouteRouteChildren: MainMypageTermsRouteRouteChildren = { + MainMypageTermsTermsContentRoute: MainMypageTermsTermsContentRoute, +} + +const MainMypageTermsRouteRouteWithChildren = + MainMypageTermsRouteRoute._addFileChildren(MainMypageTermsRouteRouteChildren) interface MainRouteChildren { MainChatRouteRoute: typeof MainChatRouteRoute - MainMypageRouteRoute: typeof MainMypageRouteRouteWithChildren MainBusinessCalendarRouteRoute: typeof MainBusinessCalendarRouteRoute MainBusinessCampaignRouteRoute: typeof MainBusinessCampaignRouteRoute MainBusinessProposalRouteRoute: typeof MainBusinessProposalRouteRoute MainBusinessRejectionRouteRoute: typeof MainBusinessRejectionRouteRoute + MainMypageEditRouteRoute: typeof MainMypageEditRouteRouteWithChildren + MainMypageLikesRouteRoute: typeof MainMypageLikesRouteRouteWithChildren + MainMypageMypageRouteRoute: typeof MainMypageMypageRouteRoute + MainMypageNotificationsRouteRoute: typeof MainMypageNotificationsRouteRouteWithChildren + MainMypagePrivacyRouteRoute: typeof MainMypagePrivacyRouteRouteWithChildren + MainMypageProfileCardRouteRoute: typeof MainMypageProfileCardRouteRoute + MainMypageTermsRouteRoute: typeof MainMypageTermsRouteRouteWithChildren MainMatchingTestMatchingResultRouteRoute: typeof MainMatchingTestMatchingResultRouteRoute MainHomePreRoute: typeof MainHomePreRoute MainHomeIndexRoute: typeof MainHomeIndexRoute MainMatchingTestMatchingTestStep1RouteRoute: typeof MainMatchingTestMatchingTestStep1RouteRoute MainMatchingTestMatchingTestStep2RouteRoute: typeof MainMatchingTestMatchingTestStep2RouteRoute MainMatchingTestMatchingTestStep3RouteRoute: typeof MainMatchingTestMatchingTestStep3RouteRoute + MainMypageComponentsProfileCardTsxMatchingResultRoute: typeof MainMypageComponentsProfileCardTsxMatchingResultRoute + MainMypageComponentsProfileCardTsxMyCampaignsRoute: typeof MainMypageComponentsProfileCardTsxMyCampaignsRoute + MainMypageComponentsProfileCardTsxMyTraitsRoute: typeof MainMypageComponentsProfileCardTsxMyTraitsRoute + MainMypageComponentsProfileCardTsxProfileSummaryRoute: typeof MainMypageComponentsProfileCardTsxProfileSummaryRoute + MainMypageComponentsProfileCardTsxSnsCardRoute: typeof MainMypageComponentsProfileCardTsxSnsCardRoute } const MainRouteChildren: MainRouteChildren = { MainChatRouteRoute: MainChatRouteRoute, - MainMypageRouteRoute: MainMypageRouteRouteWithChildren, MainBusinessCalendarRouteRoute: MainBusinessCalendarRouteRoute, MainBusinessCampaignRouteRoute: MainBusinessCampaignRouteRoute, MainBusinessProposalRouteRoute: MainBusinessProposalRouteRoute, MainBusinessRejectionRouteRoute: MainBusinessRejectionRouteRoute, + MainMypageEditRouteRoute: MainMypageEditRouteRouteWithChildren, + MainMypageLikesRouteRoute: MainMypageLikesRouteRouteWithChildren, + MainMypageMypageRouteRoute: MainMypageMypageRouteRoute, + MainMypageNotificationsRouteRoute: + MainMypageNotificationsRouteRouteWithChildren, + MainMypagePrivacyRouteRoute: MainMypagePrivacyRouteRouteWithChildren, + MainMypageProfileCardRouteRoute: MainMypageProfileCardRouteRoute, + MainMypageTermsRouteRoute: MainMypageTermsRouteRouteWithChildren, MainMatchingTestMatchingResultRouteRoute: MainMatchingTestMatchingResultRouteRoute, MainHomePreRoute: MainHomePreRoute, @@ -687,6 +905,16 @@ const MainRouteChildren: MainRouteChildren = { MainMatchingTestMatchingTestStep2RouteRoute, MainMatchingTestMatchingTestStep3RouteRoute: MainMatchingTestMatchingTestStep3RouteRoute, + MainMypageComponentsProfileCardTsxMatchingResultRoute: + MainMypageComponentsProfileCardTsxMatchingResultRoute, + MainMypageComponentsProfileCardTsxMyCampaignsRoute: + MainMypageComponentsProfileCardTsxMyCampaignsRoute, + MainMypageComponentsProfileCardTsxMyTraitsRoute: + MainMypageComponentsProfileCardTsxMyTraitsRoute, + MainMypageComponentsProfileCardTsxProfileSummaryRoute: + MainMypageComponentsProfileCardTsxProfileSummaryRoute, + MainMypageComponentsProfileCardTsxSnsCardRoute: + MainMypageComponentsProfileCardTsxSnsCardRoute, } const MainRouteWithChildren = MainRoute._addFileChildren(MainRouteChildren) diff --git a/src/routes/_main/mypage/_components/ConfirmModal.tsx b/src/routes/_main/_mypage/components/ConfirmModal.tsx similarity index 97% rename from src/routes/_main/mypage/_components/ConfirmModal.tsx rename to src/routes/_main/_mypage/components/ConfirmModal.tsx index 7d17143..8860a5f 100644 --- a/src/routes/_main/mypage/_components/ConfirmModal.tsx +++ b/src/routes/_main/_mypage/components/ConfirmModal.tsx @@ -39,7 +39,7 @@ export default function ConfirmModal({ ) : null} - {/* buttons – 맨 아래 고정 */} + {/* buttons */}
+ ) +} diff --git a/src/routes/_main/_mypage/components/profileCard.tsx/MyCampaigns.tsx b/src/routes/_main/_mypage/components/profileCard.tsx/MyCampaigns.tsx new file mode 100644 index 0000000..4ee0b0d --- /dev/null +++ b/src/routes/_main/_mypage/components/profileCard.tsx/MyCampaigns.tsx @@ -0,0 +1,13 @@ +import { createFileRoute } from '@tanstack/react-router' + +export const Route = createFileRoute( + '/_main/_mypage/components/profileCard/tsx/MyCampaigns', +)({ + component: RouteComponent, +}) + +function RouteComponent() { + return ( +
Hello "/_main/mypage/components/profileCard/tsx/MyCampaigns"!
+ ) +} diff --git a/src/routes/_main/_mypage/components/profileCard.tsx/MyTraits.tsx b/src/routes/_main/_mypage/components/profileCard.tsx/MyTraits.tsx new file mode 100644 index 0000000..1ef1c10 --- /dev/null +++ b/src/routes/_main/_mypage/components/profileCard.tsx/MyTraits.tsx @@ -0,0 +1,11 @@ +import { createFileRoute } from '@tanstack/react-router' + +export const Route = createFileRoute( + '/_main/_mypage/components/profileCard/tsx/MyTraits', +)({ + component: RouteComponent, +}) + +function RouteComponent() { + return
Hello "/_main/mypage/components/profileCard/tsx/MyTraits"!
+} diff --git a/src/routes/_main/_mypage/components/profileCard.tsx/ProfileSummary.tsx b/src/routes/_main/_mypage/components/profileCard.tsx/ProfileSummary.tsx new file mode 100644 index 0000000..fdd5f80 --- /dev/null +++ b/src/routes/_main/_mypage/components/profileCard.tsx/ProfileSummary.tsx @@ -0,0 +1,13 @@ +import { createFileRoute } from '@tanstack/react-router' + +export const Route = createFileRoute( + '/_main/_mypage/components/profileCard/tsx/ProfileSummary', +)({ + component: RouteComponent, +}) + +function RouteComponent() { + return ( +
Hello "/_main/mypage/components/profileCard/tsx/ProfileSummary"!
+ ) +} diff --git a/src/routes/_main/_mypage/components/profileCard.tsx/SnsCard.tsx b/src/routes/_main/_mypage/components/profileCard.tsx/SnsCard.tsx new file mode 100644 index 0000000..c516626 --- /dev/null +++ b/src/routes/_main/_mypage/components/profileCard.tsx/SnsCard.tsx @@ -0,0 +1,11 @@ +import { createFileRoute } from '@tanstack/react-router' + +export const Route = createFileRoute( + '/_main/_mypage/components/profileCard/tsx/SnsCard', +)({ + component: RouteComponent, +}) + +function RouteComponent() { + return
Hello "/_main/mypage/components/profileCard/tsx/SnsCard"!
+} diff --git a/src/routes/_main/_mypage/edit/edit-content.tsx b/src/routes/_main/_mypage/edit/edit-content.tsx new file mode 100644 index 0000000..8241bb7 --- /dev/null +++ b/src/routes/_main/_mypage/edit/edit-content.tsx @@ -0,0 +1,9 @@ +import { createFileRoute } from '@tanstack/react-router' + +export const Route = createFileRoute('/_main/_mypage/edit/edit-content')({ + component: RouteComponent, +}) + +function RouteComponent() { + return
Hello "/_main/mypage/edit"!
+} diff --git a/src/routes/_main/mypage/edit.tsx b/src/routes/_main/_mypage/edit/route.tsx similarity index 73% rename from src/routes/_main/mypage/edit.tsx rename to src/routes/_main/_mypage/edit/route.tsx index 9df1a27..474de42 100644 --- a/src/routes/_main/mypage/edit.tsx +++ b/src/routes/_main/_mypage/edit/route.tsx @@ -1,6 +1,6 @@ import { createFileRoute } from '@tanstack/react-router' -export const Route = createFileRoute('/_main/mypage/edit')({ +export const Route = createFileRoute('/_main/_mypage/edit')({ component: RouteComponent, }) diff --git a/src/routes/_main/mypage/likes.tsx b/src/routes/_main/_mypage/likes/likes-content.tsx similarity index 70% rename from src/routes/_main/mypage/likes.tsx rename to src/routes/_main/_mypage/likes/likes-content.tsx index fc72757..648082a 100644 --- a/src/routes/_main/mypage/likes.tsx +++ b/src/routes/_main/_mypage/likes/likes-content.tsx @@ -1,6 +1,6 @@ import { createFileRoute } from '@tanstack/react-router' -export const Route = createFileRoute('/_main/mypage/likes')({ +export const Route = createFileRoute('/_main/_mypage/likes/likes-content')({ component: RouteComponent, }) diff --git a/src/routes/_main/mypage/inquiry.tsx b/src/routes/_main/_mypage/likes/route.tsx similarity index 51% rename from src/routes/_main/mypage/inquiry.tsx rename to src/routes/_main/_mypage/likes/route.tsx index f516c9f..5e82330 100644 --- a/src/routes/_main/mypage/inquiry.tsx +++ b/src/routes/_main/_mypage/likes/route.tsx @@ -1,9 +1,9 @@ import { createFileRoute } from '@tanstack/react-router' -export const Route = createFileRoute('/_main/mypage/inquiry')({ +export const Route = createFileRoute('/_main/_mypage/likes')({ component: RouteComponent, }) function RouteComponent() { - return
Hello "/_main/mypage/inquiry"!
+ return
Hello "/_main/mypage/likes"!
} diff --git a/src/routes/_main/mypage/MyPageHome.tsx b/src/routes/_main/_mypage/mypage/MyPageHome.tsx similarity index 86% rename from src/routes/_main/mypage/MyPageHome.tsx rename to src/routes/_main/_mypage/mypage/MyPageHome.tsx index 11c6927..cc65dac 100644 --- a/src/routes/_main/mypage/MyPageHome.tsx +++ b/src/routes/_main/_mypage/mypage/MyPageHome.tsx @@ -1,5 +1,5 @@ -import { useState } from "react"; -import ConfirmModal from "./_components/ConfirmModal"; +import { useEffect, useState } from "react"; +import ConfirmModal from "../components/ConfirmModal"; type Props = { // 서버/스토어에서 내려오는 값이라고 가정 @@ -36,11 +36,16 @@ export default function MyPageHome({ onLogout, onWithdraw, }: Props) { - // hasMatchingTest가 false면 gate 모달을 바로 열기 위해 초기값으로 설정 - const [openGate, setOpenGate] = useState(!hasMatchingTest); + const [openGate, setOpenGate] = useState(false); const [openLogout, setOpenLogout] = useState(false); const [openWithdraw, setOpenWithdraw] = useState(false); + useEffect(() => { + if (!hasMatchingTest) { + setOpenGate(true); + } + }, [hasMatchingTest]); + //const actionsDisabled = useMemo(() => !hasMatchingTest, [hasMatchingTest]); 매칭검사 안했을 시 return ( @@ -80,7 +85,7 @@ export default function MyPageHome({
{/* top buttons */} -
+
+
+ {/* list */}
- + - + - +
@@ -140,10 +147,10 @@ export default function MyPageHome({
- setOpenLogout(true)} py={16} gap={6} /> + setOpenLogout(true)} py={16} /> - setOpenWithdraw(true)} muted={true} py={16} gap={6} /> + setOpenWithdraw(true)} muted={true} py={16} />
{/* gate modal */} @@ -162,7 +169,7 @@ export default function MyPageHome({ onClose={() => setOpenLogout(false)} onPrimary={() => { setOpenLogout(false); - onLogout(); // ✅ MyPageContent에서 로그인 페이지 이동 처리 + onLogout(); // MyPageContent에서 로그인 페이지 이동 처리 }} /> ) : null} @@ -176,7 +183,7 @@ export default function MyPageHome({ onClose={() => setOpenWithdraw(false)} onPrimary={() => { setOpenWithdraw(false); - onWithdraw(); // ✅ 탈퇴 페이지 이동 or API 호출로 연결 + onWithdraw(); // 탈퇴 페이지 이동 or API 호출로 연결 }} /> ) : null} @@ -186,44 +193,52 @@ export default function MyPageHome({ } function MenuButton({ - title, label, onClick, muted, py, gap = 6, -}: {title?: string; label: string; onClick: () => void; muted?: boolean; py?: number; gap?: number; }) { + title, label, onClick, muted, py, +}: { + title?: string; + label: string; + onClick: () => void; + muted?: boolean; + py?: number; +}) { return ( -
+ - + ); } + function Divider() { return
; } @@ -241,22 +256,24 @@ function GateModal({
{/* modal */} -
- +
+
+ +
-
-
+
+
!
-
+
매칭 검사를
먼저 진행해주세요 @@ -265,7 +282,7 @@ function GateModal({ +
내 프로필 카드
+
+
+ + {/* profile summary */} +
+
+ {/* 이미지 자리 */} +
+
+
+
+
+ +
+
비비
+
여성 22세
+
+ 관심분야: 뷰티, 패션 +
+
+
+
+ +
+ + {/* content */} +
+ {/* SNS */} +
+
+
+ +
+
www.instagram.com/vivi
+ +
+
+ + {/* Matching */} +
+
+
+
+ 비비 님은 +
+
+ OO한 크리에이터 입니다. +
+ OO한 브랜드와 잘 어울려요. +
+
+
+
+
+
+
+ + {/* Traits */} +
+ › + + } + > +
+ + +
+
+ + {/* Campaigns */} +
+ ˅ + + } + > +
+ {campaigns.map((c, idx) => ( +
+
+ {c.type} + {c.title} +
+ {c.date} +
+ ))} + + {/* pagination mock */} +
+ + + + + + +
+
+
+
+
+
+ ); +} + +function Section({ + title, + right, + children, +}: { + title: string; + right?: React.ReactNode; + children: React.ReactNode; +}) { + return ( +
+
+
{title}
+ {right} +
+ {children} +
+ ); +} + +function TraitCard({ + badge, + icon, + lines, +}: { + badge: string; + icon: string; + lines: string[]; +}) { + return ( +
+
+ {badge} +
+ +
+ {icon} +
+ +
+ {lines.map((t, i) => ( +
{t}
+ ))} +
+
+ ); +} diff --git a/src/routes/_main/_mypage/profileCard/route.tsx b/src/routes/_main/_mypage/profileCard/route.tsx new file mode 100644 index 0000000..bee8d53 --- /dev/null +++ b/src/routes/_main/_mypage/profileCard/route.tsx @@ -0,0 +1,10 @@ +import { createFileRoute } from "@tanstack/react-router"; +import ProfileCard from "./profileCard-content"; + +export const Route = createFileRoute("/_main/_mypage/profileCard")({ + component: ProfileCardRoute, +}); + +function ProfileCardRoute() { + return ; +} diff --git a/src/routes/_main/mypage/terms.tsx b/src/routes/_main/_mypage/terms/route.tsx similarity index 72% rename from src/routes/_main/mypage/terms.tsx rename to src/routes/_main/_mypage/terms/route.tsx index ef52946..3f1c099 100644 --- a/src/routes/_main/mypage/terms.tsx +++ b/src/routes/_main/_mypage/terms/route.tsx @@ -1,6 +1,6 @@ import { createFileRoute } from '@tanstack/react-router' -export const Route = createFileRoute('/_main/mypage/terms')({ +export const Route = createFileRoute('/_main/_mypage/terms')({ component: RouteComponent, }) diff --git a/src/routes/_main/_mypage/terms/terms-content.tsx b/src/routes/_main/_mypage/terms/terms-content.tsx new file mode 100644 index 0000000..b273524 --- /dev/null +++ b/src/routes/_main/_mypage/terms/terms-content.tsx @@ -0,0 +1,9 @@ +import { createFileRoute } from '@tanstack/react-router' + +export const Route = createFileRoute('/_main/_mypage/terms/terms-content')({ + component: RouteComponent, +}) + +function RouteComponent() { + return
Hello "/_main/mypage/terms"!
+} diff --git a/src/routes/_main/mypage/mypage-content.tsx b/src/routes/_main/mypage/mypage-content.tsx deleted file mode 100644 index 9a65279..0000000 --- a/src/routes/_main/mypage/mypage-content.tsx +++ /dev/null @@ -1,35 +0,0 @@ -import { useNavigate } from "@tanstack/react-router"; -import MyPageHome from "./MyPageHome"; -import { useAuthStore } from "../../../stores/auth-store"; - -export default function MyPageContent() { - const navigate = useNavigate(); - const me = useAuthStore((s) => s.me); - - const hasMatchingTest = Boolean(me?.matchingTestDone); - - return ( - navigate({ to: "/matching-test/matching-test/step1" })} - onOpenProfileCard={() => navigate({ to: "/mypage/profileCard" })} - onOpenLikes={() => navigate({ to: "/mypage/likes" })} - onOpenEditProfile={() => navigate({ to: "/mypage/edit" })} - onOpenNotifications={() => navigate({ to: "/mypage/notifications" })} - onOpenInquiry={() => navigate({ to: "/mypage/inquiry" })} - onOpenTerms={() => navigate({ to: "/mypage/terms" })} // policy/terms - onOpenPrivacy={() => navigate({ to: "/mypage/privacy" })} // policy/privacy - onLogout={() => { - useAuthStore.getState().logout?.(); - navigate({ to: "/auth/login" }); - }} - onWithdraw={() => navigate({ to: "/mypage/withdraw" })} - /> - ); -} diff --git a/src/routes/_main/mypage/profileCard.tsx b/src/routes/_main/mypage/profileCard.tsx deleted file mode 100644 index 6d760aa..0000000 --- a/src/routes/_main/mypage/profileCard.tsx +++ /dev/null @@ -1,9 +0,0 @@ -import { createFileRoute } from '@tanstack/react-router' - -export const Route = createFileRoute('/_main/mypage/profileCard')({ - component: RouteComponent, -}) - -function RouteComponent() { - return
Hello "/_main/mypage/components/profile-card"!
-} diff --git a/src/routes/_main/mypage/route.tsx b/src/routes/_main/mypage/route.tsx deleted file mode 100644 index f83bc0b..0000000 --- a/src/routes/_main/mypage/route.tsx +++ /dev/null @@ -1,6 +0,0 @@ -import { createFileRoute } from '@tanstack/react-router' -import MyPage from './mypage-content' - -export const Route = createFileRoute('/_main/mypage')({ - component: MyPage, -}) diff --git a/src/routes/_main/mypage/withdraw.tsx b/src/routes/_main/mypage/withdraw.tsx deleted file mode 100644 index cd85a0f..0000000 --- a/src/routes/_main/mypage/withdraw.tsx +++ /dev/null @@ -1,9 +0,0 @@ -import { createFileRoute } from '@tanstack/react-router' - -export const Route = createFileRoute('/_main/mypage/withdraw')({ - component: RouteComponent, -}) - -function RouteComponent() { - return
Hello "/_main/mypage/withdraw"!
-} From df36090b02e318acea5c43fc690dab26c6773ccf Mon Sep 17 00:00:00 2001 From: yeahsel Date: Fri, 30 Jan 2026 01:08:59 +0900 Subject: [PATCH 2/3] =?UTF-8?q?fix:=20=EB=A6=B0=ED=8A=B8=20=EC=98=A4?= =?UTF-8?q?=EB=A5=98=20=ED=95=B4=EA=B2=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/routes/_main/_mypage/mypage/MyPageHome.tsx | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/src/routes/_main/_mypage/mypage/MyPageHome.tsx b/src/routes/_main/_mypage/mypage/MyPageHome.tsx index cc65dac..e096e16 100644 --- a/src/routes/_main/_mypage/mypage/MyPageHome.tsx +++ b/src/routes/_main/_mypage/mypage/MyPageHome.tsx @@ -1,4 +1,4 @@ -import { useEffect, useState } from "react"; +import { useState } from "react"; import ConfirmModal from "../components/ConfirmModal"; type Props = { @@ -36,16 +36,10 @@ export default function MyPageHome({ onLogout, onWithdraw, }: Props) { - const [openGate, setOpenGate] = useState(false); + const [openGate, setOpenGate] = useState(!hasMatchingTest); const [openLogout, setOpenLogout] = useState(false); const [openWithdraw, setOpenWithdraw] = useState(false); - useEffect(() => { - if (!hasMatchingTest) { - setOpenGate(true); - } - }, [hasMatchingTest]); - //const actionsDisabled = useMemo(() => !hasMatchingTest, [hasMatchingTest]); 매칭검사 안했을 시 return ( From 23448b6bc7677d5b7f62b6f95cdbba711ea4c3a3 Mon Sep 17 00:00:00 2001 From: yeahsel Date: Fri, 30 Jan 2026 01:14:55 +0900 Subject: [PATCH 3/3] =?UTF-8?q?fix:=20vercel=20=EC=98=A4=EB=A5=98=20?= =?UTF-8?q?=ED=95=B4=EA=B2=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/routes/_main/_mypage/mypage/mypage-content.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/routes/_main/_mypage/mypage/mypage-content.tsx b/src/routes/_main/_mypage/mypage/mypage-content.tsx index 4cb19cd..7861e1c 100644 --- a/src/routes/_main/_mypage/mypage/mypage-content.tsx +++ b/src/routes/_main/_mypage/mypage/mypage-content.tsx @@ -18,7 +18,7 @@ export default function MyPageContent() { email: me?.email ?? "yeahsel0608@cau.ac.kr", avatarUrl: me?.avatarUrl ?? "/images/default-avatar.png", }} - onGoMatchingTest={() => navigate({ to: "/matching-test/matching-test/step1" })} + onGoMatchingTest={() => navigate({ to: "/matching/test/step1" })} onOpenProfileCard={() => navigate({ to: "/profileCard" })} onOpenLikes={() => navigate({ to: "/likes" })} onOpenEditProfile={() => navigate({ to: "/edit" })} @@ -28,7 +28,7 @@ export default function MyPageContent() { onOpenPrivacy={() => navigate({ to: "/privacy" })} // policy/privacy onLogout={() => { useAuthStore.getState().logout?.(); - navigate({ to: "/auth/login" }); + navigate({ to: "/login" }); }} onWithdraw={() => {}} />