-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
278 lines (278 loc) · 15.3 KB
/
index.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://hyewonkkang.github.io/blog-banner-generator/" />
<meta property="og:title" content="blog-banner-generator" />
<meta property="og:image" content="https://i.esdrop.com/d/f/ooz4yBVHWn/JzJpUbCLse.png" />
<meta
property="og:description"
content="티스토리, 벨로그 썸네일을 기본 템플릿으로 쉽게 만들기"
/>
<meta property="og:site_name" content="blog-banner-generator" />
<meta property="og:locale" content="ko_KR" />
<script src="https://code.jquery.com/jquery-3.4.1.js"></script>
<title>BLOG BANNER GENERATOR</title>
<link rel="favicon" href="assets/favicon.ico" type="image/x-icon" sizes="16x16" />
<link
rel="icon"
href="https://hyewonkkang.github.io/blog-banner-generator/favicon.ico?v=2"
/>
<link rel="stylesheet" href="style.css" />
<link rel="stylesheet" href="assets/webgradients.css" />
<link rel="stylesheet" href="assets/colors.css" />
<link rel="stylesheet" href="assets/fonts.css" />
<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=Black+Han+Sans&family=Gothic+A1:wght@400;500;600;700;800&family=Gowun+Dodum&family=IBM+Plex+Sans+KR:wght@400;500;600;700&family=Nanum+Gothic:wght@400;700;800&family=Nanum+Myeongjo:wght@400;700;800&family=Noto+Sans+KR:wght@400;500;700;900&family=Noto+Serif+KR:wght@400;500;600;700;900&display=swap"
rel="stylesheet"
/>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/lodash.js/4.17.21/lodash.min.js"
integrity="sha512-WFN04846sdKMIP5LKNphMaWzU7YpMyCU245etK3g/2ARYbPK9Ub18eG+ljU96qKRCWh+quCY7yefSmlkQw1ANQ=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
></script>
</head>
<body>
<header>
<a class="logo" onClick="window.location.reload()">
<img src="assets/images/logo.svg" />
</a>
<a
class="github-icon"
href="https://velog.io/@hyewon_kkang/%EB%B2%A8%EB%A1%9C%EA%B7%B8-%ED%8B%B0%EC%8A%A4%ED%86%A0%EB%A6%AC-%EC%8D%B8%EB%84%A4%EC%9D%BC%EB%B0%B0%EB%84%88-%EC%A0%9C%EC%9E%91-%EC%82%AC%EC%9D%B4%ED%8A%B8-blog-banner-generator"
target="_blank"
>©2023 HyewonKkang</a
>
</header>
<section class="container">
<div class="stepper">
<div class="step step-item-process">
<div class="step-indicator">
<div class="step-number">1</div>
</div>
<div class="step-content"></div>
</div>
<div class="step step-item-wait">
<div class="step-indicator">
<div class="step-number">2</div>
</div>
</div>
<div class="step step-item-wait">
<div class="step-indicator">
<div class="step-number">3</div>
</div>
</div>
</div>
<div class="content-wrapper">
<div class="content content-1 visible">
<p class="content-step-number">Step 1</p>
<h3 class="content-title">배너 사이즈 고르기</h3>
<p class="content-description">
제작할 배너의 사이즈를 선택합니다. velog의 경우 4 x 3 사이즈의 배너를,
tistory의 경우 1 x 1 사이즈의 배너를 선택하면 됩니다.
</p>
<div class="content-inner">
<div class="banner-size-select-section">
<div
class="banner-size-template banner-size-selected"
role="button"
aria-button-name="1600x900"
>
<div class="empty-banner banner-4x3"></div>
<span>4 x 3</span>
</div>
<div
class="banner-size-template"
role="button"
aria-button-name="800x800"
>
<div class="empty-banner banner-1x1"></div>
<span>1 x 1</span>
</div>
</div>
</div>
</div>
<div class="content content-2">
<p class="content-step-number">Step 2</p>
<h3 class="content-title">배너 템플릿 고르기</h3>
<p class="content-description">
원하는 배너 디자인을 템플릿 가운데 선택합니다.<br />
원하는 디자인이 없는 경우,
<a href="https://github.com/HyewonKkang/blog-banner-generator/issues"
>이슈</a
>에 남겨주시면 추가해드립니다. 단 이미지 도용은 불가합니다.
</p>
<div class="content-inner">
<div class="template-grid template-grid-1600x900 visible"></div>
<div class="template-grid template-grid-800x800"></div>
</div>
</div>
<div class="content content-3">
<p class="content-step-number">Step 3</p>
<h3 class="content-title">배너 내부 요소 채우기</h3>
<p class="content-description">
선택한 배너의 색상 및 배경을 설정합니다. 이후 배너에 포함될 제목, 부제목,
태그 요소 등을 입력하고 배치합니다.<br />
완성된 배너는 이미지 형식으로 다운 받을 수 있습니다.
</p>
<div class="content-inner">
<div class="preview-wrapper">
<div
class="preview preview-size-1600x900 warm_flame preview-text-center text-large template-0 font-noto-sans"
>
<div class="preview-inner">
<div class="preview-title">제목을 입력하세요</div>
<div class="preview-subtitle">
<span>부제목을 입력하세요.</span>
</div>
</div>
</div>
</div>
<div class="control-panel">
<div class="style-options-group">
<div class="select-button-group bg-select">
<button
class="select-button selected"
id="gradient-type"
tabindex="0"
>
그라디언트
</button>
<button class="select-button" id="solid-type" tabindex="1">
단색
</button>
<button class="select-button" id="image-type" tabindex="2">
이미지
</button>
</div>
<div class="bg-input">
<div class="gradients visible bg-input-type"></div>
<div class="solid bg-input-type">
<div class="palette">
<input
type="color"
id="bg-color-picker"
class="hidden-bg-color-picker"
/>
</div>
</div>
<div class="image bg-input-type">
<label for="random-image">랜덤 이미지 생성하기</label>
<button type="button" class="button" id="random-image-btn">
Generate
</button>
<label for="img-url">이미지 URL 직접 입력하기</label>
<span class="textfield-button-group">
<input
type="text"
class="textfield"
id="img-url"
placeholder="https://"
/>
<button type="button" class="button" id="url-image-btn">
Enter
</button>
</span>
</div>
</div>
</div>
<div class="text-control-group">
<div class="select-button-group text-align-select">
<button class="select-button" id="text-align-left" tabindex="0">
<img src="assets/icons/align-left.svg" width="24" />
</button>
<button
class="select-button selected"
id="text-align-center"
tabindex="1"
>
<img src="assets/icons/align-center.svg" width="24" />
</button>
<button
class="select-button"
id="text-align-right"
tabindex="2"
>
<img src="assets/icons/align-right.svg" width="24" />
</button>
</div>
<label for="font-color-picker" class="font-color-picker">
<div class="font-color-preview" role="button">
<img src="assets/icons/font-color.svg" width="24" />
</div>
<input
type="color"
id="font-color-picker"
class="hidden-font-color-picker"
/>
</label>
<div
role="button"
class="font-size selected"
aria-label="폰트 크게"
>
<img src="assets/icons/font-size.svg" width="24" />
</div>
<select class="font-picker">
<option value="font-noto-sans" class="font-noto-sans">
Noto Sans KR
</option>
<option value="font-ibm-plex" class="font-ibm-plex">
IBM Plex Sans KR
</option>
<option value="font-black-han-sans" class="font-black-han-sans">
Black Han Sans
</option>
<option value="font-gothic-a1" class="font-gothic-a1">
Gothic A1
</option>
<option value="font-gowun-dodum" class="font-gowun-dodum">
Gowun Dodum
</option>
<option value="font-nanum-gothic" class="font-nanum-gothic">
Nanum Gothic
</option>
<option value="font-nanum-myeongjo" class="font-nanum-myeongjo">
Nanum Myeongjo
</option>
<option value="font-noto-serif" class="font-noto-serif">
Noto Serif KR
</option>
</select>
</div>
<div class="input-group">
<input
class="textfield"
type="text"
id="title"
placeholder="제목을 입력하세요."
/>
<input
class="textfield"
type="text"
id="subtitle"
placeholder="부제목을 입력하세요."
/>
</div>
</div>
</div>
</div>
<div class="contour"></div>
<button class="button next-btn visible">Next</button>
<button class="button submit-btn">Submit</button>
<button class="button prev-btn">Previous</button>
</div>
</section>
<script src="js/app.js"></script>
<script src="js/stepper.js"></script>
<script defer src="js/preview.js" type="module"></script>
<script defer src="js/control.js" type="module"></script>
<script src="assets/js/html2canvas.js"></script>
<script src="assets/js/html2canvas.min.js"></script>
</body>
</html>