-
Notifications
You must be signed in to change notification settings - Fork 83
/
index.html
335 lines (323 loc) · 12.6 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
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
<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<title>An Awesome Banner Designer By Hasin Hayder</title>
<!-- Hotjar Tracking Code for bannerdesigner.leevio.com -->
<link rel="stylesheet" href="css/style.css?2"/>
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css"/>
</head>
<body>
<a href="https://github.com/hasinhayder/banner-designer"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://camo.githubusercontent.com/365986a132ccd6a44c23a9169022c0b5c890c387/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f7265645f6161303030302e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png"></a>
<div class="section-dark section">
<div class="container">
<div class="row">
<div class="col-md-12 main">
<h2>An Awesome Banner Designer</h2>
<p>
Drag and place the text blocks, add image background, change color and font families and design beautiful banners instantly!
</p>
</div>
</div>
<div class="row">
<form action="">
<div class="col-md-6">
<div class="row">
<div class="col-md-6">
<div class="form-group">
<label>Canvas width</label>
<input type="text" value="1140px" class="form-control" id="canvas_width" placeholder="">
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<label>Canvas height</label>
<input type="text" value="600" class="form-control" id="canvas_height">
</div>
</div>
</div>
<div class="row">
<div class="col-md-6">
<div class="form-group">
<label>Icon width</label>
<input value="auto" type="text" class="form-control" id="icon_width" placeholder="">
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<label>Icon height</label>
<input value="auto" type="text" class="form-control" id="icon_height">
</div>
</div>
</div>
<div class="row">
<div class="col-md-6">
<div class="form-group">
<label>Title width</label>
<input type="text" value="500" class="form-control" id="title_width" placeholder="">
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<label>Title font size</label>
<input type="text" value="60px" class="form-control" id="title_fontsize">
</div>
</div>
</div>
<div class="row">
<div class="col-md-6">
<div class="form-group">
<label>Paragraph width</label>
<input type="text" value="600" class="form-control" id="paragraph_width"
placeholder="">
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<label>Paragraph font size</label>
<input type="text" value="20px" class="form-control" id="paragraph_fontsize">
</div>
</div>
</div>
<div class="row">
<div class="col-md-6">
<div class="form-group">
<label>Title line height</label>
<input value="70px" type="text" class="form-control" id="title_lh"
placeholder="">
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<label>Paragraph line height</label>
<input value="32px" type="text" class="form-control" id="paragraph_lh">
</div>
</div>
</div>
<div class="row">
<div class="col-md-6">
<div class="form-group">
<label>Title text alignment</label>
<select class="form-control" name="" id="title_alignment">
<option value="left">Left</option>
<option value="center">Center</option>
<option value="right">Right</option>
</select>
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<label>Paragraph text alignment</label>
<select class="form-control" name="" id="paragraph_alignment">
<option value="left">Left</option>
<option value="center">Center</option>
<option value="right">Right</option>
</select>
</div>
</div>
</div>
<div class="row">
<div class="col-md-6">
<div class="form-group">
<label>Title fontface</label>
<input value="Open Sans" type="text" class="form-control" id="title_font"
placeholder="">
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<label>Paragraph fontface</label>
<input value="Open Sans" type="text" class="form-control" id="paragraph_font">
</div>
</div>
</div>
<div class="row">
<div class="col-md-6">
<div class="form-group">
<label>Title padding</label>
<input value="0px" type="text" class="form-control" id="title_padding"
placeholder="">
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<label>Paragraph padding</label>
<input value="0px" type="text" class="form-control" id="paragraph_padding">
</div>
</div>
</div>
<div class="row">
<div class="col-md-6">
<div class="form-group">
<label>Title border width</label>
<input value="0px" type="text" class="form-control" id="title_border_width"
placeholder="">
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<label>Paragraph border width</label>
<input value="0px" type="text" class="form-control" id="paragraph_border_width">
</div>
</div>
</div>
<div class="row">
<div class="col-md-6">
<div class="form-group">
<label>Title border color</label>
<input value="#ffffff" type="color" class="form-control" id="title_border_color"
placeholder="">
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<label>Paragraph border color</label>
<input value="#ffffff" type="color" class="form-control" id="paragraph_border_color">
</div>
</div>
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<label>Title text</label>
<textarea class="form-control" id="title_text" rows="2">Hellen Keller</textarea>
</div>
<div class="form-group">
<label>Paragraph text</label>
<textarea class="form-control" id="paragraph_text" rows="3">The best and most beautiful things in the world cannot be seen or even touched - they must be felt with the heart. </textarea>
</div>
<div class="row">
<div class="col-md-9">
<div class="form-group">
<label>Icon source (paste any url)</label>
<input value="icon.png" type="text" class="form-control" id="icon_src">
</div>
</div>
<div class="col-md-3">
<div class="checkbox">
<label> </label><br/>
<label><input checked type="checkbox" id="hide_icon"> Hide icon</label>
</div>
</div>
</div>
<div class="row">
<div class="col-md-6">
<div class="form-group">
<label>Canvas background image url</label>
<input value="pic.jpg" type="text" class="form-control" id="canvas_src">
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<label>Canvas background position</label>
<select class="form-control" id="canvas_bg_position">
<option value="center center">Center</option>
<option value="left top">Left Top</option>
<option value="left center">Left Center</option>
<option value="left bottom">Left Bottom</option>
<option value="right top">Right Top</option>
<option value="right center">Right Center</option>
<option value="right bottom">Right Bottom</option>
<option value="center top">Center Top</option>
<option value="center bottom">Center Bottom</option>
</select>
</div>
</div>
</div>
<div class="row">
<div class="col-md-3">
<div class="form-group">
<label>Overlay color</label>
<input value="#000000" type="color" class="form-control" id="overlay_color"
placeholder="">
</div>
</div>
<div class="col-md-9">
<div class="form-group">
<label>Overlay opacity</label>
<input value="0.6" type="text" class="form-control" id="overlay_opacity">
</div>
</div>
</div>
<div class="row">
<div class="col-md-6">
<div class="form-group">
<label>Title text color</label>
<input value="#ffffff" type="color" class="form-control" id="title_color"
placeholder="">
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<label>Paragraph text color</label>
<input value="#ffffff" type="color" class="form-control" id="paragraph_color">
</div>
</div>
</div>
<div class="row">
<div class="col-md-6">
<div class="form-group">
<label>Title background color</label>
<div class="row">
<div class="col-md-4">
<input value="#ffffff" type="color" class="form-control" id="title_bg_color">
</div>
<div class="col-md-8 vc">
<label><input checked type="checkbox" id="title_bg_transparent"> Transparent</label>
</div>
</div>
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<label>Paragraph background color</label>
<div class="row">
<div class="col-md-4">
<input value="#ffffff" type="color" class="form-control" id="paragraph_bg_color">
</div>
<div class="col-md-8 vc">
<label><input checked type="checkbox" id="paragraph_bg_transparent"> Transparent</label>
</div>
</div>
</div>
</div>
</div>
</div>
</form>
</div>
</div>
</div>
<div class="section">
<div class="container">
<div class="row">
<div class="col-md-12">
<div class="canvas" id="canvas">
<div class="overlay">
</div>
<img class="dr" id="icon" src="img/icon.png" alt=""/>
<h1 class="dr" id="title">Hellen Keller</h1>
<p class="dr" id="para"> The best and most beautiful things in the world cannot be seen or even
touched - they must be felt with the heart. </p>
</div>
</div>
<div class="container">
<div class="row">
<div class="col-md-12" style="margin-top: 50px; text-align: center">
<a href="#" class="btn btn-primary prepare" value="Prepare Image">Prepare Banner</a>
<a id="banner_download" href="#" class="btn btn-success download" download="banner.jpg"
href="#">Download Image</a>
</div>
</div>
</div>
</div>
</div>
</div>
<footer>
<p>Made with Love By Hasin Hayder</p>
</footer>
<script src="//code.jquery.com/jquery-2.1.4.min.js" type="text/javascript"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/draggabilly/1.2.0/draggabilly.pkgd.min.js"></script>
<script src="js/canvas.js"></script>
<script src="js/script.js?5"></script>
</body>
</html>