forked from nebula-plugins/nebula-plugins.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
87 lines (73 loc) · 2.61 KB
/
index.html
File metadata and controls
87 lines (73 loc) · 2.61 KB
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
---
layout: base
lang: en
---
<body class="homepage">
<a class="sr-only" href="#main-content">Skip to main content</a>
{% include navigation.html %}
<div class="hero-banner">
<div class="container">
<div class="row">
<div class="col-xs-12 col-lg-10 col-lg-offset-1 text-center">
<div class="row">
<div class="col-xs-12">
<div class="row">
<div class="col-xs-12 text-center">
<img class="hero-banner-logo" src="{{ site.baseurl }}/images/nebula-vertical.png" alt="">
</div>
</div>
<div class="row text-center hero-banner-tagline">
<div class="col-xs-12">
<div>{% include tagline.txt %}</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
{% comment %}
Replay intro animation action -- not used quite yet :)
<a href="#" class="repeat-intro-animation">
<span class="icon icon-reload"></span>
</a>
{% endcomment %}
</div>
<!-- the id is used exclusively for easy access by assistive technology -->
<main class="main-homepage-content" id="main-content">
<div class="container">
<div class="row">
<div class="col-xs-12 col-lg-10 col-lg-offset-1">
{% capture the_include %}{% include homepage.md %}{% endcapture %}
{{ the_include | markdownify }}
</div>
</div>
</div>
</main>
{% include site-footer.html %}
{% include javascript-includes.html %}
{% comment %}
First visit intro animation -- not using quite yet :)
<script>
var INTRO_ANIMATION_FLAG_NAME = 'nebula_homepage_intro_animation_played';
$(document).ready(function () {
if (document.cookie.indexOf(INTRO_ANIMATION_FLAG_NAME) === -1) {
document.body.className += ' animation-enabled';
document.cookie = INTRO_ANIMATION_FLAG_NAME +
'=true; expires=Fri, 1 Jan 2030 00:00:00 UTC; path=/';
} else {
// TODO: figure out if the flash before the animation is due to chrome caching
// a snapshot of the page, or an actual bug that this will be required to fix
document.body.className = document.body.className.replace('loading', '');
}
$('.repeat-intro-animation').click(function (event) {
event.preventDefault();
window.scrollTo(0,0);
document.cookie = INTRO_ANIMATION_FLAG_NAME +
'=; expires=Thu, 01 Jan 1970 00:00:01 UTC; path=/';
window.location.reload();
});
});
</script>
{% endcomment %}
</body>