forked from voxmedia/meme
-
Notifications
You must be signed in to change notification settings - Fork 8
/
index.html
75 lines (64 loc) · 2.66 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="initial-scale=1">
<!-- Always force latest IE rendering engine or request Chrome Frame -->
<meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
<title>Social sharing builder</title>
<link rel="stylesheet" href="dist/styles.css" />
<meta name="robots" content="noindex, nofollow">
</head>
<body class="meme">
<div class="m-meme">
<h1>Meme Generator</h1>
<form class="m-editor" id="meme-editor-view">
<div class="dropzone" id="dropzone">Drop Image Here</div>
<h2><label for="image-scale">Resize image</label></h2>
<input id="image-scale" type="range" max="4" min=".01" step=".01" value="1">
<h2><label for="headline">Headline</label></h2>
<textarea id="headline" name="headline" type="text" value=""></textarea>
<h2>Text options</h2>
<select class="text-align" id="text-align">
<option value="" disabled>Select alignment</option>
</select>
<select class="font-size" id="font-size">
<option value="" disabled>Select a font size</option>
</select>
<select class="font-family" id="font-family">
<option value="" disabled>Select a font</option>
</select>
<div class="m-editor__font-color" id="font-color">
<ul class="checkbox-group"></ul>
</div>
<div class="checkbox-group text-shadow">
<input id="text-shadow" name="shadow" type="checkbox">
<label for="text-shadow">Text Shadow</label>
</div>
<h2>Watermark</h2>
<select class="watermark" id="watermark">
<option value="" disabled>Select a watermark</option>
</select>
<h2><label for="image-size">Social network</label></h2>
<select id="image-size"></select>
<h2><label for="credit">Credit</label></h2>
<input id="credit" name="credit" type="text" value="">
<div class="m-editor__overlay" id="overlay">
<h2>Overlay Color</h2>
<ul class="checkbox-group">
<li class="no-color"><label><input type="radio" name="overlay" value=""> None</label></li>
</ul>
</div>
</form>
<div class="m-canvas" id="meme-canvas-view">
<div class="m-canvas__canvas" id="meme-canvas">
<noscript>Sorry, this tool requires a canvas-enabled browser. Try Google Chrome.</noscript>
</div>
<p class="m-canvas__download">
<a href="#" download="share.png" id="meme-download">Download Image</a>
</p>
</div>
</div>
<script src="dist/scripts.js"></script>
</body>
</html>