Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
67 lines (60 loc) · 2.88 KB
/
Copy pathindex.html
File metadata and controls
67 lines (60 loc) · 2.88 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover" />
<meta name="theme-color" content="#1b2a4a" />
<title>이태호 | 백엔드 개발자 — 보물찾기 포트폴리오</title>
<link rel="icon" type="image/svg+xml" href="favicon.svg" />
<meta name="description" content="방향키와 스페이스로 보물상자를 찾아 이태호의 포트폴리오를 열어보세요." />
<link rel="stylesheet" href="css/style.css" />
</head>
<body data-state="title">
<div id="stage">
<canvas id="game" aria-label="플랫포머 게임 화면"></canvas>
<!-- HUD / 힌트 / 상자 안내 (DOM으로 렌더 → 선명) -->
<div id="hud" aria-live="polite"><span id="hud-coin"></span> 프로젝트 <span id="hud-count">0/7</span></div>
<div id="hint">← → 이동 · ↑ / Space 점프</div>
<div id="chest-prompt">🎁 Space로 보물 열기!</div>
<!-- 상단 우측 버튼 -->
<div id="topbar">
<button id="mute" class="icon-btn" aria-label="소리 끄기" aria-pressed="false">🔊</button>
<button id="skip" class="pill-btn" aria-label="이력서 바로 보기">⏭ 이력서 바로 보기</button>
</div>
<!-- 타이틀 화면 -->
<div id="title" class="overlay">
<div class="title-card">
<div class="title-badge">PORTFOLIO QUEST</div>
<h1 class="title-name">이태호</h1>
<p class="title-sub">5년차 백엔드 개발자 · 보물찾기 포트폴리오</p>
<p class="title-desc">
캐릭터를 움직여 스테이지 끝의 <b>보물상자 🎁</b>를 찾으면<br />
이태호의 <b>포트폴리오</b>가 열립니다.
</p>
<div class="title-keys">
<span><kbd>←</kbd><kbd>→</kbd> 이동</span>
<span><kbd>↑</kbd><kbd>Space</kbd> 점프 · 열기</span>
</div>
<div class="title-actions">
<button id="btn-start" class="btn primary big">▶ 시작하기</button>
<button id="btn-skip-title" class="btn">⏭ 이력서 바로 보기</button>
</div>
<p class="title-hint">진행 경로의 코인 7개 = 주요 프로젝트 7선</p>
</div>
</div>
<!-- 코인 획득 토스트 -->
<div id="toast" aria-live="polite"></div>
<!-- 모바일 터치 컨트롤 -->
<div id="touch">
<div class="dpad">
<button id="t-left" class="tbtn" aria-label="왼쪽">◀</button>
<button id="t-right" class="tbtn" aria-label="오른쪽">▶</button>
</div>
<button id="t-jump" class="tbtn jump" aria-label="점프 / 열기">↑</button>
</div>
<!-- 보물 모달 (내용은 ui.js가 채움) -->
<div id="modal" class="overlay" role="dialog" aria-modal="true" aria-label="포트폴리오"></div>
</div>
<script type="module" src="js/main.js"></script>
</body>
</html>