-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.jade
332 lines (313 loc) · 10.2 KB
/
index.jade
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
doctype html
// IN JADE YOU USE ALL HTML TAGS WITH NO "< >" SYMBOLS ALL HTML TAGS ARE USED WITHOUT SYMBOLS; HTML, DIV, BODY, META,
// CHILD ELEMENTS ARE SPECIFIED THROUGH INDENTATION. RATHER THAN PUTTING THEM INSIDE OPENING AND CLOSING TAG OF THE PARENT ELEMENT.
// FOR EXAMPLE, HEAD IS INSIDE HTML BECAUSE IT'S IDENTED ONE LEVEL FURTHER. IT WOULD BE A SIBLING OF HTML IF IT WAS ON THE SAME LEVEL.
// META, TITLE, LINK, SCRIPT ARE ALL INSIDE HEAD. & BODY IS A SIBLING OF HEAD.
// ALL data that is normall found inside after a tag is added with (). example: <link rel="stylesheet"> would look like "link(rel="stylesheet),
// THE "INCLUDES" are simply the same content placed in a separate jade sheet to keep this page simpler.
html.no-js(lang='en')
head
title Double Donation Event
meta(charset='utf-8')
// if you remove this meta tag, the NSA will spy on you through your Xbox Kinect camera
meta(name='viewport', content='width=device-width, initial-scale=1.0')
script(type='text/javascript' src='js/modernizr.js')
link(rel='stylesheet', href='css/app.css')
// Icon
link(rel='icon' type='image/png' href='img/favicon.ico')
// Font Awesome
link(rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css")
// OwlCarousel
link(rel='stylesheet', href='plugins/owlcarousel/assets/owl.carousel.min.css')
link(rel='stylesheet', href='plugins/owlcarousel/assets/owl.theme.default.min.css')
// Scrollpane
link(type="text/css" href="/js/jscrollpane/jquery.jscrollpane.css" rel="stylesheet" media="all")
script(type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js")
script(type="text/javascript" src="/plugins/jscrollpane/scripts/jquery.jscrollpane.min.js")
script(type="text/javascript" src="/plugins/jscrollpane/scripts/jquery.mousewheel.js")
script(type="text/javascript" src="/plugins/jscrollpane/scripts/mwheelIntent.js")
script(src="/js/core.js")
//The UA-xxxxxxxxx-15 needs to be replaced for the proper google analytics id.
script.
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-xxxxxxxxx-15', 'auto');
ga('send', 'pageview');
$(function()
{
$('.scroll-pane').jScrollPane();
});
body.gray8
.off-canvas-wrap(data-offcanvas='')
.inner-wrap
a.left-off-canvas-toggle(href='#').show-for-medium-down.off-canvas-button
.fa.fa-bars MENU
// Off Canvas Menu
aside.left-off-canvas-menu.off-canvas-nav
// whatever you want goes here
ul.off-canvas-list
li
a(href='#') Item 1
li
a(href='#') Item 2
li
a(href='#') Item 3
li
a(href='#') Item 4
li
a(href='#').sub Sub item
li
a(href='#') Item 6
li
ul.social-icons.small-block-grid-3
li
a(href="#").fa.fa-twitter
li
a(href="#").fa.fa-facebook
li
a(href="#").fa.fa-youtube-play
// main content goes here
.header
.nav.white
.row
.logocontainer.small-4.small-centered.medium-4.medium-uncentered.columns
img(src="img/DevDuo-full.png").logo.small-12
.small-10.medium-6.show-for-medium-up.columns
ul.inline-list.text-center.right
li.hide-for-small-only
h2.nav-link
a(href='#').active Videos
li.hide-for-small-only.active
h2.nav-link
a(href='#') Blog
li.hide-for-small-only
h2.nav-link
a(href='#') Nosotros
li.hide-for-small-only
h2.nav-link
a(href='#') Recursos
.row.small-collapse.content.white
.row.small-collapse.brand1
// Carrousel
.owl-carousel.white
.item
img(src="img/carousel/slide1.png")
.item
img(src="img/carousel/slide1.png")
.item
img(src="img/carousel/slide1.png")
.item
img(src="img/carousel/slide1.png")
.row.page-header
.small-10.columns.small-centered
h2 Videos
.row
.small-10.columns.small-centered
ul.small-block-grid-1.medium-block-grid-2.videos
li.video-card
a(href-"#")
.info
h3.title Centrando con CSS
.small-12
img(src="/img/thumbs/thumbnail-01.jpg")
.info-bottom.border-html
h3.tag #HTML
p This is the subtitle of the video
li.video-card
a(href-"#")
.info
h3.title Utilizando Clases
.small-12
img(src="/img/thumbs/thumbnail-02.jpg")
.info-bottom.border-html
h3.tag #HTML
p This is the subtitle of the video
li.video-card
a(href-"#")
.info
h3.title This is the title
.small-12
img(src="/img/thumbs/thumbnail-03.jpg")
.info-bottom.border-html
h3.tag #HTML
p This is the subtitle of the video
li.video-card
a(href-"#")
.info
h3.title This is the title
.small-12
img(src="/img/thumbs/thumbnail-02.jpg")
.info-bottom.border-css
h3.tag #CSS
p This is the subtitle of the video
li.video-card
a(href-"#")
.info
h3.title This is the title
.small-12
img(src="/img/thumbs/thumbnail-05.jpg")
.info-bottom.border-css
h3.tag #CSS
p This is the subtitle of the video
li.video-card
a(href-"#")
.info
h3.title This is the title
.small-12
img(src="/img/thumbs/thumbnail-06.jpg")
.info-bottom.border-css
h3.tag #CSS
p This is the subtitle of the video
li.video-card
a(href-"#")
.info
h3.title This is the title
.small-12
img(src="/img/thumbs/thumbnail-07.jpg")
.info-bottom.border-sass
h3.tag #SASS
p This is the subtitle of the video
li.video-card
a(href-"#")
.info
h3.title This is the title
.small-12
img(src="/img/thumbs/thumbnail-08.jpg")
.info-bottom.border-sass
h3.tag #SASS
p This is the subtitle of the video
li.video-card
a(href-"#")
.info
h3.title This is the title
.small-12
img(src="/img/thumbs/thumbnail-09.jpg")
.info-bottom.border-sass
h3.tag #SASS
p This is the subtitle of the video
li.video-card
a(href-"#")
.info
h3.title This is the title
.small-12
img(src="/img/thumbs/thumbnail-10.jpg")
.info-bottom.border-zf
h3.tag #foundation
p This is the subtitle of the video
li.video-card
a(href-"#")
.info
h3.title This is the title
.small-12
img(src="/img/thumbs/thumbnail-11.jpg")
.info-bottom.border-zf
h3.tag #foundation
p This is the subtitle of the video
li.video-card
a(href-"#")
.info
h3.title This is the title
.small-12
img(src="/img/thumbs/thumbnail-12.jpg")
.info-bottom.border-tb
h3.tag #bootstrap
p This is the subtitle of the video
.pagination-section
.pagination-centered
ul.pagination
li.arrow.unavailable
a(href='') «
li.current
a(href='') 1
li
a(href='') 2
li
a(href='') 3
li
a(href='') 4
li.unavailable
a(href='') …
li
a(href='') 12
li
a(href='') 13
li.arrow
a(href='') »
.small-12.footer.gray9
//go to footer.jade file to edit content in the body.
.row
.medium-12.columns.footer-links
img(src="../../img/logoGray.svg").hide-for-small-only.footer-logo.columns.small-1
ul.inline-list.right.social-icons
li
a(href="tel:7138880070").fa.fa-phone
li
a(href="mailto:[email protected]").fa.fa-globe
li
a(href="." data-reveal-id="map").fa.fa-map
li
a(href="").fa.fa-facebook
li
a(href="").fa.fa-twitter-square
li
a(href="").fa.fa-youtube-play
li
a(href="").fa.fa-google-plus-square
// close the off-canvas menu
a.exit-off-canvas
footer
// These are the scripts needed to run all basic plugins for our sites.
script(type='text/javascript' src="/js/jquery.js")
script(type='text/javascript' src="/js/foundation.min.js")
script(type='text/javascript' src="/js/fastclick.min.js")
script(src='plugins/owlcarousel/owl.carousel.js')
script.
//This activates foundations Javascripts
$(document).foundation({
tab: {
callback : function (tab) {
console.log(tab);
}
}
});
//This enables the FastClick javascript which is necessary for Owlcarousel
window.addEventListener('load', function() {
new FastClick(document.body);
}, false);
// run foundation.js function
$(document).foundation();
$('a[href^="#bottom"], a[href^="#top"]').on('click', function(event) {
var target = $( $(this).attr('href') );
if( target.length ) {
event.preventDefault();
$('html, body').animate({
scrollTop: target.offset().top
}, 1000);
}
});
// Main Owl Carousel Settings
$(document).ready(function(){
$(".owl-carousel").owlCarousel();
});
$('.owl-carousel').owlCarousel({
loop: true,
margin:0,
nav:false,
dots: true,
autoplay: true,
autoplayTimeout: 3000,
autoplaySpeed: 4500,
responsive:{
0:{
items:1
},
600:{
items:1
},
1000:{
items:1
}
}
})