fix: PDF 문제 분리 메뉴 위치 개선 — 문제집 바로 아래로 이동 + 문제집 페이지에 진입 버튼 추가

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
reloop
2026-04-17 09:02:50 +09:00
parent 45cb02f3fc
commit f87563270e
2 changed files with 10 additions and 6 deletions

View File

@@ -218,6 +218,10 @@ function ExamsBody() {
<Icon name="file-pdf" size={14} />
PDF
</Button>
<Button type="button" $variant="primary" $size="sm" onClick={() => router.push('/study/import-pdf')}>
<Icon name="file-pdf" size={14} />
PDF
</Button>
</ActionButtons>
</ActionCard>
</ActionRow>

View File

@@ -35,6 +35,12 @@ const BASE_NAV_ITEMS: Array<{
match: (pathname) =>
pathname.startsWith('/exams') || pathname.startsWith('/study/exam'),
},
{
href: '/study/import-pdf',
label: 'PDF 문제 분리',
icon: 'file-pdf',
match: (pathname) => pathname.startsWith('/study/import-pdf'),
},
{
href: '/review',
label: '복습',
@@ -54,12 +60,6 @@ const BASE_NAV_ITEMS: Array<{
icon: 'folders',
match: (pathname) => pathname.startsWith('/subjects'),
},
{
href: '/study/import-pdf',
label: 'PDF 가져오기',
icon: 'file-pdf',
match: (pathname) => pathname.startsWith('/study/import-pdf'),
},
{
href: '/pricing',
label: '플랜',