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 ? '테스트 다시 하기 ' : '테스트 하러 가기 '} 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' ? (