forked from afmarchetti/alux
-
Notifications
You must be signed in to change notification settings - Fork 0
/
home-cover.html
executable file
·320 lines (277 loc) · 14.2 KB
/
home-cover.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ALUX - Framework</title>
<link rel="stylesheet" href="alux.min.css">
</head>
<body>
<div class="nav-wrap">
<div class="grid no-pad-menu">
<div class="nav-header">
<a href="#" class="logo">ALUX</a>
<div class="tog" data-target="menu-sub-2">
<span class="animate"></span>
<span class="span-middle animate"></span>
<span class="animate"></span>
</div>
</div>
<nav class="nav-container" id="menu-sub-2">
<ul class="primary">
<li class="dropdown">
<a href="#" data-toggle="dropdown">Products <div class="alux-arrow animate"></div></a>
<ul class="dropdown-menu">
<li><a href="">Shoes</a></li>
<li><a href="">Jacket</a></li>
<li><a href="">Hat</a></li>
<li><a href="">Coat</a></li>
</ul>
</li>
<li class="dropdown">
<a href="#" data-toggle="dropdown">Services <div class="alux-arrow animate"></div></a>
<ul class="dropdown-menu">
<li><a href="">Delivery</a></li>
<li><a href="">Support</a></li>
<li><a href="">Customize</a></li>
</ul>
</li>
<li><a href="#">About</a></li>
<li><a href="#">Contact</a></li>
</ul>
</nav>
</div>
</div>
<div class="clearfix"></div>
<div class="cover filter" style="background: url(http://afmarchetti.github.io/alux/image.jpg) center center;background-size: cover;">
<div class="cover__text grid grid--center">
<div class="col-80">
<h1>Home Page Cover Message</h1>
<h2>Subtitle of the cover full width</h2>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Consectetur maiores, deleniti voluptates perferendis magnam temporibus, iure ratione quia quidem aliquid ex nisi ea. Dignissimos odio, consequatur enim. Autem, expedita, fugit.</p>
<a class="button animate" href="">Call to action</a>
</div>
</div>
</div>
<section class="grid" id="tiles">
<div class="col-50">
<div class="tile filter" style="background: url(http://afmarchetti.github.io/alux/image.jpg) center center;background-size: cover;">
<div class="tile__text">
<h3 class="mb-0">Card title</h3>
<h4 class="light small">Lorem ipsum</h4>
</div>
</div>
</div>
<div class="col-50">
<div class="tile filter" style="background: url(http://afmarchetti.github.io/alux/image.jpg) center center;background-size: cover;">
<div class="tile__text">
<h3 class="mb-0">Card title</h3>
<h4 class="light small">Lorem ipsum</h4>
</div>
</div>
</div>
</section>
<section class="grid" id="features">
<div class="col-25 tab-50">
<h3>Feature</h3>
<p>Nullam in dui mauris. Vivamus hendrerit arcu sed erat molestie vehicula. Sed auctor neque eu tellus rhoncus ut eleifend nibh porttitor. Ut in nulla enim. Phasellus molestie magna non est bibendum non venenatis nisl tempor. Suspendisse dictum.</p>
</div>
<div class="col-25 tab-50">
<h3>Feature</h3>
<p>Nullam in dui mauris. Vivamus hendrerit arcu sed erat molestie vehicula. Sed auctor neque eu tellus rhoncus ut eleifend nibh porttitor. Ut in nulla enim. Phasellus molestie magna non est bibendum non venenatis nisl tempor. Suspendisse dictum.</p>
</div>
<div class="col-25 tab-50">
<h3>Feature</h3>
<p>Nullam in dui mauris. Vivamus hendrerit arcu sed erat molestie vehicula. Sed auctor neque eu tellus rhoncus ut eleifend nibh porttitor. Ut in nulla enim. Phasellus molestie magna non est bibendum non venenatis nisl tempor. Suspendisse dictum.</p>
</div>
<div class="col-25 tab-50">
<h3>Feature</h3>
<p>Nullam in dui mauris. Vivamus hendrerit arcu sed erat molestie vehicula. Sed auctor neque eu tellus rhoncus ut eleifend nibh porttitor. Ut in nulla enim. Phasellus molestie magna non est bibendum non venenatis nisl tempor. Suspendisse dictum.</p>
</div>
</section>
<div class="cover filter" style="background: url(http://afmarchetti.github.io/alux/image.jpg) center center;background-size: cover;">
<div class="cover__text grid text-left">
<div class="col-50">
<h2 class="huge">Page Message</h2>
<h3 class="large">Subtitle of the cover full width</h3>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Consectetur maiores, deleniti voluptates perferendis magnam temporibus, iure ratione quia quidem aliquid ex nisi ea. Dignissimos odio, consequatur enim. Autem, expedita, fugit.</p>
<a class="button" href="">Call to action</a>
</div>
</div>
</div>
<section class="grid no-col pb-0">
<h2>Title Section</h2>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Temporibus doloribus, amet, itaque iusto consequuntur dolor quae ducimus velit tempora necessitatibus quibusdam commodi! Molestias nihil est dolore numquam modi officiis, aliquam?</p>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Id recusandae, inventore soluta, repellat dolorem alias! Soluta ipsa aut fugit minus quod obcaecati odit vero. Ullam veritatis, nobis odit odio iusto!</p>
</section>
<section class="grid mb-3" id="cards">
<div class="col-50">
<div class="card">
<div class="tile filter" style="background: url(http://afmarchetti.github.io/alux/image.jpg) center center; background-size: cover;">
<div class="tile__text">
<h3 class="mb-0">Card title</h3>
<h4 class="light small">Lorem ipsum</h4>
</div>
</div>
<div class="card__copy">
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quae molestias deserunt aperiam cum fugit similique non, facilis unde quo tenetur animi eos sunt sit excepturi ducimus veritatis eaque repudiandae doloremque?</p>
</div>
</div>
</div>
<div class="col-50">
<div class="card">
<div class="tile filter" style="background: url(http://afmarchetti.github.io/alux/image.jpg) center center;background-size: cover;">
<div class="tile__text">
<h3 class="mb-0">Card title</h3>
<h4 class="light small">Lorem ipsum</h4>
</div>
</div>
<div class="card__copy">
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quae molestias deserunt aperiam cum fugit similique non, facilis unde quo tenetur animi eos sunt sit excepturi ducimus veritatis eaque repudiandae doloremque?</p>
</div>
</div>
</div>
</section>
<div class="cover filter" style="background: url(http://afmarchetti.github.io/alux/image.jpg) center center;background-size: cover;">
<div class="cover__text grid grid--right text-right">
<div class="col-50">
<h2 class="huge">Page Message</h2>
<h3 class="large">Subtitle of the cover full width</h3>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Consectetur maiores, deleniti voluptates perferendis magnam temporibus, iure ratione quia quidem aliquid ex nisi ea. Dignissimos odio, consequatur enim. Autem, expedita, fugit.</p>
<a class="button" href="">Call to action</a>
</div>
</div>
</div>
<section class="grid no-col">
<h2>Title Section</h2>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Temporibus doloribus, amet, itaque iusto consequuntur dolor quae ducimus velit tempora necessitatibus quibusdam commodi! Molestias nihil est dolore numquam modi officiis, aliquam?</p>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Id recusandae, inventore soluta, repellat dolorem alias! Soluta ipsa aut fugit minus quod obcaecati odit vero. Ullam veritatis, nobis odit odio iusto!</p>
</section>
<hr>
<section class="grid">
<div class="col-80 push-20">
<h3>Content</h3>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Adipisci eius quam dolores dolorem quasi assumenda, facilis voluptatum vitae neque delectus tenetur maiores molestias numquam quidem ipsa pariatur, ad qui libero.</p>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Voluptatibus nisi reprehenderit cumque aliquid nam quod temporibus adipisci est soluta. Quam sed iste a officiis quaerat consectetur itaque distinctio iure voluptatibus.</p>
<div class="grid">
<div class="col-30 push-70">
<h4>Nested Grid Col Push </h3>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Voluptatibus nisi reprehenderit cumque aliquid nam quod temporibus adipisci est so cumque aliquid nam quod temporibus adipisci est socumque aliquid nam quod temporibus adipisci. Adipisci est soluta. Iure voluptatibus.</p>
</div>
<div class="col-70 pull-30">
<h4>Nested Grid Column Pull</h3>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Voluptatibus nisi reprehenderit cumque aliquid nam quod temporibus adipisci est soluta. Quam sed iste a officiis quaerat consectetur itaque distinctio iure voluptatibus.</p>
<div class="grid">
<div class="col-50">
<h5>Nested Grid of Nested Grid Column</h5>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Voluptatibus nisi reprehenderit cumque aliquid nam quod temporibus adipisci est soluta. Quam sed iste a officiis quaerat consectetur itaque distinctio iure voluptatibus.</p>
</div>
<div class="col-50">
<h5>Nested Grid of Nested Grid Column</h5>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Voluptatibus nisi reprehenderit cumque aliquid nam quod temporibus adipisci est soluta. Quam sed iste a officiis quaerat consectetur itaque distinctio iure voluptatibus.</p>
<div class="grid">
<div class="col-50 push-50">
<h5>Nested Grid of Nested Grid Column Push</h5>
<p>Lorem ipsum dolor sit amet.</p>
</div>
<div class="col-50 pull-50">
<h5>Nested Grid of Nested Grid Column Pull</h5>
<p>Lorem ipsum dolor sit amet.</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="col-20 pull-80">
<h3>Sidebar</h3>
<ul>
<li>Link</li>
<li>Lorem link</li>
<li>Ipsum link</li>
<li>Dot link</li>
</ul>
</div>
</section>
<hr>
<section class="grid">
<div class="col-20 tab-50">
<h2>01.</h2>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Temporibus doloribus, amet, itaque iusto consequuntur dolor quae ducimus velit tempora necessitatibus quibusdam commodi! Molestias nihil est dolore numquam modi officiis, aliquam?</p>
</div>
<div class="col-20 tab-50 sma-50">
<h2>02.</h2>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Temporibus doloribus, amet, itaque iusto consequuntur dolor quae ducimus velit tempora necessitatibus quibusdam commodi! Molestias nihil est dolore numquam modi officiis, aliquam?</p>
</div>
<div class="col-20 tab-33 sma-50">
<h2>03.</h2>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Temporibus doloribus, amet, itaque iusto consequuntur dolor quae ducimus velit tempora necessitatibus quibusdam commodi! Molestias nihil est dolore numquam modi officiis, aliquam?</p>
</div>
<div class="col-20 tab-33 sma-50">
<h2>04.</h2>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Temporibus doloribus, amet, itaque iusto consequuntur dolor quae ducimus velit tempora necessitatibus quibusdam commodi! Molestias nihil est dolore numquam modi officiis, aliquam?</p>
</div>
<div class="col-20 tab-33 sma-50">
<h2>05.</h2>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Temporibus doloribus, amet, itaque iusto consequuntur dolor quae ducimus velit tempora necessitatibus quibusdam commodi! Molestias nihil est dolore numquam modi officiis, aliquam?</p>
</div>
</section>
<hr>
<section class="grid text-center">
<div class="col-12 sma-25">
<p>Logo <strong>1</strong></p>
</div>
<div class="col-12 sma-25">
<p>Logo <strong>2</strong></p>
</div>
<div class="col-12 sma-25">
<p>Logo <strong>3</strong></p>
</div>
<div class="col-12 sma-25">
<p>Logo <strong>4</strong></p>
</div>
<div class="col-12 sma-25">
<p>Logo <strong>5</strong></p>
</div>
<div class="col-12 sma-25">
<p>Logo <strong>6</strong></p>
</div>
<div class="col-12 sma-25">
<p>Logo <strong>7</strong></p>
</div>
<div class="col-12 sma-25">
<p>Logo <strong>8</strong></p>
</div>
</section>
<script src="js/alux.min.js"></script>
<script>
var next = document.querySelector(".container-siema__next");
var prev = document.querySelector(".container-siema__prev");
var slideCount = document.querySelector(".siema").children.length - 1;
function printSlideIndex() {
if (this.currentSlide.toString() === "0") {
prev.classList.add('alux-arrow--disable')
} else {
prev.classList.remove('alux-arrow--disable');
}
if (this.currentSlide.toString() === slideCount.toString()) {
next.classList.add('alux-arrow--disable')
} else {
next.classList.remove('alux-arrow--disable');
}
}
var mySiema = new Siema({
onInit: printSlideIndex,
onChange: printSlideIndex
// loop: true,
});
prev.addEventListener("click", function () {
return mySiema.prev();
});
next.addEventListener("click", function () {
return mySiema.next();
});
</script>
</body>
</html>