-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
78 lines (74 loc) · 2.79 KB
/
index.html
File metadata and controls
78 lines (74 loc) · 2.79 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>썸네일 생성기</title>
<link rel="stylesheet" href="./src/css/main.css" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/html2canvas/1.3.2/html2canvas.min.js"></script>
</head>
<body>
<main class="container">
<h1 class="header-title">💙 썸네일 생성기 💙</h1>
<div class="thumbnail bg" data-test="bg">
<div class="thumbnail-text-wrapper">
<h2 id="title" data-test="title">제목을 입력해주세요.</h2>
<p id="content" data-test="content">내용을 입력해주세요.</p>
</div>
</div>
<div class="input-container">
<div class="input-title-wrapper">
<label for="title-input">제목</label>
<input
maxlength="20"
id="title-input"
class="title-input"
type="text"
placeholder="제목을 입력하세요. (최대 20자)"
data-test="title-input"
/>
</div>
<div class="input-content-wrapper">
<label for="content-input">내용</label>
<input
maxlength="20"
id="content-input"
class="content-input"
type="text"
placeholder="내용을 입력하세요. (최대 20자)"
data-test="content-input"
/>
</div>
</div>
<div class="options">
<div class="option darken">
<input type="checkbox" id="darken" />
<label for="darken">배경 어둡게</label>
</div>
<div class="option">
<input type="checkbox" id="white-text" />
<label for="white-text">흰색 글자</label>
</div>
</div>
<div class="setting">
<div class="setting-bg-btn-wrapper">
<div class="bg-pick" id="random-bg-color">
<button class="btn change-bg-color-btn" data-test="btn_change-bg-color">
랜덤 단색
</button>
<button class="btn change-bg-g-color-btn" data-test="btn_change-g-bg-color">
랜덤 그라데이션
</button>
<label data-test="btn_change-bg-image" for="upload-img" class="btn change-bg-image-btn"
>이미지 등록</label
>
<input name="upload-img" id="upload-img" type="file" accept="image/*" />
</div>
</div>
<button class="btn create-btn" data-test="create">썸네일 생성</button>
</div>
</main>
<script type="module" src="./src/js/index.js"></script>
</body>
</html>