-
Notifications
You must be signed in to change notification settings - Fork 96
/
index.html
423 lines (421 loc) · 15.2 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
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<meta http-equiv="X-UA-Compatible" content="ie=edge"/>
<link rel="shortcut icon" type="image/x-icon" href="./favicon.ico"/>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/dragula/3.7.2/dragula.min.css"
/>
<link
rel="stylesheet"
href="https://use.fontawesome.com/releases/v5.5.0/css/all.css"
integrity="sha384-B4dIYHKNBt8Bc12p+WXckhzcICo0wtJAoU8YZTY5qE0Id1GSseTk6S+L3BlXeVIU"
crossorigin="anonymous"
/>
<link rel="stylesheet" type="text/css" href="./output.css"/>
<style type="text/css">
.js-droppable > .js-snippet {
width: 100%;
padding: 0;
}
.js-droppable > .js-snippet:hover > .js-delete-btn {
display: block;
}
.js-droppable > .js-snippet > img:hover {
transform: none;
border-color: #dae1e7;
}
</style>
<title>Stitches - A HTML template generator using functional css</title>
</head>
<body class="overflow-hidden font-sans">
<section class="fixed left-0 top-0 bottom-0 overflow-y-auto bg-white p-8 w-2/3">
<h1 class="font-black mb-8 ml-2 pb-2">
<a
href="/"
class="no-underline text-black no-underline text-black transition text-geen"
>
<img
src="./images/logo.svg"
class="inline-block mr-2 w-10 -mb-2"
/>Stitches</a
>
</h1>
<div class="border-l-2 mx-2 mb-3 js-filter pl-3 border-black">
<!-- General -->
<button
class="text-black font-semibold hover:text-green-500 px-2 py-1 transition-normal"
data-filter="js-snippet"
>
All
</button>
<button
class="text-black font-semibold hover:text-green-500 px-2 py-1 transition-normal"
data-filter="st-navigation"
>
Navigation
</button>
<button
class="text-black font-semibold hover:text-green-500 px-2 py-1 transition-normal"
data-filter="st-footer"
>
Footer
</button>
<button
class="text-black font-semibold hover:text-green-500 px-2 py-1 transition-normal"
data-filter="st-form"
>
Form
</button>
<button
class="text-black font-semibold hover:text-green-500 px-2 py-1 transition-normal"
data-filter="st-list"
>
List
</button>
<!-- Marketing -->
<button
class="text-black font-semibold hover:text-green-500 px-2 py-1 transition-normal"
data-filter="st-hero"
>
Hero
</button>
<button
class="text-black font-semibold hover:text-green-500 px-2 py-1 transition-normal"
data-filter="st-feature"
>
Features
</button>
<button
class="text-black font-semibold hover:text-green-500 px-2 py-1 transition-normal"
data-filter="st-pricing"
>
Pricing
</button>
<button
class="text-black font-semibold hover:text-green-500 px-2 py-1 transition-normal"
data-filter="st-article"
>
Articles
</button>
<button
class="text-black font-semibold hover:text-green-500 px-2 py-1 transition-normal"
data-filter="st-cta"
>
Call to Action
</button>
<!-- Application -->
<button
class="text-black font-semibold hover:text-green-500 px-2 py-1 transition-normal"
data-filter="st-progress"
>
Progress Bar
</button>
<button
class="text-black font-semibold hover:text-green-500 px-2 py-1 transition-normal"
data-filter="st-feed"
>
Feed/Comments
</button>
<button
class="text-black font-semibold hover:text-green-500 px-2 py-1 transition-normal"
data-filter="st-notification"
>
Notification
</button>
<button
class="text-black font-semibold hover:text-green-500 px-2 py-1 transition-normal"
data-filter="st-stats"
>
Stats
</button>
<button
class="text-black font-semibold hover:text-green-500 px-2 py-1 transition-normal"
data-filter="st-cards"
>
Cards
</button>
<button
class="text-black font-semibold hover:text-green-500 px-2 py-1 transition-normal"
data-filter="st-tabs"
>
Tabs
</button>
</div>
<div
class="flex flex-wrap flex-col items-start justify-start js-snippets"
>
<figure class="js-snippet w-1/2 p-2 st-navigation" id="navigation-1">
<img
src="./images/navigation-1.png"
alt=""
class="border border-gray-300 cursor-move hover:shadow transition-normal hover:translate-y-1 hover:border-black"
/>
</figure>
<figure class="js-snippet w-1/2 p-2 st-navigation" id="navigation-2">
<img
src="./images/navigation-2.png"
alt=""
class="border border-gray-300 cursor-move hover:shadow transition-normal hover:translate-y-1 hover:border-black"
/>
</figure>
<figure class="js-snippet w-1/2 p-2 st-navigation" id="navigation-3">
<img
src="./images/navigation-3.png"
alt=""
class="border border-gray-300 cursor-move hover:shadow transition-normal hover:translate-y-1 hover:border-black"
/>
</figure>
<figure class="js-snippet w-1/2 p-2 st-navigation" id="navigation-4">
<img
src="./images/navigation-4.png"
alt=""
class="border border-gray-300 cursor-move hover:shadow transition-normal hover:translate-y-1 hover:border-black"
/>
</figure>
<figure class="js-snippet w-1/2 p-2 st-hero" id="hero-1">
<img
src="./images/hero-1.png"
alt=""
class="border border-gray-300 cursor-move hover:shadow transition-normal hover:translate-y-1 hover:border-black"
/>
</figure>
<figure class="js-snippet w-1/2 p-2 st-hero" id="hero-2">
<img
src="./images/hero-2.png"
alt=""
class="border border-gray-300 cursor-move hover:shadow transition-normal hover:translate-y-1 hover:border-black"
/>
</figure>
<figure class="js-snippet w-1/2 p-2 st-hero" id="hero-3">
<img
src="./images/hero-3.png"
alt=""
class="border border-gray-300 cursor-move hover:shadow transition-normal hover:translate-y-1 hover:border-black"
/>
</figure>
<figure class="js-snippet w-1/2 p-2 st-footer" id="footer-1">
<img
src="./images/footer-1.png"
alt=""
class="border border-gray-300 cursor-move hover:shadow transition-normal hover:translate-y-1 hover:border-black"
/>
</figure>
<figure class="js-snippet w-1/2 p-2 st-footer" id="footer-2">
<img
src="./images/footer-2.png"
alt=""
class="border border-gray-300 cursor-move hover:shadow transition-normal hover:translate-y-1 hover:border-black"
/>
</figure>
<figure class="js-snippet w-1/2 p-2 st-footer" id="footer-3">
<img
src="./images/footer-3.png"
alt=""
class="border border-gray-300 cursor-move hover:shadow transition-normal hover:translate-y-1 hover:border-black"
/>
</figure>
<figure class="js-snippet w-1/2 p-2 st-feature" id="features-1">
<img
src="./images/features-1.png"
alt=""
class="border border-gray-300 cursor-move hover:shadow transition-normal hover:translate-y-1 hover:border-black"
/>
</figure>
<figure class="js-snippet w-1/2 p-2 st-feature" id="features-2">
<img
src="./images/features-2.png"
alt=""
class="border border-gray-300 cursor-move hover:shadow transition-normal hover:translate-y-1 hover:border-black"
/>
</figure>
<figure class="js-snippet w-1/2 p-2 st-feature" id="features-3">
<img
src="./images/features-3.png"
alt=""
class="border border-gray-300 cursor-move hover:shadow transition-normal hover:translate-y-1 hover:border-black"
/>
</figure>
<figure class="js-snippet w-1/2 p-2 st-feature" id="features-4">
<img
src="./images/features-4.png"
alt=""
class="border border-gray-300 cursor-move hover:shadow transition-normal hover:translate-y-1 hover:border-black"
/>
</figure>
<figure class="js-snippet w-1/2 p-2 st-feature" id="features-5">
<img
src="./images/features-5.png"
alt=""
class="border border-gray-300 cursor-move hover:shadow transition-normal hover:translate-y-1 hover:border-black"
/>
</figure>
<figure class="js-snippet w-1/2 p-2 st-feature" id="features-6">
<img
src="./images/features-6.png"
alt=""
class="border border-gray-300 cursor-move hover:shadow transition-normal hover:translate-y-1 hover:border-black"
/>
</figure>
<figure class="js-snippet w-1/2 p-2 st-pricing" id="pricing-1">
<img
src="./images/pricing-1.png"
alt=""
class="border border-gray-300 cursor-move hover:shadow transition-normal hover:translate-y-1 hover:border-black"
/>
</figure>
<figure class="js-snippet w-1/2 p-2 st-article" id="articles-1">
<img
src="./images/articles-1.png"
alt=""
class="border border-gray-300 cursor-move hover:shadow transition-normal hover:translate-y-1 hover:border-black"
/>
</figure>
<figure class="js-snippet w-1/2 p-2 st-article" id="articles-2">
<img
src="./images/articles-2.png"
alt=""
class="border border-gray-300 cursor-move hover:shadow transition-normal hover:translate-y-1 hover:border-black"
/>
</figure>
<figure class="js-snippet w-1/2 p-2 st-cta" id="cta-1">
<img
src="./images/cta-1.png"
alt=""
class="border border-gray-300 cursor-move hover:shadow transition-normal hover:translate-y-1 hover:border-black"
/>
</figure>
<figure class="js-snippet w-1/2 p-2 st-cta" id="cta-2">
<img
src="./images/cta-2.png"
alt=""
class="border border-gray-300 cursor-move hover:shadow transition-normal hover:translate-y-1 hover:border-black"
/>
</figure>
<figure class="js-snippet w-1/2 p-2 st-form" id="form-1">
<img
src="./images/form-1.png"
alt=""
class="border border-gray-300 cursor-move hover:shadow transition-normal hover:translate-y-1 hover:border-black"
/>
</figure>
<figure class="js-snippet w-1/2 p-2 st-progress" id="progress-1">
<img
src="./images/progress-1.png"
alt=""
class="border border-gray-300 cursor-move hover:shadow transition-normal hover:translate-y-1 hover:border-black"
/>
</figure>
<figure class="js-snippet w-1/2 p-2 st-list" id="list-1">
<img
src="./images/list-1.png"
alt=""
class="border border-gray-300 cursor-move hover:shadow transition-normal hover:translate-y-1 hover:border-black"
/>
</figure>
<figure class="js-snippet w-1/2 p-2 st-feed" id="feed-1">
<img
src="./images/feed-1.png"
alt=""
class="border border-gray-300 cursor-move hover:shadow transition-normal hover:translate-y-1 hover:border-black"
/>
</figure>
<figure
class="js-snippet w-1/2 p-2 st-notification"
id="notification-1"
>
<img
src="./images/notification-1.png"
alt=""
class="border border-gray-300 cursor-move hover:shadow transition-normal hover:translate-y-1 hover:border-black"
/>
</figure>
<figure
class="js-snippet w-1/2 p-2 st-notification"
id="notification-2"
>
<img
src="./images/notification-2.png"
alt=""
class="border border-gray-300 cursor-move hover:shadow transition-normal hover:translate-y-1 hover:border-black"
/>
</figure>
<figure class="js-snippet w-1/2 p-2 st-stats" id="stats-1">
<img
src="./images/stats-1.png"
alt=""
class="border border-gray-300 cursor-move hover:shadow transition-normal hover:translate-y-1 hover:border-black"
/>
</figure>
<figure class="js-snippet w-1/2 p-2 st-stats" id="stats-2">
<img
src="./images/stats-2.png"
alt=""
class="border border-gray-300 cursor-move hover:shadow transition-normal hover:translate-y-1 hover:border-black"
/>
</figure>
<figure class="js-snippet w-1/2 p-2 st-cards" id="cards-1">
<img
src="./images/cards-1.png"
alt=""
class="border border-gray-300 cursor-move hover:shadow transition-normal hover:translate-y-1 hover:border-black"
/>
</figure>
<figure class="js-snippet w-1/2 p-2 st-cards" id="cards-2">
<img
src="./images/cards-2.png"
alt=""
class="border border-gray-300 cursor-move hover:shadow transition-normal hover:translate-y-1 hover:border-black"
/>
</figure>
<figure class="js-snippet w-1/2 p-2 st-tabs" id="tabs-1">
<img
src="./images/tabs-1.png"
alt=""
class="border border-gray-300 cursor-move hover:shadow transition-normal hover:translate-y-1 hover:border-black"
/>
</figure>
</div>
</section>
<section
class="bg-gray-300 p-8 pb-0 w-1/3 flex flex-col fixed top-0 bottom-0 right-0"
>
<header class="mb-4">
<button
class="shadow text-center py-3 px-4 bg-black w-full hover:text-green-500 text-white js-download transition-normal"
>
Generate HTML with Functional CSS
</button>
</header>
<div
class="flex flex-col flex-1 border js-droppable border-gray-300 overflow-y-auto"
></div>
<div class="text-center text-black py-4">
Made by
<a
class="textgreene hover:ugreend text-green-500"
target="_blank"
href="https://amie-chen.com"
>👾 Amie Chen</a
>
</div>
<div class="bg-white hidden fixed js-delete-btn px-4 py-2 shadow">
Delete <i class="far fa-trash-alt pointer-events-none"></i>
</div>
</section>
<script src="./bundle.js"></script>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-12146327-15"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', 'UA-12146327-15');
</script>
</body>
</html>