From 80e00b4d7db65e502103e837b9684c44de283221 Mon Sep 17 00:00:00 2001 From: VarGun Date: Sun, 29 Jun 2025 14:38:09 +0900 Subject: [PATCH 1/2] =?UTF-8?q?fix:=20=ED=85=8C=EC=8A=A4=ED=8A=B8=20?= =?UTF-8?q?=EB=B0=B0=EB=84=88=20=EC=88=98=EC=A0=95=20(#205)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/(routes)/etf/_components/etf-page-container.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/(routes)/etf/_components/etf-page-container.tsx b/app/(routes)/etf/_components/etf-page-container.tsx index d0ad21d..f63017e 100644 --- a/app/(routes)/etf/_components/etf-page-container.tsx +++ b/app/(routes)/etf/_components/etf-page-container.tsx @@ -99,7 +99,7 @@ const ETFPageContainer = ({ session }: Props) => { : '몇 가지 질문에 답하면, 당신에게 어울리는 테마를 추천해드릴게요'} -
+
{investType ? '테스트 다시 하기 ' : '테스트 하러 가기 '} From 2d8ea229b31a14d0241caa25343f68d61551180c Mon Sep 17 00:00:00 2001 From: VarGun Date: Sun, 29 Jun 2025 14:55:06 +0900 Subject: [PATCH 2/2] =?UTF-8?q?fix:=20=EC=88=8F=EC=B8=A0=20=EA=B0=80?= =?UTF-8?q?=EC=9D=B4=EB=93=9C=20=EC=9D=B4=EB=AF=B8=EC=A7=80=20=EC=88=98?= =?UTF-8?q?=EC=A0=95=20=EB=B0=8F=20=EA=B8=B0=ED=83=80=20=EC=88=98=EC=A0=95?= =?UTF-8?q?=20=EC=82=AC=ED=95=AD=20=EC=A0=81=EC=9A=A9=20(#205)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../_components/category-name-container.tsx | 4 ++-- app/(routes)/guide/category/[category-name]/page.tsx | 7 +++---- app/(routes)/guide/data/category-data.ts | 2 +- app/(routes)/main/_components/main-page-container.tsx | 2 +- components/header-bar/page-header.tsx | 1 + 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/app/(routes)/guide/category/[category-name]/_components/category-name-container.tsx b/app/(routes)/guide/category/[category-name]/_components/category-name-container.tsx index a58249e..49b6121 100644 --- a/app/(routes)/guide/category/[category-name]/_components/category-name-container.tsx +++ b/app/(routes)/guide/category/[category-name]/_components/category-name-container.tsx @@ -32,9 +32,9 @@ export default function CategoryNameContainer({ className='hover:shadow-md transition-shadow cursor-pointer' onClick={() => router.push('/guide/articles/' + article.id)} > - +
-
+
{article.title}; -export default function Page({ params }: { params: any }) { - const raw = (params as { 'category-name': string | string[] })[ - 'category-name' - ]; +export default async function Page({ params }: { params: Params }) { + const { 'category-name': raw } = await params; const categoryName = Array.isArray(raw) ? raw[0] : raw; const decoded = decodeURIComponent(categoryName) as ArticleCategory; diff --git a/app/(routes)/guide/data/category-data.ts b/app/(routes)/guide/data/category-data.ts index 6464bbb..f38e7c6 100644 --- a/app/(routes)/guide/data/category-data.ts +++ b/app/(routes)/guide/data/category-data.ts @@ -9,7 +9,7 @@ export interface Article { tags: string[]; image: string; } -const imagePath = '/images/star-boy-finger.svg'; +const imagePath = '/images/quiz/Star_Pro_Quiz.svg'; export const articles: Record = { '투자 기초': [ diff --git a/app/(routes)/main/_components/main-page-container.tsx b/app/(routes)/main/_components/main-page-container.tsx index 9fd0494..42e566a 100644 --- a/app/(routes)/main/_components/main-page-container.tsx +++ b/app/(routes)/main/_components/main-page-container.tsx @@ -235,7 +235,7 @@ export default function MainPageContainer({ userName, savedTax }: Props) { {accountInfo && ( )} - + {/**/} {/* 약관 개요 모달 */} {showModal && ( diff --git a/components/header-bar/page-header.tsx b/components/header-bar/page-header.tsx index 7c88bea..9c4e2e5 100644 --- a/components/header-bar/page-header.tsx +++ b/components/header-bar/page-header.tsx @@ -52,6 +52,7 @@ export default function PageHeader() { pathname === '/register' || pathname === '/' ? null : pathname === '/main' || pathname === '/isa' || + pathname === '/guide' || pathname === '/etf' ? ( ) : pathname === '/mypage' ? (