|
10 | 10 | <body class="bg-slate-100 text-slate-900"> |
11 | 11 | <div class="min-h-screen"> |
12 | 12 | <header class="sticky top-0 z-30 border-b border-slate-200 bg-white/90 backdrop-blur"> |
13 | | - <div class="mx-auto flex max-w-7xl items-center justify-between px-4 py-3 sm:px-6 lg:px-8"> |
14 | | - <div> |
15 | | - <h1 class="text-xl font-bold sm:text-2xl">AI/ML Python 실습 클래스</h1> |
16 | | - <p class="text-sm text-slate-600">좌측 메뉴에서 챕터를 열고 실행해 코드와 결과를 동시에 확인하세요.</p> |
17 | | - </div> |
| 13 | + <div class="mx-auto flex max-w-7xl items-center gap-3 px-4 py-3 sm:px-6 lg:px-8"> |
18 | 14 | <button |
19 | 15 | id="open-menu" |
20 | | - class="rounded-lg bg-blue-600 px-4 py-2 text-sm font-semibold text-white shadow hover:bg-blue-700" |
| 16 | + class="inline-flex h-11 w-11 flex-shrink-0 items-center justify-center rounded-lg border border-slate-300 text-slate-700 shadow-sm transition hover:bg-slate-100" |
21 | 17 | type="button" |
| 18 | + aria-label="메뉴 열기" |
22 | 19 | > |
23 | | - 메뉴 열기 |
| 20 | + <span class="flex flex-col items-center gap-1" aria-hidden="true"> |
| 21 | + <span class="h-0.5 w-5 rounded bg-current"></span> |
| 22 | + <span class="h-0.5 w-5 rounded bg-current"></span> |
| 23 | + <span class="h-0.5 w-5 rounded bg-current"></span> |
| 24 | + </span> |
24 | 25 | </button> |
| 26 | + <div class="min-w-0 flex-1"> |
| 27 | + <h1 class="text-xl font-bold sm:text-2xl">AI/ML Python 실습 클래스</h1> |
| 28 | + <p class="text-sm text-slate-600">좌측 메뉴에서 챕터를 열고 실행해 코드와 결과를 동시에 확인하세요.</p> |
| 29 | + </div> |
25 | 30 | </div> |
26 | 31 | </header> |
27 | 32 |
|
@@ -50,14 +55,14 @@ <h2 class="font-semibold">실행 결과</h2> |
50 | 55 |
|
51 | 56 | <aside |
52 | 57 | id="offcanvas" |
53 | | - class="fixed left-0 top-0 z-50 h-full w-[min(90vw,400px)] -translate-x-full border-r border-slate-200 bg-white shadow-2xl transition-transform duration-300" |
| 58 | + class="fixed left-0 top-0 z-50 flex h-full w-[min(90vw,400px)] -translate-x-full flex-col border-r border-slate-200 bg-white shadow-2xl transition-transform duration-300" |
54 | 59 | aria-hidden="true" |
55 | 60 | > |
56 | 61 | <div class="flex items-center justify-between border-b border-slate-200 px-4 py-3"> |
57 | 62 | <h2 class="font-bold">챕터 메뉴</h2> |
58 | 63 | <button id="close-menu" class="rounded-md px-2 py-1 text-slate-600 hover:bg-slate-100" type="button">닫기</button> |
59 | 64 | </div> |
60 | | - <div class="p-3"> |
| 65 | + <div class="min-h-0 flex-1 overflow-y-auto p-3"> |
61 | 66 | <ul id="chapter-list" class="space-y-2"></ul> |
62 | 67 | </div> |
63 | 68 | </aside> |
|
0 commit comments