From 7dcd4cc6a810479b38ad8d7bad6da60a3a95d6c0 Mon Sep 17 00:00:00 2001 From: HWAN0218 Date: Wed, 25 Feb 2026 02:59:09 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=20=EA=B2=BD=EB=A1=9C=20=EA=B5=AC?= =?UTF-8?q?=EC=A1=B0=20=EC=A0=95=EB=A6=AC=20=EB=B0=8F=20=EB=AF=B8=EA=B5=AC?= =?UTF-8?q?=ED=98=84=20=EA=B8=B0=EB=8A=A5=20=EC=BD=94=EB=93=9C=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Myhistory/page.module.css} | 16 ++++++++-------- .../MyHistory.tsx => (root)/Myhistory/page.tsx} | 4 ++-- .../MyHistory => (root)/Myhistory}/queries.ts | 0 3 files changed, 10 insertions(+), 10 deletions(-) rename src/app/{[teamid]/_domain/components/MyHistory/MyHistory.module.css => (root)/Myhistory/page.module.css} (97%) rename src/app/{[teamid]/_domain/components/MyHistory/MyHistory.tsx => (root)/Myhistory/page.tsx} (99%) rename src/app/{[teamid]/_domain/components/MyHistory => (root)/Myhistory}/queries.ts (100%) diff --git a/src/app/[teamid]/_domain/components/MyHistory/MyHistory.module.css b/src/app/(root)/Myhistory/page.module.css similarity index 97% rename from src/app/[teamid]/_domain/components/MyHistory/MyHistory.module.css rename to src/app/(root)/Myhistory/page.module.css index ddb928d..38ab16b 100644 --- a/src/app/[teamid]/_domain/components/MyHistory/MyHistory.module.css +++ b/src/app/(root)/Myhistory/page.module.css @@ -21,7 +21,7 @@ display: flex; flex-direction: column; min-width: 0; - padding: 120px 67px 80px; + padding: 90px 91px 110px 91px; box-sizing: border-box; } @@ -82,7 +82,7 @@ gap: 6px; } -/* 모바일/태블릿: top 대신 left:50px */ +/* 모바일/태블릿: top 대신 left:50px */ @media (max-width: 1023px) { .teamMenu { top: auto; @@ -91,7 +91,7 @@ } } -/* 모바일: width 100px */ +/* 모바일: width 100px */ @media (max-width: 743px) { .teamMenu { width: 100px; @@ -188,7 +188,7 @@ color: #0f172a; } -/* 스크롤 + margin-top 40 */ +/* 스크롤 + margin-top 40 */ .leftScroll { max-height: 768px; overflow: auto; @@ -197,7 +197,7 @@ margin-top: 40px; } -/* 월별 묶음 간격 55px */ +/* 월별 묶음 간격 55px */ .monthBlock { display: flex; flex-direction: column; @@ -348,7 +348,7 @@ } } -/* 모바일/태블릿 칩 라인 (PC 숨김) */ +/* 모바일/태블릿 칩 라인 (PC 숨김) */ .chipRow { display: none; margin-top: 16px; @@ -369,9 +369,9 @@ /* Chip 크기: 모바일 86px */ @media (max-width: 743px) { :global(.Chip-module__j4Ti-q__chip.Chip-module__j4Ti-q__small) { - width: 87px !important; + width: 86px !important; height: 33px !important; - padding: 0 !important; + padding: 0 12px !important; border: 1px solid #e2e8f0 !important; } } diff --git a/src/app/[teamid]/_domain/components/MyHistory/MyHistory.tsx b/src/app/(root)/Myhistory/page.tsx similarity index 99% rename from src/app/[teamid]/_domain/components/MyHistory/MyHistory.tsx rename to src/app/(root)/Myhistory/page.tsx index 6af4eb8..9e9d2fd 100644 --- a/src/app/[teamid]/_domain/components/MyHistory/MyHistory.tsx +++ b/src/app/(root)/Myhistory/page.tsx @@ -5,7 +5,7 @@ import Image from 'next/image'; import { useParams, useRouter } from 'next/navigation'; import { useQueryClient } from '@tanstack/react-query'; -import styles from './MyHistory.module.css'; +import styles from './page.module.css'; import TeamHeader from '@/components/team-header'; import ArrowButton from '@/components/Button/domain/ArrowButton/ArrowButton'; @@ -27,7 +27,7 @@ import { patchTaskDone, deleteTask, deleteTeam, -} from '@/app/[teamid]/_domain/components/MyHistory/queries'; +} from './queries'; type Writer = { id: number; nickname: string; image: string | null }; type UiComment = { diff --git a/src/app/[teamid]/_domain/components/MyHistory/queries.ts b/src/app/(root)/Myhistory/queries.ts similarity index 100% rename from src/app/[teamid]/_domain/components/MyHistory/queries.ts rename to src/app/(root)/Myhistory/queries.ts