-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdefault.html
More file actions
461 lines (430 loc) · 20.9 KB
/
default.html
File metadata and controls
461 lines (430 loc) · 20.9 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
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>JobFlow AI - 취업 준비 플랫폼</title>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
:root {
--primary: #4f46e5; /* Indigo 600 */
--primary-light: #818cf8;
--primary-bg: #eef2ff;
--secondary: #64748b;
--dark: #0f172a;
--light: #f8fafc;
--white: #ffffff;
--border: #e2e8f0;
--shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
--radius: 16px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
font-family: 'Inter', sans-serif;
background-color: #f1f5f9;
color: var(--dark);
height: 100vh;
display: flex;
overflow: hidden;
}
/* --- Sidebar --- */
.sidebar {
width: 260px;
background-color: var(--white);
border-right: 1px solid var(--border);
display: flex;
flex-direction: column;
padding: 24px;
z-index: 10;
}
.logo {
font-size: 22px;
font-weight: 800;
color: var(--primary);
margin-bottom: 40px;
display: flex;
align-items: center;
gap: 10px;
}
.logo i { font-size: 26px; }
.nav-group { margin-bottom: 20px; }
.nav-label {
font-size: 11px;
text-transform: uppercase;
color: #94a3b8;
font-weight: 600;
margin-bottom: 10px;
letter-spacing: 0.5px;
}
.menu-item {
display: flex;
align-items: center;
padding: 12px 16px;
border-radius: 12px;
color: var(--secondary);
font-weight: 500;
font-size: 14px;
cursor: pointer;
transition: all 0.2s ease;
margin-bottom: 4px;
}
.menu-item i { width: 24px; margin-right: 8px; font-size: 16px; }
.menu-item:hover { background-color: var(--light); color: var(--dark); }
.menu-item.active {
background-color: var(--primary-bg);
color: var(--primary);
font-weight: 600;
}
/* --- Main Content --- */
.main {
flex: 1;
display: flex;
flex-direction: column;
position: relative;
}
/* --- Header --- */
.header {
height: 70px;
background-color: rgba(255, 255, 255, 0.8);
backdrop-filter: blur(10px);
border-bottom: 1px solid var(--border);
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 32px;
}
.page-title { font-size: 18px; font-weight: 700; color: var(--dark); }
.user-profile {
display: flex;
align-items: center;
gap: 12px;
font-size: 14px;
font-weight: 500;
}
.avatar {
width: 36px; height: 36px;
background: linear-gradient(135deg, #6366f1, #a855f7);
border-radius: 50%;
display: flex; align-items: center; justify-content: center;
color: white; font-weight: bold; font-size: 14px;
}
/* --- Content Area --- */
.content {
flex: 1;
padding: 32px;
overflow-y: auto;
}
/* --- Components --- */
.card {
background: var(--white);
border-radius: var(--radius);
box-shadow: var(--shadow);
padding: 24px;
border: 1px solid var(--border);
height: 100%;
display: flex;
flex-direction: column;
}
.btn {
background-color: var(--primary);
color: white;
border: none;
padding: 12px 24px;
border-radius: 10px;
font-weight: 600;
cursor: pointer;
transition: transform 0.1s, box-shadow 0.2s;
display: inline-flex;
align-items: center;
gap: 8px;
font-size: 14px;
}
.btn:hover { background-color: #4338ca; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3); }
.btn:active { transform: translateY(0); }
.input-group { margin-bottom: 20px; }
.label { display: block; font-size: 13px; font-weight: 600; color: #475569; margin-bottom: 8px; }
.input-field, .select-field, .textarea-field {
width: 100%;
padding: 12px 16px;
border: 1px solid var(--border);
border-radius: 10px;
font-size: 14px;
font-family: inherit;
transition: border-color 0.2s;
background-color: #f8fafc;
}
.input-field:focus, .textarea-field:focus {
outline: none;
border-color: var(--primary);
background-color: white;
box-shadow: 0 0 0 3px var(--primary-bg);
}
/* --- Sections Logic --- */
.section { display: none; height: 100%; animation: fadeIn 0.3s ease; }
.section.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
/* --- 1. Resume Gen --- */
.resume-grid { display: grid; grid-template-columns: 400px 1fr; gap: 24px; height: 100%; }
.preview-box {
background-color: #fff; border: 1px solid var(--border);
flex: 1; border-radius: 8px; padding: 40px;
box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
font-family: 'Times New Roman', serif; line-height: 1.6; color: #333;
}
/* --- 2. Chat UI (Common) --- */
.chat-wrapper { display: flex; flex-direction: column; height: 100%; }
.chat-header {
padding-bottom: 16px; border-bottom: 1px solid var(--border);
margin-bottom: 16px; display: flex; justify-content: space-between; align-items: center;
}
.chat-body {
flex: 1; overflow-y: auto; padding: 10px;
display: flex; flex-direction: column; gap: 16px;
}
.msg { max-width: 75%; padding: 14px 18px; border-radius: 18px; font-size: 15px; line-height: 1.5; position: relative; }
.msg-ai {
background-color: #f1f5f9; color: var(--dark);
border-bottom-left-radius: 4px;
}
.msg-user {
background-color: var(--primary); color: white;
align-self: flex-end; border-bottom-right-radius: 4px;
box-shadow: 0 4px 10px rgba(79, 70, 229, 0.2);
}
.chat-input-zone {
margin-top: 16px; position: relative;
}
.chat-input-zone input {
width: 100%; padding: 16px; padding-right: 60px;
border-radius: 50px; border: 1px solid var(--border);
box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.send-btn {
position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
width: 40px; height: 40px; border-radius: 50%;
background: var(--primary); color: white; border: none;
cursor: pointer; display: flex; align-items: center; justify-content: center;
}
/* --- 4. Dashboard (Trends) --- */
.bento-grid {
display: grid; grid-template-columns: repeat(3, 1fr);
grid-template-rows: auto auto; gap: 24px;
}
.bento-item { background: white; border-radius: var(--radius); padding: 24px; border: 1px solid var(--border); box-shadow: var(--shadow); }
.bento-lg { grid-column: span 3; }
.trend-tag {
display: inline-block; padding: 6px 12px; background: var(--primary-bg); color: var(--primary);
border-radius: 20px; font-size: 12px; font-weight: 600; margin: 4px;
}
.stat-num { font-size: 32px; font-weight: 800; color: var(--dark); margin: 10px 0; }
.stat-label { color: var(--secondary); font-size: 14px; }
</style>
</head>
<body>
<aside class="sidebar">
<div class="logo">
<i class="fa-solid fa-layer-group"></i>
JobFlow
</div>
<div class="nav-group">
<div class="nav-label">MAIN MENU</div>
<div class="menu-item active" onclick="navTo('resume', this)">
<i class="fa-regular fa-file-lines"></i> 자소서 생성
</div>
<div class="menu-item" onclick="navTo('interview', this)">
<i class="fa-regular fa-comments"></i> CS 면접 연습
</div>
<div class="menu-item" onclick="navTo('github', this)">
<i class="fa-brands fa-github"></i> 깃허브 분석 챗
</div>
<div class="menu-item" onclick="navTo('trends', this)">
<i class="fa-solid fa-chart-line"></i> 트렌드 분석
</div>
</div>
<div class="nav-group" style="margin-top: auto;">
<div class="nav-label">SETTINGS</div>
<div class="menu-item">
<i class="fa-solid fa-gear"></i> 설정
</div>
</div>
</aside>
<main class="main">
<header class="header">
<div class="page-title" id="header-title">자기소개서 생성</div>
<div class="user-profile">
<span>SW전공 3학년님</span>
<div class="avatar">JM</div>
</div>
</header>
<div class="content">
<section id="resume" class="section active">
<div class="resume-grid">
<div class="card">
<h3 style="margin-bottom: 20px;">정보 입력</h3>
<div class="input-group">
<label class="label">지원 직무</label>
<select class="select-field">
<option>Frontend Developer</option>
<option>Backend Developer</option>
<option>AI Engineer</option>
</select>
</div>
<div class="input-group">
<label class="label">회사명</label>
<input type="text" class="input-field" placeholder="예: Naver, Toss">
</div>
<div class="input-group" style="flex:1; display: flex; flex-direction: column;">
<label class="label">핵심 경험 및 스킬</label>
<textarea class="textarea-field" style="flex:1; resize: none;" placeholder="프로젝트 경험, 기술 스택 등을 자세히 적어주세요."></textarea>
</div>
<button class="btn" style="width: 100%; justify-content: center; margin-top: 10px;">
<i class="fa-solid fa-wand-magic-sparkles"></i> AI 자소서 생성하기
</button>
</div>
<div class="card" style="background-color: #52525b; border:none;">
<div class="preview-box">
<h2 style="font-size: 24px; margin-bottom: 20px; border-bottom: 1px solid #ddd; padding-bottom: 10px;">자기소개서</h2>
<p>
<strong>[성장 과정 및 지원 동기]</strong><br><br>
귀사의 혁신적인 개발 문화에 매료되어 지원하게 되었습니다. 저는 소프트웨어학과 3학년에 재학하며...
<span style="color:#ccc;">(여기에 생성된 텍스트가 표시됩니다)</span>
</p>
</div>
<div style="display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px;">
<button class="btn" style="background: white; color: #333;">복사</button>
<button class="btn">PDF 저장</button>
</div>
</div>
</div>
</section>
<section id="interview" class="section">
<div class="card chat-wrapper">
<div class="chat-header">
<div>
<span class="trend-tag" style="margin:0;">운영체제</span>
<span class="trend-tag" style="margin:0; background:#fff7ed; color:#ea580c;">난이도: 중</span>
</div>
<button class="btn" style="padding: 8px 16px; font-size: 12px; background: var(--secondary);">주제 변경</button>
</div>
<div class="chat-body">
<div class="msg msg-ai">
<i class="fa-solid fa-robot" style="margin-right: 5px;"></i>
안녕하세요! CS 면접 연습을 시작합니다.<br>
<strong>"프로세스(Process)와 스레드(Thread)의 차이"</strong>에 대해 설명해 주실 수 있나요?
</div>
<div class="msg msg-user">
프로세스는 운영체제로부터 자원을 할당받는 작업의 단위이고, 스레드는 프로세스 내에서 실행되는 흐름의 단위입니다.
</div>
<div class="msg msg-ai">
정확합니다! 👍<br>
그렇다면 <strong>멀티 프로세스와 멀티 스레드</strong> 중, 자원 효율성 측면에서 어떤 것이 더 유리하며 그 이유는 무엇인가요?
</div>
</div>
<div class="chat-input-zone">
<input type="text" placeholder="답변을 입력하세요...">
<button class="send-btn"><i class="fa-solid fa-paper-plane"></i></button>
</div>
</div>
</section>
<section id="github" class="section">
<div class="card chat-wrapper">
<div class="chat-header" style="background: #f8fafc; padding: 16px; border-radius: 12px;">
<div style="display: flex; width: 100%; gap: 10px;">
<i class="fa-brands fa-github" style="font-size: 24px;"></i>
<input type="text" class="input-field" value="https://github.com/my-account/nlp-project" style="background: white;">
<button class="btn">분석</button>
</div>
</div>
<div class="chat-body">
<div style="text-align: center; color: #94a3b8; font-size: 13px; margin: 10px 0;">
<span>Today 10:23 AM</span>
</div>
<div class="msg msg-ai">
분석이 완료되었습니다. 🚀<br>
`README.md`와 `app.py` 코드를 확인했습니다.<br>
이 프로젝트에서 <strong>FastAPI를 선택한 이유</strong>와 비동기 처리는 어떻게 구현했는지 질문할게요.
</div>
</div>
<div class="chat-input-zone">
<input type="text" placeholder="프로젝트 관련 질문에 답변해보세요...">
<button class="send-btn"><i class="fa-solid fa-paper-plane"></i></button>
</div>
</div>
</section>
<section id="trends" class="section">
<div class="bento-grid">
<div class="bento-item bento-lg" style="background: linear-gradient(135deg, #4f46e5, #818cf8); color: white; border: none;">
<h2 style="font-size: 24px; margin-bottom: 10px;">🚀 오늘의 IT 트렌드 요약</h2>
<p style="opacity: 0.9; line-height: 1.6;">
1. <strong>LLM의 온디바이스(On-device)화</strong>가 가속화되고 있습니다.<br>
2. React 19의 새로운 훅(Hook)들이 개발 생산성을 높이고 있습니다.<br>
3. 클라우드 비용 절감을 위한 FinOps 솔루션 도입이 증가세입니다.
</p>
</div>
<div class="bento-item">
<div class="stat-label">분석된 기사 수</div>
<div class="stat-num">1,240</div>
<div style="color: #10b981; font-size: 13px;">▲ 12% (전일 대비)</div>
</div>
<div class="bento-item">
<div class="stat-label">주요 키워드</div>
<div style="margin-top: 15px;">
<span class="trend-tag">#AI Agent</span>
<span class="trend-tag">#Next.js</span>
<span class="trend-tag">#Python</span>
<span class="trend-tag">#Security</span>
</div>
</div>
<div class="bento-item">
<div class="stat-label">업계 감정 분석</div>
<div style="display: flex; align-items: center; justify-content: center; height: 100px;">
<div style="width: 80px; height: 80px; border-radius: 50%; background: conic-gradient(#4f46e5 0% 70%, #e2e8f0 70% 100%); display: flex; align-items: center; justify-content: center;">
<div style="width: 60px; height: 60px; background: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 12px;">
긍정 70%
</div>
</div>
</div>
</div>
</div>
<h3 style="margin: 30px 0 15px 0;">추천 뉴스</h3>
<div class="card" style="height: auto; padding: 0;">
<div style="padding: 20px; border-bottom: 1px solid #f1f5f9; display: flex; justify-content: space-between;">
<div>
<div style="font-weight: 600; margin-bottom: 5px;">오픈AI, 새로운 추론 모델 발표</div>
<div style="font-size: 13px; color: #64748b;">TechCrunch • 2시간 전</div>
</div>
<button class="btn" style="padding: 6px 12px; font-size: 12px; background: #f1f5f9; color: #333;">요약 보기</button>
</div>
<div style="padding: 20px; display: flex; justify-content: space-between;">
<div>
<div style="font-weight: 600; margin-bottom: 5px;">2025년 웹 개발 로드맵 총정리</div>
<div style="font-size: 13px; color: #64748b;">Velog • 5시간 전</div>
</div>
<button class="btn" style="padding: 6px 12px; font-size: 12px; background: #f1f5f9; color: #333;">요약 보기</button>
</div>
</div>
</section>
</div>
</main>
<script>
function navTo(sectionId, element) {
// 1. 섹션 전환
document.querySelectorAll('.section').forEach(sec => sec.classList.remove('active'));
document.getElementById(sectionId).classList.add('active');
// 2. 메뉴 활성화
document.querySelectorAll('.menu-item').forEach(item => item.classList.remove('active'));
element.classList.add('active');
// 3. 타이틀 변경
const titles = {
'resume': '자기소개서 생성',
'interview': 'CS 실전 면접',
'github': '깃허브 프로젝트 분석',
'trends': '업계 트렌드 대시보드'
};
document.getElementById('header-title').innerText = titles[sectionId];
}
</script>
</body>
</html>