-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
54 lines (52 loc) · 1.62 KB
/
index.html
File metadata and controls
54 lines (52 loc) · 1.62 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
---
title: Machine Learning On Big Series
subTitle: The first state-of-the-art platform for time series analysis
---
<!DOCTYPE html>
<html>
{% include head.html %}
<body id="page-home" class="page">
{% include navbar.html %}
<main class="main-content">
{% include_relative _pages/home/header.html %}
{% include_relative _pages/home/home.html %}
{% include cta.html %}
{% include khiva.html %}
{% include footer.html %}
</main>
{% include js.html %}
<script>
(() => {
//prevent default
let imageWhite = $('#page-home .navbar').hasClass('nav-shadow');
if(window.innerWidth < 992) {
$('#page-home .navbar.nav-shadow .navbar-logo').attr('src','/assets/images/ShapeletsLogo.png');
} else {
if(imageWhite){
$('#page-home .navbar.nav-shadow .navbar-logo').attr('src','/assets/images/ShapeletsLogo.png');
}else{
$('#page-home .navbar .navbar-logo').attr('src','/assets/images/shapelets-white.png');
}
imageWhite = !imageWhite;
}
$(window).scroll(() => {
if(window.innerWidth < 992) {
$('#page-home .navbar.nav-shadow .navbar-logo').attr('src','/assets/images/ShapeletsLogo.png');
} else {
if($('#page-home .navbar').hasClass('nav-shadow')){
if(imageWhite){
imageWhite = !imageWhite;
$('#page-home .navbar.nav-shadow .navbar-logo').attr('src','/assets/images/ShapeletsLogo.png');
}
}else{
if(!imageWhite){
imageWhite = !imageWhite;
$('#page-home .navbar .navbar-logo').attr('src','/assets/images/shapelets-white.png');
}
}
}
});
})();
</script>
</body>
</html>