-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
executable file
·144 lines (130 loc) · 4.99 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
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
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="css/style.css">
<meta charset="utf-8">
<title>TEDxYouth@JPIS@2019</title>
<meta name="author" content="TEDxYouth@JPIS Tech Team"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
<link rel="stylesheet" media="screen" href="css/alt.css">
<link rel="stylesheet" href="flipclock/css/flipclock.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<link href="https://fonts.googleapis.com/css?family=Raleway:100&display=swap" rel="stylesheet">
</head>
<body>
<style>
.animate{
transform: scale(1.1);
transition: 0.2s all;
}
.goDown{
height: 50px;
width: 50px;
background: none;
border: none;
background-image:url('assets/down.png');
background-size: contain;
position: absolute;
bottom: 20px;
margin: 0 auto;
}
#timerDiv{
width: 100%;
height: 100%;
padding: 50px;
text-align: justify;
}
#upBtn{
background-image:url('assets/up.png');
display: none;
}
#aboutTxt{
/* margin-top: 20px; */
position: relative;
transform: translateY(-40%);
top: 40%;
}
</style>
<script>
$(document).ready(function(){
var count = 0;
$("#welcomeTxt1").toggleClass("animate").delay(200).promise().done(function() {
console.log("done")
$("#welcomeTxt2").toggleClass("animate").delay(200).promise().done(function(){
console.log("done")
$("#welcomeTxt3").toggleClass("animate");
});
});
$("#downBtn").click(function(){
$("#welcomeTxt1").fadeOut();
$("#welcomeTxt2").fadeOut();
$("#welcomeTxt3").fadeOut();
$([document.documentElement, document.body]).animate({
scrollTop: $("#timerDiv").offset().top
}, 1000);
$(this).fadeOut()
$("#upBtn").fadeIn()
})
$("#upBtn").click(function(){
$([document.documentElement, document.body]).animate({
scrollTop: $("#timerDiv").offset().top
}, 1000,function(){
$("#welcomeTxt1").show()
$("#welcomeTxt2").show()
$("#welcomeTxt3").show()
});
$(this).fadeOut();
$("#downBtn").fadeIn();
})
});
</script>
<nav class="navbar navbar-expand-lg navbar-dark" style="background-color:transparent!important">
<a class="navbar-brand ml-5" href="#"><img src="assets/logo.png" id="mainLogo"></a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav">
<!-- <li class="nav-item ml-1">
<span id="timer"></span>
</li> -->
<li class="nav-item active ml-5">
<a class="nav-link" href="index.html">HOME <span class="sr-only">(current)</span></a>
</li>
<li class="nav-item ml-5 ">
<a class="nav-link" href="team.html">MEET THE TEAM</a>
</li>
<li class="nav-item ml-5 ">
<a class="nav-link " href="speakers.html">SPEAKERS</a>
</li>
<li class="nav-item ml-5 ">
<a class="nav-link " href="#">SPONSORS</a>
</li>
</ul>
</div>
</nav>
<h2 id="welcomeTxt1"> IDEAS </h2>
<h2 id="welcomeTxt2"> WORTH </h2>
<h2 id="welcomeTxt3"> SPREADING </h2>
<button class="goDown" id="downBtn"></button>
<button class="goDown" id="upBtn"></button>
<canvas id="canvas">
</canvas>
<div id="timerDiv">
<div id="box">
<h2 id="timer"></h2>
</div>
<h4 id="aboutTxt">
In the spirit of ideas worth spreading, TED has created a program called TEDx. TEDx is a program of local, self-organized events that bring people together to share a TED-like experience. Our event is called TEDxYouth@JPIS, where x = independently organized TED event. At our event, TED Talks video and live speakers will combine to spark deep discussion and connection in a small group. The TED Conference provides general guidance for the TEDx program, but individual TEDx events, including ours, are self-organized.
</h4>
</div>
<script src='https://codepen.io/Tibixx/pen/BbBxRG.js'></script>
<script src='https://codepen.io/Tibixx/pen/rRBKBm.js'></script>
<script src='https://cdnjs.cloudflare.com/ajax/libs/dat-gui/0.7.5/dat.gui.min.js'></script><script src="js/script.js"></script>
<script src="js/timer.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js" integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy" crossorigin="anonymous"></script>
</body>
</html>