-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·98 lines (93 loc) · 3.38 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
---
section_id: home
---
<!DOCTYPE html>
<html>
{% include head.html %}
<body class="f-topbar-fixed">
<div class='transparent white fixed contain-to-grid'>
<nav class="top-bar" data-options="" data-topbar="" style="background: transparent;">
<ul class='title-area'>
<li class='name'>
<h1>
<a href='{{site.baseurl}}'>
<img alt="subnero logo" src="{{site.baseurl}}/images/subnero_logo.png" />
</a>
</h1>
</li>
<li class='toggle-topbar menu-icon'>
<a href='#'>Menu</a>
</li>
</ul>
<section class='top-bar-section'>
<ul class="right">
{% for item in site.data.nav %}
{% if item.section_id == page.section_id %}
{% assign active_class = "active" %}
{% else %}
{% assign active_class = "" %}
{% endif %}
<li class="{{active_class}}" >
<a href="{{site.baseurl}}/{{ item.path }}">{{ item.name }}</a>
</li>
{% endfor %}
</ul>
</section>
</nav>
</div>
<div id="main" role="main" class="top-shift">
<div class="full no-padding">
<div class="fullscreen">
<img id="fullscreen-video">
<script>
var numImages = 13;
if (window.location.hash && parseInt(window.location.hash.substring(1))){
var id = parseInt(window.location.hash.substring(1));
}
if (!id || id > numImages){
id = Math.floor(Math.random() * numImages)+1;
}
document.getElementById('fullscreen-video').src = "images/lp"+id+".jpg";
</script>
<div class="overlay"></div>
<div class="layer">
<h1 class="thin" id="to-be-update">The future of <br> underwater wireless</h1>
</div>
<div class="announcements">
<h3 class="thin">What's new? </h3>
<div class="latest-news">
{% for post in site.posts limit:3 %}
<a href="{{site.url}}{{post.url}}">{{ post.title }}</a>
{% endfor %}
</div>
</div>
<script>
let animEl = document.querySelectorAll('.latest-news a');
if(animEl){
let count = 0;
animEl[count].classList.add('active');
let intervalId = setInterval(function() {
animEl[count].classList.remove('active');
count++;
if(count >= animEl.length) count = 0;
animEl[count].classList.add('active');
}, 6000);
}
</script>
</div>
</div>
<script src="{{ "/javascripts/jquery.countTo.js" | prepend: site.baseurl }}" type="text/javascript"></script>
<script src="{{ "/javascripts/jquery.appear.js" | prepend: site.baseurl }}" type="text/javascript"></script>
<script src="{{ "/javascripts/jquery.sequence-min.js" | prepend: site.baseurl }}" type="text/javascript"></script>
<script src="{{ "/javascripts/jquery.easing.1.3.js" | prepend: site.baseurl }}" type="text/javascript"></script>
<script src="{{ "/javascripts/app.js" | prepend: site.baseurl }}" type="text/javascript"></script>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-130948711-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-130948711-1');
</script>
</body>
</html>