-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
288 lines (267 loc) · 13.8 KB
/
Copy pathindex.html
File metadata and controls
288 lines (267 loc) · 13.8 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>VPR | Home</title>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+KR:wght@400;500;600;700&family=Space+Grotesk:wght@500;700&display=swap"
rel="stylesheet"
/>
<link rel="stylesheet" href="styles.css" />
</head>
<body data-page="home">
<div class="app-shell">
<aside class="sidebar">
<div>
<a class="brand brand-link" href="index.html">
<div class="brand-mark">V</div>
<div>
<p class="eyebrow">Virtual Program Runner</p>
<h1>VPR</h1>
</div>
</a>
<nav class="menu">
<a class="menu-item is-active" href="index.html"><span>홈</span><small>Home</small></a>
<a class="menu-item" href="editor.html"><span>에디터</span><small>Editor</small></a>
<a class="menu-item" href="examples.html"><span>예제</span><small>Examples</small></a>
<a class="menu-item" href="assistant.html"><span>AI 도우미</span><small>Assistant</small></a>
<a class="menu-item" href="errors.html"><span>에러 해결</span><small>Error Fix</small></a>
<a class="menu-item" href="community.html"><span>공유</span><small>Community</small></a>
</nav>
</div>
<div class="sidebar-card">
<p class="eyebrow">빠른 시작</p>
<h2>설치 없이 바로 코딩</h2>
<p>기능을 페이지별로 나눠 처음 보는 사용자도 길을 잃지 않게 구성했습니다.</p>
</div>
</aside>
<main class="main-content page-stack">
<header class="topbar">
<div>
<p class="eyebrow">Welcome Home</p>
<h2 id="page-title">오늘의 코딩 홈</h2>
</div>
<div class="topbar-actions">
<label class="language-switch" for="localeSelect">
<span>언어</span>
<select id="localeSelect">
<option value="ko">한국어</option>
<option value="en">English</option>
</select>
</label>
<label class="language-switch" for="themeSelect">
<span>테마</span>
<select id="themeSelect">
<option value="light">Light</option>
<option value="dark">Dark</option>
</select>
</label>
<a class="ghost-button" href="community.html">예제 보기</a>
<a class="primary-button" href="editor.html">코딩 시작</a>
</div>
</header>
<section class="hero">
<div class="hero-copy">
<p class="eyebrow">초보자를 위한 온라인 코딩 홈</p>
<h3>어디서 시작할지 고민하지 않게, 홈에서 길을 잡아줍니다</h3>
<p>
오늘 작업 상태 확인, 빠른 시작, 학습 보조 진입을 이 화면 하나에서 해결하도록
홈을 대시보드처럼 구성했습니다.
</p>
<div class="home-hero-badges">
<span class="home-badge">최근 프로젝트 요약</span>
<span class="home-badge">1클릭 코딩 시작</span>
<span class="home-badge">에러 해결 동선 단축</span>
</div>
<div class="hero-actions">
<a class="primary-button" href="editor.html">지금 바로 작성</a>
<a class="secondary-button" href="assistant.html">AI에게 아이디어 받기</a>
</div>
</div>
<div class="hero-grid">
<article class="stat-card accent-a">
<p>오늘의 흐름</p>
<strong>작성 -> 실행 -> 공유</strong>
<span>에디터에서 작성하고, 예제로 확장하고, 커뮤니티에 연결</span>
</article>
<article class="stat-card accent-b">
<p>학습 루트</p>
<strong>AI 코치 + 에러 가이드</strong>
<span>아이디어와 디버깅을 분리해 학습 집중도를 높임</span>
</article>
<article class="stat-card accent-c">
<p>빠른 점프</p>
<strong>홈에서 바로가기</strong>
<span>필요한 페이지를 찾느라 메뉴를 헤매지 않도록 구성</span>
</article>
</div>
</section>
<section class="home-command-grid">
<article class="feature-card">
<p class="eyebrow">Quick Launch</p>
<h3>오늘 할 일 바로 시작</h3>
<div class="home-shortcut-grid home-launch-grid">
<a class="ghost-button" href="editor.html">빈 코드로 시작</a>
<a class="ghost-button" href="examples.html">예제로 시작</a>
<a class="ghost-button" href="errors.html">에러부터 해결</a>
<a class="ghost-button" href="assistant.html">AI에게 설계 요청</a>
</div>
</article>
<article class="feature-card">
<p class="eyebrow">Start Path</p>
<h3>첫 10분 가이드</h3>
<div class="home-step-list">
<div class="home-step-item"><strong>1.</strong> 에디터에서 언어 선택 후 샘플 실행</div>
<div class="home-step-item"><strong>2.</strong> AI 도우미에서 코드 초안 받기</div>
<div class="home-step-item"><strong>3.</strong> 에러 해결 페이지로 메시지 분석</div>
<div class="home-step-item"><strong>4.</strong> 커뮤니티 예제와 비교해 개선</div>
</div>
</article>
</section>
<section class="dashboard-grid">
<article class="feature-card">
<p class="eyebrow">페이지 구성</p>
<h3>기능별 분리 구조</h3>
<div class="response-box compact-box">
<strong>Home</strong>
<p>전체 구조와 최근 프로젝트 현황 확인</p>
<strong>Editor</strong>
<p>코드 작성, 저장, 실행, 미리보기, 가져오기/내보내기</p>
<strong>Assistant / Errors / Community</strong>
<p>학습 보조, 오류 해설, 예제 탐색을 각 페이지에서 집중</p>
</div>
</article>
<article class="feature-card">
<p class="eyebrow">최근 작업</p>
<h3>내 프로젝트 현황</h3>
<div class="response-box compact-box" id="homeProjectSummary"></div>
</article>
</section>
<section class="quick-link-grid">
<a class="feature-card card-link" href="editor.html">
<p class="eyebrow">Editor</p>
<h3>코드를 쓰고 저장</h3>
<p>JavaScript 실행, HTML 미리보기, 로컬 프로젝트 라이브러리</p>
</a>
<a class="feature-card card-link" href="assistant.html">
<p class="eyebrow">Assistant</p>
<h3>아이디어와 학습 포인트</h3>
<p>언어별 학습 포인트와 프로젝트 주제 추천</p>
</a>
<a class="feature-card card-link" href="errors.html">
<p class="eyebrow">Errors</p>
<h3>오류 메시지 해설</h3>
<p>문법, null/undefined, 인덱스 오류 같은 대표 패턴 가이드</p>
</a>
<a class="feature-card card-link" href="community.html">
<p class="eyebrow">Community</p>
<h3>예제에서 바로 시작</h3>
<p>공개 스니펫을 고르고 에디터로 넘겨서 바로 수정</p>
</a>
</section>
<section class="feature-card">
<p class="eyebrow">홈 탭</p>
<h3>설정, 바로가기, 로그인</h3>
<div class="home-tabs">
<button class="home-tab-button is-active" type="button" data-home-tab="settings">설정</button>
<button class="home-tab-button" type="button" data-home-tab="shortcuts">바로가기</button>
<button class="home-tab-button" type="button" data-home-tab="tools">도구</button>
<button class="home-tab-button" type="button" data-home-tab="login">로그인</button>
</div>
<div class="home-tab-panel is-visible" data-home-panel="settings">
<div class="home-settings-grid">
<label>
화면 테마
<select id="homeThemeSelect">
<option value="light">Light</option>
<option value="dark">Dark</option>
</select>
</label>
<label>
인터페이스 언어
<select id="homeLocaleSelect"></select>
</label>
</div>
</div>
<div class="home-tab-panel" data-home-panel="shortcuts">
<div class="home-shortcut-grid">
<a class="ghost-button" href="editor.html">코드 작성 바로가기</a>
<a class="ghost-button" href="examples.html">언어별 예제 바로가기</a>
<a class="ghost-button" href="profile.html">프로필 설정 바로가기</a>
<a class="ghost-button" href="community.html">공개 코드 바로가기</a>
</div>
</div>
<div class="home-tab-panel" data-home-panel="tools">
<div class="home-tools-grid">
<article class="home-tool-card">
<h4>빠른 메모장</h4>
<p>아이디어, TODO, 디버깅 포인트를 홈에서 바로 적어두세요.</p>
<textarea id="homeMemoInput" placeholder="여기에 메모를 작성하세요"></textarea>
<div class="button-row">
<button class="primary-button small" id="homeMemoSaveButton" type="button">메모 저장</button>
<button class="ghost-button small" id="homeMemoClearButton" type="button">메모 비우기</button>
</div>
<small id="homeMemoStatus" class="home-tool-status">아직 저장된 메모가 없습니다.</small>
</article>
<article class="home-tool-card">
<h4>오늘 할 일 체크리스트</h4>
<p>짧은 작업을 적고 체크하면서 흐름을 유지하세요.</p>
<div class="home-todo-input-row">
<input id="homeTodoInput" type="text" placeholder="예: Python 에러 로그 분석" />
<button class="secondary-button small" id="homeTodoAddButton" type="button">추가</button>
</div>
<ul id="homeTodoList" class="home-todo-list"></ul>
</article>
</div>
</div>
<div class="home-tab-panel" data-home-panel="login">
<div class="home-auth-grid">
<article>
<h4>로그인 (2중 비밀번호)</h4>
<label>아이디<input id="homeLoginUsername" type="text" /></label>
<label>1차 비밀번호<input id="homeLoginPassword" type="password" /></label>
<label>2차 비밀번호<input id="homeLoginSecondPassword" type="password" /></label>
<div class="button-row">
<button class="primary-button small" id="homeLoginButton" type="button">로그인</button>
<button class="ghost-button small" id="homeLogoutButton" type="button">로그아웃</button>
</div>
</article>
<article>
<h4>간편 회원가입</h4>
<label>아이디<input id="homeRegisterUsername" type="text" /></label>
<label>1차 비밀번호<input id="homeRegisterPassword" type="password" /></label>
<label>2차 비밀번호<input id="homeRegisterSecondPassword" type="password" /></label>
<button class="secondary-button small" id="homeRegisterButton" type="button">계정 만들기</button>
</article>
</div>
<div class="response-box" id="homeAuthStatus"></div>
</div>
</section>
<section class="feature-card home-browser-section">
<p class="eyebrow">Embedded Browser</p>
<h3>내장 브라우저</h3>
<p>문서 검색, 레퍼런스 확인을 홈 하단에서 바로 진행할 수 있습니다.</p>
<div class="home-browser-toolbar">
<input id="homeBrowserUrlInput" type="text" placeholder="주소 입력 (예: developer.mozilla.org)" />
<button class="primary-button small" id="homeBrowserGoButton" type="button">이동</button>
<button class="ghost-button small" id="homeBrowserReloadButton" type="button">새로고침</button>
<button class="ghost-button small" id="homeBrowserHomeButton" type="button">홈</button>
<button class="secondary-button small" id="homeBrowserOpenExternalButton" type="button">새 탭</button>
</div>
<iframe
id="homeBrowserFrame"
class="home-browser-frame"
title="home embedded browser"
referrerpolicy="no-referrer"
loading="lazy"
></iframe>
<small id="homeBrowserStatus" class="home-tool-status">브라우저 준비됨</small>
</section>
</main>
</div>
<script src="app.js"></script>
</body>
</html>