-
Notifications
You must be signed in to change notification settings - Fork 25
/
index.html
172 lines (172 loc) · 14.7 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
<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 href="https://fonts.googleapis.com/css?family=Muli:200,300,400,600,700,800,900" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/dragula/3.7.2/dragula.min.css" />
<link href="https://fonts.googleapis.com/css?family=Muli:300,400,600,700,800,900" rel="stylesheet">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.13/css/all.css" integrity="sha384-DNOHZ68U8hZfKXOrtjWvjxusGo9WQnrNx2sqG0tfsghAvtVlRW3tvkXWZh58N9jp" crossorigin="anonymous">
<link rel="stylesheet" type="text/css" href="./public/stitches.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 pin-l pin-t pin-b overflow-y-scroll 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="https://res.cloudinary.com/hyperyolo/image/upload/v1531655346/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 px-2 py-1 transition-normal" data-filter="js-snippet">All</button>
<button class="text-black font-semibold hover:text-green px-2 py-1 transition-normal" data-filter="st-navigation">Navigation</button>
<button class="text-black font-semibold hover:text-green px-2 py-1 transition-normal" data-filter="st-footer">Footer</button>
<button class="text-black font-semibold hover:text-green px-2 py-1 transition-normal" data-filter="st-form">Form</button>
<button class="text-black font-semibold hover:text-green px-2 py-1 transition-normal" data-filter="st-list">List</button>
<!-- Marketing -->
<button class="text-black font-semibold hover:text-green px-2 py-1 transition-normal" data-filter="st-hero">Hero</button>
<button class="text-black font-semibold hover:text-green px-2 py-1 transition-normal" data-filter="st-feature">Features</button>
<button class="text-black font-semibold hover:text-green px-2 py-1 transition-normal" data-filter="st-pricing">Pricing</button>
<button class="text-black font-semibold hover:text-green px-2 py-1 transition-normal" data-filter="st-article">Articles</button>
<button class="text-black font-semibold hover:text-green px-2 py-1 transition-normal" data-filter="st-cta">Call to Action</button>
<!-- Application -->
<button class="text-black font-semibold hover:text-green px-2 py-1 transition-normal" data-filter="st-progress">Progress Bar</button>
<button class="text-black font-semibold hover:text-green px-2 py-1 transition-normal" data-filter="st-feed">Feed/Comments</button>
<button class="text-black font-semibold hover:text-green px-2 py-1 transition-normal" data-filter="st-notification">Notification</button>
<button class="text-black font-semibold hover:text-green px-2 py-1 transition-normal" data-filter="st-stats">Stats</button>
<button class="text-black font-semibold hover:text-green px-2 py-1 transition-normal" data-filter="st-cards">Cards</button>
<button class="text-black font-semibold hover:text-green 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="https://res.cloudinary.com/hyperyolo/image/upload/v1531208865/stitches/navigation-1.png" alt="" class="border border-grey-light 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="https://res.cloudinary.com/hyperyolo/image/upload/v1531208865/stitches/navigation-2.png" alt="" class="border border-grey-light 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="https://res.cloudinary.com/hyperyolo/image/upload/v1531208865/stitches/navigation-3.png" alt="" class="border border-grey-light 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="https://res.cloudinary.com/hyperyolo/image/upload/v1531208865/stitches/navigation-4.png" alt="" class="border border-grey-light 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="https://res.cloudinary.com/hyperyolo/image/upload/v1531208867/stitches/hero-1.png" alt="" class="border border-grey-light 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="https://res.cloudinary.com/hyperyolo/image/upload/v1531208863/stitches/hero-2.png" alt="" class="border border-grey-light 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="https://res.cloudinary.com/hyperyolo/image/upload/v1531208864/stitches/hero-3.png" alt="" class="border border-grey-light 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="https://res.cloudinary.com/hyperyolo/image/upload/v1531208865/stitches/footer-1.png" alt="" class="border border-grey-light 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="https://res.cloudinary.com/hyperyolo/image/upload/v1531208865/stitches/footer-2.png" alt="" class="border border-grey-light 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="https://res.cloudinary.com/hyperyolo/image/upload/v1531208865/stitches/footer-3.png" alt="" class="border border-grey-light 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="https://res.cloudinary.com/hyperyolo/image/upload/v1531208865/stitches/features-1.png" alt="" class="border border-grey-light 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="https://res.cloudinary.com/hyperyolo/image/upload/v1531208865/stitches/features-2.png" alt="" class="border border-grey-light 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="https://res.cloudinary.com/hyperyolo/image/upload/v1531208865/stitches/features-3.png" alt="" class="border border-grey-light 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="https://res.cloudinary.com/hyperyolo/image/upload/v1531208865/stitches/features-4.png" alt="" class="border border-grey-light 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="https://res.cloudinary.com/hyperyolo/image/upload/v1531208865/stitches/features-5.png" alt="" class="border border-grey-light 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="https://res.cloudinary.com/hyperyolo/image/upload/v1531208865/stitches/features-6.png" alt="" class="border border-grey-light 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="https://res.cloudinary.com/hyperyolo/image/upload/v1531208865/stitches/pricing-1.png" alt="" class="border border-grey-light 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="https://res.cloudinary.com/hyperyolo/image/upload/v1531208865/stitches/articles-1.png" alt="" class="border border-grey-light 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="https://res.cloudinary.com/hyperyolo/image/upload/v1531208865/stitches/articles-2.png" alt="" class="border border-grey-light 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="https://res.cloudinary.com/hyperyolo/image/upload/v1531208865/stitches/cta-1.png" alt="" class="border border-grey-light 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="https://res.cloudinary.com/hyperyolo/image/upload/v1531208865/stitches/cta-2.png" alt="" class="border border-grey-light 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="https://res.cloudinary.com/hyperyolo/image/upload/v1531208865/stitches/form-1.png" alt="" class="border border-grey-light 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="https://res.cloudinary.com/hyperyolo/image/upload/v1531208865/stitches/progress-1.png" alt="" class="border border-grey-light 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="https://res.cloudinary.com/hyperyolo/image/upload/v1531208865/stitches/list-1.png" alt="" class="border border-grey-light 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="https://res.cloudinary.com/hyperyolo/image/upload/v1531208865/stitches/feed-1.png" alt="" class="border border-grey-light 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="https://res.cloudinary.com/hyperyolo/image/upload/v1531208865/stitches/notification-1.png" alt="" class="border border-grey-light 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="https://res.cloudinary.com/hyperyolo/image/upload/v1531208865/stitches/notification-2.png" alt="" class="border border-grey-light 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="https://res.cloudinary.com/hyperyolo/image/upload/v1531208865/stitches/stats-1.png" alt="" class="border border-grey-light 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="https://res.cloudinary.com/hyperyolo/image/upload/v1531208865/stitches/stats-2.png" alt="" class="border border-grey-light 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="https://res.cloudinary.com/hyperyolo/image/upload/v1531208871/stitches/cards-1.png" alt="" class="border border-grey-light 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="https://res.cloudinary.com/hyperyolo/image/upload/v1531208866/stitches/cards-2.png" alt="" class="border border-grey-light 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="https://res.cloudinary.com/hyperyolo/image/upload/v1531208865/stitches/tabs-1.png" alt="" class="border border-grey-light cursor-move hover:shadow transition-normal hover:translate-y-1 hover:border-black">
</figure>
</div>
</section>
<section class="bg-grey-lighter p-8 pb-0 w-1/3 flex flex-col fixed pin-t pin-b pin-r">
<header class="mb-4">
<button class="shadow text-center py-3 px-4 bg-black w-full hover:text-green text-white js-download transition-normal">Generate HTML with Functional CSS</button>
</header>
<div class="flex flex-col flex-1 border js-droppable border-grey-lighter overflow-y-scroll"></div>
<div class="text-center text-black py-4">Made by <a class="textgreene hover:ugreend text-green" 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>
<script type="text/javascript">
(function() {
var trial = document.createElement('script');
trial.type = 'text/javascript';
trial.async = true;
trial.src = 'https://easy.myfonts.net/v2/js?sid=210860(font-family=Avenir+Next+Pro+Bold)&sid=217165(font-family=Avenir+Next+Pro+Regular)&sid=217166(font-family=Avenir+Next+Pro+Medium)&sid=255228(font-family=Avenir+Next+Pro+Light)&key=uX0ExF1dYV';
var head = document.getElementsByTagName("head")[0];
head.appendChild(trial);
})();
</script>
</body>
</html>