diff --git a/src/routes/rooms/components/ChatRoomHeader.tsx b/src/components/common/NavigationHeader.tsx
similarity index 68%
rename from src/routes/rooms/components/ChatRoomHeader.tsx
rename to src/components/common/NavigationHeader.tsx
index 5ae4ec5..1a24e20 100644
--- a/src/routes/rooms/components/ChatRoomHeader.tsx
+++ b/src/components/common/NavigationHeader.tsx
@@ -1,14 +1,11 @@
-
type Props = {
- title: string;
- subtitle: string;
- subTitleClass?: string;
- onBack?: () => void;
+ title: string; // 텍스트
+ onBack?: () => void; //onBack={() => history.back()} 뒤로가기
};
-export default function ChatRoomHeader({ title, subtitle, subTitleClass, onBack }: Props) {
+export default function NavigationHeader({ title, onBack }: Props) {
return (
-
+
{/* 오른쪽 여백 맞추기 */}
diff --git a/src/data/chat-room.ts b/src/data/chat-room.ts
index b2585b6..4423a32 100644
--- a/src/data/chat-room.ts
+++ b/src/data/chat-room.ts
@@ -1,4 +1,4 @@
-import { type ChatRoom } from "../routes/_main/chat/types/ChatRoom";
+import { type ChatRoom } from "../routes/_main/chat/ChatList";
export const rooms: ChatRoom[] = [
{
@@ -7,9 +7,9 @@ export const rooms: ChatRoom[] = [
lastMessage: "안녕하세요! 제안 확인 부탁드립니다.안녕하세요 제안 확인 부탁드립니다 안녕하세요 제안 확인 부탁드립니다 안녕하세요 제안 확인 부탁드립니다",
updatedAt: new Date().toISOString(),
unreadCount: 2,
- status: "matching",
logoUrl: "",
type: "sent",
+ isCollaborating: true,
},
{
id: "2",
@@ -17,9 +17,9 @@ export const rooms: ChatRoom[] = [
lastMessage: "검토 중입니다!",
updatedAt: "2025-01-05T10:00:00",
unreadCount: 0,
- status: "reviewing",
logoUrl: "",
- type: "received",
+ type: "sent",
+ isCollaborating: false,
},
];
diff --git a/src/routeTree.gen.ts b/src/routeTree.gen.ts
index 9f20ed2..b23c848 100644
--- a/src/routeTree.gen.ts
+++ b/src/routeTree.gen.ts
@@ -12,23 +12,21 @@ import { Route as rootRouteImport } from './routes/__root'
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 MainMypageRouteRouteImport } from './routes/_main/mypage/route'
import { Route as MainMatchingRouteRouteImport } from './routes/_main/matching/route'
import { Route as MainChatRouteRouteImport } from './routes/_main/chat/route'
import { Route as AuthLoginRouteRouteImport } from './routes/_auth/login/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 MainMatchingSuggestRouteRouteImport } from './routes/_main/matching/suggest/route'
import { Route as MainMatchingCampaignRouteRouteImport } from './routes/_main/matching/campaign/route'
import { Route as MainMatchingBrandRouteRouteImport } from './routes/_main/matching/brand/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'
@@ -40,11 +38,21 @@ import { Route as AuthSignupPurposeRouteRouteImport } from './routes/_auth/signu
import { Route as AuthSignupInfoMoreRouteRouteImport } from './routes/_auth/signup/info-more/route'
import { Route as AuthSignupInfoRouteRouteImport } from './routes/_auth/signup/info/route'
import { Route as MainMatchingSuggestIndexRouteImport } from './routes/_main/matching/suggest/index'
+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 MainMatchingTestStep3RouteRouteImport } from './routes/_main/matching/test/step3/route'
import { Route as MainMatchingTestStep2RouteRouteImport } from './routes/_main/matching/test/step2/route'
import { Route as MainMatchingTestStep1RouteRouteImport } from './routes/_main/matching/test/step1/route'
import { Route as MainMatchingTestResultRouteRouteImport } from './routes/_main/matching/test/result/route'
import { Route as MainMatchingSuggestCreateRouteRouteImport } from './routes/_main/matching/suggest/create/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',
@@ -60,11 +68,6 @@ const RoomsChatIdRoute = RoomsChatIdRouteImport.update({
path: '/$chatId',
getParentRoute: () => RoomsRouteRoute,
} as any)
-const MainMypageRouteRoute = MainMypageRouteRouteImport.update({
- id: '/mypage',
- path: '/mypage',
- getParentRoute: () => MainRoute,
-} as any)
const MainMatchingRouteRoute = MainMatchingRouteRouteImport.update({
id: '/matching',
path: '/matching',
@@ -85,46 +88,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',
@@ -147,6 +110,43 @@ const MainMatchingBrandRouteRoute = MainMatchingBrandRouteRouteImport.update({
path: '/brand',
getParentRoute: () => MainMatchingRouteRoute,
} 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',
@@ -207,6 +207,36 @@ const MainMatchingSuggestIndexRoute =
path: '/',
getParentRoute: () => MainMatchingSuggestRouteRoute,
} 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 MainMatchingTestStep3RouteRoute =
MainMatchingTestStep3RouteRouteImport.update({
id: '/test/step3',
@@ -237,6 +267,36 @@ const MainMatchingSuggestCreateRouteRoute =
path: '/create',
getParentRoute: () => MainMatchingSuggestRouteRoute,
} 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
@@ -244,7 +304,6 @@ export interface FileRoutesByFullPath {
'/login': typeof AuthLoginRouteRoute
'/chat': typeof MainChatRouteRoute
'/matching': typeof MainMatchingRouteRouteWithChildren
- '/mypage': typeof MainMypageRouteRouteWithChildren
'/rooms/$chatId': typeof RoomsChatIdRoute
'/signup/info': typeof AuthSignupInfoRouteRoute
'/signup/info-more': typeof AuthSignupInfoMoreRouteRoute
@@ -256,31 +315,39 @@ export interface FileRoutesByFullPath {
'/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/brand': typeof MainMatchingBrandRouteRoute
'/matching/campaign': typeof MainMatchingCampaignRouteRoute
'/matching/suggest': typeof MainMatchingSuggestRouteRouteWithChildren
'/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
'/matching/suggest/create': typeof MainMatchingSuggestCreateRouteRoute
'/matching/test/result': typeof MainMatchingTestResultRouteRoute
'/matching/test/step1': typeof MainMatchingTestStep1RouteRoute
'/matching/test/step2': typeof MainMatchingTestStep2RouteRoute
'/matching/test/step3': typeof MainMatchingTestStep3RouteRoute
+ '/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
'/matching/suggest/': typeof MainMatchingSuggestIndexRoute
+ '/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
'/login': typeof AuthLoginRouteRoute
'/chat': typeof MainChatRouteRoute
'/matching': typeof MainMatchingRouteRouteWithChildren
- '/mypage': typeof MainMypageRouteRouteWithChildren
'/rooms/$chatId': typeof RoomsChatIdRoute
'/signup/info': typeof AuthSignupInfoRouteRoute
'/signup/info-more': typeof AuthSignupInfoMoreRouteRoute
@@ -292,24 +359,33 @@ export interface FileRoutesByTo {
'/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/brand': typeof MainMatchingBrandRouteRoute
'/matching/campaign': typeof MainMatchingCampaignRouteRoute
'/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/suggest/create': typeof MainMatchingSuggestCreateRouteRoute
'/matching/test/result': typeof MainMatchingTestResultRouteRoute
'/matching/test/step1': typeof MainMatchingTestStep1RouteRoute
'/matching/test/step2': typeof MainMatchingTestStep2RouteRoute
'/matching/test/step3': typeof MainMatchingTestStep3RouteRoute
+ '/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
'/matching/suggest': typeof MainMatchingSuggestIndexRoute
+ '/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
@@ -318,7 +394,6 @@ export interface FileRoutesById {
'/_auth/login': typeof AuthLoginRouteRoute
'/_main/chat': typeof MainChatRouteRoute
'/_main/matching': typeof MainMatchingRouteRouteWithChildren
- '/_main/mypage': typeof MainMypageRouteRouteWithChildren
'/rooms/$chatId': typeof RoomsChatIdRoute
'/_auth/signup/info': typeof AuthSignupInfoRouteRoute
'/_auth/signup/info-more': typeof AuthSignupInfoMoreRouteRoute
@@ -330,25 +405,34 @@ export interface FileRoutesById {
'/_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/brand': typeof MainMatchingBrandRouteRoute
'/_main/matching/campaign': typeof MainMatchingCampaignRouteRoute
'/_main/matching/suggest': typeof MainMatchingSuggestRouteRouteWithChildren
'/_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/suggest/create': typeof MainMatchingSuggestCreateRouteRoute
'/_main/matching/test/result': typeof MainMatchingTestResultRouteRoute
'/_main/matching/test/step1': typeof MainMatchingTestStep1RouteRoute
'/_main/matching/test/step2': typeof MainMatchingTestStep2RouteRoute
'/_main/matching/test/step3': typeof MainMatchingTestStep3RouteRoute
+ '/_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/matching/suggest/': typeof MainMatchingSuggestIndexRoute
+ '/_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
@@ -358,7 +442,6 @@ export interface FileRouteTypes {
| '/login'
| '/chat'
| '/matching'
- | '/mypage'
| '/rooms/$chatId'
| '/signup/info'
| '/signup/info-more'
@@ -370,31 +453,39 @@ export interface FileRouteTypes {
| '/campaign'
| '/proposal'
| '/rejection'
+ | '/edit'
+ | '/likes'
+ | '/mypage'
+ | '/notifications'
+ | '/privacy'
+ | '/profileCard'
+ | '/terms'
| '/matching/brand'
| '/matching/campaign'
| '/matching/suggest'
| '/pre'
- | '/mypage/edit'
- | '/mypage/inquiry'
- | '/mypage/likes'
- | '/mypage/notifications'
- | '/mypage/privacy'
- | '/mypage/profileCard'
- | '/mypage/terms'
- | '/mypage/withdraw'
| '/matching/suggest/create'
| '/matching/test/result'
| '/matching/test/step1'
| '/matching/test/step2'
| '/matching/test/step3'
+ | '/edit/edit-content'
+ | '/likes/likes-content'
+ | '/notifications/notifications-content'
+ | '/privacy/privacy-content'
+ | '/terms/terms-content'
| '/matching/suggest/'
+ | '/components/profileCard/tsx/MatchingResult'
+ | '/components/profileCard/tsx/MyCampaigns'
+ | '/components/profileCard/tsx/MyTraits'
+ | '/components/profileCard/tsx/ProfileSummary'
+ | '/components/profileCard/tsx/SnsCard'
fileRoutesByTo: FileRoutesByTo
to:
| '/rooms'
| '/login'
| '/chat'
| '/matching'
- | '/mypage'
| '/rooms/$chatId'
| '/signup/info'
| '/signup/info-more'
@@ -406,24 +497,33 @@ export interface FileRouteTypes {
| '/campaign'
| '/proposal'
| '/rejection'
+ | '/edit'
+ | '/likes'
+ | '/mypage'
+ | '/notifications'
+ | '/privacy'
+ | '/profileCard'
+ | '/terms'
| '/matching/brand'
| '/matching/campaign'
| '/pre'
- | '/mypage/edit'
- | '/mypage/inquiry'
- | '/mypage/likes'
- | '/mypage/notifications'
- | '/mypage/privacy'
- | '/mypage/profileCard'
- | '/mypage/terms'
- | '/mypage/withdraw'
| '/'
| '/matching/suggest/create'
| '/matching/test/result'
| '/matching/test/step1'
| '/matching/test/step2'
| '/matching/test/step3'
+ | '/edit/edit-content'
+ | '/likes/likes-content'
+ | '/notifications/notifications-content'
+ | '/privacy/privacy-content'
+ | '/terms/terms-content'
| '/matching/suggest'
+ | '/components/profileCard/tsx/MatchingResult'
+ | '/components/profileCard/tsx/MyCampaigns'
+ | '/components/profileCard/tsx/MyTraits'
+ | '/components/profileCard/tsx/ProfileSummary'
+ | '/components/profileCard/tsx/SnsCard'
id:
| '__root__'
| '/rooms'
@@ -431,7 +531,6 @@ export interface FileRouteTypes {
| '/_auth/login'
| '/_main/chat'
| '/_main/matching'
- | '/_main/mypage'
| '/rooms/$chatId'
| '/_auth/signup/info'
| '/_auth/signup/info-more'
@@ -443,25 +542,34 @@ export interface FileRouteTypes {
| '/_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/brand'
| '/_main/matching/campaign'
| '/_main/matching/suggest'
| '/_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/suggest/create'
| '/_main/matching/test/result'
| '/_main/matching/test/step1'
| '/_main/matching/test/step2'
| '/_main/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/matching/suggest/'
+ | '/_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 {
@@ -499,13 +607,6 @@ declare module '@tanstack/react-router' {
preLoaderRoute: typeof RoomsChatIdRouteImport
parentRoute: typeof RoomsRouteRoute
}
- '/_main/mypage': {
- id: '/_main/mypage'
- path: '/mypage'
- fullPath: '/mypage'
- preLoaderRoute: typeof MainMypageRouteRouteImport
- parentRoute: typeof MainRoute
- }
'/_main/matching': {
id: '/_main/matching'
path: '/matching'
@@ -534,62 +635,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'
@@ -618,6 +663,55 @@ declare module '@tanstack/react-router' {
preLoaderRoute: typeof MainMatchingBrandRouteRouteImport
parentRoute: typeof MainMatchingRouteRoute
}
+ '/_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'
@@ -695,6 +789,41 @@ declare module '@tanstack/react-router' {
preLoaderRoute: typeof MainMatchingSuggestIndexRouteImport
parentRoute: typeof MainMatchingSuggestRouteRoute
}
+ '/_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/step3': {
id: '/_main/matching/test/step3'
path: '/test/step3'
@@ -730,6 +859,41 @@ declare module '@tanstack/react-router' {
preLoaderRoute: typeof MainMatchingSuggestCreateRouteRouteImport
parentRoute: typeof MainMatchingSuggestRouteRoute
}
+ '/_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
+ }
}
}
@@ -784,54 +948,118 @@ const MainMatchingRouteRouteChildren: MainMatchingRouteRouteChildren = {
const MainMatchingRouteRouteWithChildren =
MainMatchingRouteRoute._addFileChildren(MainMatchingRouteRouteChildren)
-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
MainMatchingRouteRoute: typeof MainMatchingRouteRouteWithChildren
- 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
MainHomePreRoute: typeof MainHomePreRoute
MainHomeIndexRoute: typeof MainHomeIndexRoute
+ MainMypageComponentsProfileCardTsxMatchingResultRoute: typeof MainMypageComponentsProfileCardTsxMatchingResultRoute
+ MainMypageComponentsProfileCardTsxMyCampaignsRoute: typeof MainMypageComponentsProfileCardTsxMyCampaignsRoute
+ MainMypageComponentsProfileCardTsxMyTraitsRoute: typeof MainMypageComponentsProfileCardTsxMyTraitsRoute
+ MainMypageComponentsProfileCardTsxProfileSummaryRoute: typeof MainMypageComponentsProfileCardTsxProfileSummaryRoute
+ MainMypageComponentsProfileCardTsxSnsCardRoute: typeof MainMypageComponentsProfileCardTsxSnsCardRoute
}
const MainRouteChildren: MainRouteChildren = {
MainChatRouteRoute: MainChatRouteRoute,
MainMatchingRouteRoute: MainMatchingRouteRouteWithChildren,
- MainMypageRouteRoute: MainMypageRouteRouteWithChildren,
MainBusinessCalendarRouteRoute: MainBusinessCalendarRouteRoute,
MainBusinessCampaignRouteRoute: MainBusinessCampaignRouteRoute,
MainBusinessProposalRouteRoute: MainBusinessProposalRouteRoute,
MainBusinessRejectionRouteRoute: MainBusinessRejectionRouteRoute,
+ MainMypageEditRouteRoute: MainMypageEditRouteRouteWithChildren,
+ MainMypageLikesRouteRoute: MainMypageLikesRouteRouteWithChildren,
+ MainMypageMypageRouteRoute: MainMypageMypageRouteRoute,
+ MainMypageNotificationsRouteRoute:
+ MainMypageNotificationsRouteRouteWithChildren,
+ MainMypagePrivacyRouteRoute: MainMypagePrivacyRouteRouteWithChildren,
+ MainMypageProfileCardRouteRoute: MainMypageProfileCardRouteRoute,
+ MainMypageTermsRouteRoute: MainMypageTermsRouteRouteWithChildren,
MainHomePreRoute: MainHomePreRoute,
MainHomeIndexRoute: MainHomeIndexRoute,
+ 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 87%
rename from src/routes/_main/mypage/MyPageHome.tsx
rename to src/routes/_main/_mypage/mypage/MyPageHome.tsx
index 11c6927..db457c2 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 ConfirmModal from "../components/ConfirmModal";
type Props = {
// 서버/스토어에서 내려오는 값이라고 가정
@@ -36,7 +36,6 @@ export default function MyPageHome({
onLogout,
onWithdraw,
}: Props) {
- // hasMatchingTest가 false면 gate 모달을 바로 열기 위해 초기값으로 설정
const [openGate, setOpenGate] = useState(!hasMatchingTest);
const [openLogout, setOpenLogout] = useState(false);
const [openWithdraw, setOpenWithdraw] = useState(false);
@@ -80,7 +79,7 @@ export default function MyPageHome({
{/* top buttons */}
-