-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
275 lines (263 loc) · 15 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Meme Generator</title>
<link rel="stylesheet" href="dist/style.css">
<link rel="stylesheet" href="assets/fonts/font-awesome/css/font-awesome.min.css">
</head>
<body onload="initApp()">
<!--Nav Bar-->
<nav class="nav-bar flex justify-center">
<input id="nav-bar-mobile-checkbox" type="checkbox">
<label for="nav-bar-mobile-checkbox" class="nav-bar-mobile-icon fa fa-bars" aria-hidden="true"></label>
<ul class="nav-bar-mobile clean-list">
<li class="logo-img-mobile full-height flex align-center">
<label for="nav-bar-mobile-checkbox">
<img src="assets/img/logo.png">
<img class="pointy-thingy-mobile" src="assets/img/pointy-thingy.png">
</label>
</li>
</ul>
<ul class="nav-bar-items clean-list flex align-center space-around">
<li class="nav-bar-item"><a href="#">PORTFOLIO</a></li>
<li class="nav-bar-random-dot">·</li>
<li class="nav-bar-item"><a href="#about-anchor">ABOUT</a></li>
<li class="logo-img">
<img src="assets/img/logo.png">
<img class="pointy-thingy" src="assets/img/pointy-thingy.png">
</li>
<li class="nav-bar-item"><a href="#">BLOG</a></li>
<li class="nav-bar-random-dot">·</li>
<li class="nav-bar-item"><a href="#get-in-touch-anchor">GET IN TOUCH</a></li>
</ul>
</nav>
<!--Gallery-->
<section class="gallery">
<div class="hr-wrapper flex space-between">
<hr>
<hr>
</div>
<div class="inner-container">
<h1>Create Your Meme:</h1>
<div class="search-view-keywords flex flex-wrap space-around">
<div class="search-memes flex flex-wrap space-between">
<input type="text" class="search-by-keyword" oninput="updateGallery(this.value)" placeholder="Search by keyword">
<div>
<input type="url" id="image-from-url" class="img-from-url" placeholder="Paste an image URL" />
<button class="edit-image-url-icon fa fa-cloud-download" aria-hidden="true" onclick="imgFromUrl()"></button>
</div>
</div>
<div class="keywords-container flex flex-column">
<label>Most Popular Keywords:</label>
<div class="keywords-cloud flex flex-wrap space-around">
</div>
</div>
</div>
<div class="toggle-gallery-display">
<button class="list-view fa fa-th-list" aria-hidden="true" onclick="renderImages(gImages, 'list')"></button>
<button class="grid-view fa fa-th-large" aria-hidden="true" onclick="renderImages(gImages, 'grid')"></button>
</div>
<div class="memes-gallery flex flex-wrap space-around">
</div>
<div class="memes-list flex flex-column align-center">
<div>
<div class="image">
</div>
<div class="image-name">
</div>
<div class="image-description">
</div>
</div>
</div>
<!--Canvas-->
<section class="gallery-editor">
<div>
<button class="back-to-gallery" onclick="backToGallery()">
<span class="fa fa-long-arrow-left" aria-hidden="true"></span> Back to list
</button>
</div>
<div class="canvas-wrapper flex flex-wrap">
<div>
<canvas class="meme-canvas img-responsive">Sorry, no canvas available</canvas>
</div>
<div class="edit-text flex flex-column space-between">
<div class="meme-label-top">
<div>
<input class="meme-label-top-txt" oninput="changeLabel(this,'0')" type="text" placeholder="Insert top text..."></input>
<button class="delete-top-text fa fa-trash-o" aria-hidden="true" onclick="clearInput('0')"></button>
</div>
<div class="editor-tools">
<button class="increase-font-size" aria-hidden="true" onclick="increaseFontSize('0')">
<span class="fa fa-plus" aria-hidden="true"></span>
</button>
<button class="decrease-font-size" aria-hidden="true" onclick="decreaseFontSize('0')">
<span class="fa fa-minus" aria-hidden="true"></span>
</button>
<input type="color" class="font-color" id="inputColor1" onchange="changeFontColor(this, '0')" value="#ffffff"></input>
<button class="font-shadow" aria-hidden="true" onclick="toggleFontShadow('0')">
<span class="fa fa-buysellads" aria-hidden="true"></span>
</button>
<button class="font-align-left" aria-hidden="true" onclick="alignFontLeft('0')">
<span class="fa fa-align-left" aria-hidden="true"></span>
</button>
<button class="font-align-center" aria-hidden="true" onclick="alignFontCenter('0')">
<span class="fa fa-align-center" aria-hidden="true"></span>
</button>
<button class="font-align-right" aria-hidden="true" onclick="alignFontRight('0')">
<span class="fa fa-align-right" aria-hidden="true"></span>
</button>
</div>
</div>
<div class="meme-label-bottom">
<div>
<input class="meme-label-bottom-txt" oninput="changeLabel(this,'1')" type="text" placeholder="Insert bottom text..."></input>
<button class="delete-top-text fa fa-trash-o" aria-hidden="true" onclick="clearInput('1')"></button>
</div>
<div class="editor-tools">
<button class="increase-font-size" aria-hidden="true" onclick="increaseFontSize('1')">
<span class="fa fa-plus" aria-hidden="true"></span>
</button>
<button class="decrease-font-size" aria-hidden="true" onclick="decreaseFontSize('1')">
<span class="fa fa-minus" aria-hidden="true"></span>
</button>
<input type="color" class="font-color" id="inputColor1" onchange="changeFontColor(this, '1')" value="#ffffff"></input>
<button class="font-shadow" aria-hidden="true" onclick="toggleFontShadow('1')">
<span class="fa fa-buysellads" aria-hidden="true"></span>
</button>
<button class="font-align-left" aria-hidden="true" onclick="alignFontLeft('1')">
<span class="fa fa-align-left" aria-hidden="true"></span>
</button>
<button class="font-align-center" aria-hidden="true" onclick="alignFontCenter('1')">
<span class="fa fa-align-center" aria-hidden="true"></span>
</button>
<button class="font-align-right" aria-hidden="true" onclick="alignFontRight('1')">
<span class="fa fa-align-right" aria-hidden="true"></span>
</button>
</div>
</div>
</div>
</div>
<div>
<button class="download-meme">
<a href="#" onclick="saveImg(this)"><span class="fa fa-download" aria-hidden="true"></span> Download</a>
</button>
</div>
</section>
<!--End of Canvas-->
</div>
<hr>
</section>
<!--End of Gallery-->
<!--About-->
<section class="about">
<a name="about-anchor"></a>
<div class="inner-container flex flex-column">
<article class="developer-info flex">
<div class="developer-info-header header-top">
<h2>Hadas Koren</h2>
<h3>Full-stack Web Developer & App Designer</h3>
</div>
<div class="developer-img hexagon dev-hadas">
<div class="hexTop"></div>
<div class="hexBottom"></div>
</div>
<div class="developer-summary flex flex-column space-between">
<div class="developer-info-header header-side">
<h2>Hadas Koren</h2>
<h3>Full-stack Web Developer & App Designer</h3>
</div>
<div class="developer-info-desc">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Lorem ipsum dolor sit amet, consectetur adipisicing
elit. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Lorem ipsum dolor sit amet, consectetur
adipisicing elit. Lorem ipsum dolor sit amet, consectetur adipisicing elit.
</div>
<div class="developer-info-socials">
<ul class="clean-list flex justify-center">
<li class="fa fa-facebook facebook" aria-hidden="true"></li>
<li class="fa fa-twitter twitter" aria-hidden="true"></li>
<li class="fa fa-google-plus google" aria-hidden="true"></li>
<li class="fa fa-pinterest-p pinterest" aria-hidden="true"></li>
<li class="fa fa-linkedin linkedin" aria-hidden="true"></li>
<li class="fa fa-dribbble dribble" aria-hidden="true"></li>
</ul>
</div>
</div>
</article>
<article class="developer-info flex">
<div class="developer-info-header header-top">
<h2>Omer Zfira</h2>
<h3>Full-stack Web Developer & App Designer</h3>
</div>
<div class="developer-img hexagon dev-omer">
<div class="hexTop"></div>
<div class="hexBottom"></div>
</div>
<div class="developer-summary flex flex-column space-between">
<div class="developer-info-header header-side">
<h2>Omer Zfira</h2>
<h3>Full-stack Web Developer & App Designer</h3>
</div>
<div class="developer-info-desc">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Lorem ipsum dolor sit amet, consectetur adipisicing
elit. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Lorem ipsum dolor sit amet, consectetur
adipisicing elit. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Lorem ipsum dolor sit
amet, consectetur adipisicing elit.
</div>
<div class="developer-info-socials">
<ul class="clean-list flex justify-center">
<li class="fa fa-facebook facebook" aria-hidden="true"></li>
<li class="fa fa-twitter twitter" aria-hidden="true"></li>
<li class="fa fa-google-plus google" aria-hidden="true"></li>
<li class="fa fa-pinterest-p pinterest" aria-hidden="true"></li>
<li class="fa fa-linkedin linkedin" aria-hidden="true"></li>
<li class="fa fa-dribbble dribble" aria-hidden="true"></li>
</ul>
</div>
</div>
</article>
</div>
</section>
<!--End of About-->
<!--Get In Touch-->
<section class="get-in-touch flex flex-wrap">
<a name="get-in-touch-anchor"></a>
<hr>
<div class="inner-container">
<div class="get-in-touch-headline">
<h2>Get In Touch</h2>
<label>In order to get in touch use the contact form below:</label>
</div>
<div class="get-in-touch-wrapper flex">
<div class="get-in-touch-form flex flex-column space-between">
<input id="name" type="text" placeholder="Name (Required)"></input>
<input id="email" type="email" placeholder="Email (Required)"></input>
<input id="subject" type="text" placeholder="Subject"></input>
<textarea id="msg" type="text" placeholder="Write your message here..."></textarea>
<button type="submit" class="submit-form" onClick="saveContact()">SEND</button>
</div>
<div class="get-in-touch-details flex flex-column">
<div class="get-in-touch-details-extra">
<span class="bold">Quisque Hendrerit:</span> purus dapibus, ornare nibh vitae, viverra nibh. Fusce
vitae aliquam tellus. Proin sit amet volutpat libero. Nulla sed nunc et tortor luctus faucibus morbi
vitae.
</div>
<ul class="get-in-touch-details-contact clean-list flex flex-column">
<li><span class="fa fa-map-marker" aria-hidden="true"></span>Elm St. 14/05 Lost City</li>
<li><span class="fa fa-phone fa-flip-horizontal" aria-hidden="true"></span>+ 3528 331 86 35</li>
<li><span class="fa fa-envelope" aria-hidden="true"></span>info@hexalcorp.com</li>
</ul>
</div>
</div>
<hr>
</section>
<!--End of Get In Touch-->
<footer>
© copyrights 2016 by Hadas&Omer.ltd
</footer>
<script src="./node_modules/jquery/dist/jquery.min.js"></script>
<script src="./js/jquery.tagcloud.js"></script>
<script src="./js/utils.js"></script>
<script src="./js/database.js"></script>
<script src="./js/main.js"></script>
</body>
</html>