-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
233 lines (211 loc) · 12 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="icon" href="favicon.ico" type="image/png">
<link rel="manifest" href="/site.webmanifest">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>TAMU SUITS Home</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.6.3/css/font-awesome.min.css">
<link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro&display=swap" rel="stylesheet">
<!-- https://fonts.google.com/ -->
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/templatemo-video-catalog.css">
</head>
<body>
<div class="tm-page-wrap mx-auto">
<div class="position-relative">
<div class="position-absolute tm-site-header">
<div class="position-relative">
<div class="row">
<div class="col-7 col-md-4">
<a href="index.html" class="tm-bg-black text-center tm-logo-container"></a>
<h1 class="tm-site-name">The 12th Astronaut</h1>
</div>
<div class="col-5 col-md-8 ml-auto mr-0">
<div class="tm-site-nav">
<nav class="navbar navbar-expand-lg mr-0 ml-auto" id="tm-main-nav">
<button class="navbar-toggler tm-bg-black py-2 px-3 mr-0 ml-auto collapsed" type="button"
data-toggle="collapse" data-target="#navbar-nav" aria-controls="navbar-nav"
aria-expanded="false" aria-label="Toggle navigation">
<span>
<i class="fas fa-bars tm-menu-closed-icon"></i>
<i class="fas fa-times tm-menu-opened-icon"></i>
</span>
</button>
<div class="collapse navbar-collapse tm-nav" id="navbar-nav">
<ul class="navbar-nav text-uppercase">
<li class="nav-item active">
<a class="nav-link tm-nav-link" href="#">Home<span class="sr-only">(current)</span></a>
</li>
<li class="nav-item">
<a class="nav-link tm-nav-link" href="members.html">Members</a>
</li>
<li class="nav-item">
<a class="nav-link tm-nav-link" href="teams.html">Teams</a>
</li>
<li class="nav-item">
<a class="nav-link tm-nav-link" href="outreach.html">Outreach</a>
</li>
<li class="nav-item">
<a class="nav-link tm-nav-link" href="art.html">Art</a>
</li>
<li class="nav-item">
<a class="nav-link tm-nav-link" href="contact.html">Contact</a>
</li>
</ul>
</div>
</nav>
</div>
</div>
</div>
</div>
</div>
<div class="tm-welcome-container text-center text-white">
<div class="tm-welcome-container-inner">
<p class="tm-welcome-text mb-1 text-white">Welcome to the 12th Astronaut SUITS team.</p>
<p class="tm-welcome-text mb-1 text-white">Below is an introduction to our work.</p>
</div>
<a href="#content" class="btn tm-btn-animate tm-btn-cta tm-icon-down">
<span>Discover</span>
</a>
</div>
<div id="tm-video-container">
<video autoplay muted loop id="tm-video">
<!-- <source src="video/sunset-timelapse-video.mp4" type="video/mp4"> -->
<source src="video/video.mp4" type="video/mp4">
</video>
</div>
<i id="tm-video-control-button" class="fas fa-pause"></i>
</div>
<div class="container-fluid px-0">
<div class="mx-auto tm-content-container">
<div class="row mt-3 mb-5 pb-3">
<div class="col-12">
<div class="mx-auto tm-about-text-container px-3">
<h2 class="tm-page-subtitle mb-2 tm-text-secondary">Howdy, welcome to the 12th astronaut lab's website! Below are some clips of our recent Augmented Reality designs from our team.</h2>
</div>
</div>
</div>
</div>
</div>
<div class="container-fluid">
<div id="content" class="mx-auto tm-content-container">
<main>
<div class="row">
<div class="col-12">
<h2 class="tm-page-title mb-4">Our Video Catalog</h2>
</div>
</div>
<div class="row tm-catalog-item-list">
<div class="col-lg-4 col-md-6 col-sm-12 tm-catalog-item">
<div class="position-relative tm-thumbnail-container">
<a href="https://suits2021storage.blob.core.windows.net/website-videos/SUITSDevLog1.mp4">
<img src="img/SUITSDevLog1_thumbnail.png" width="100%"/>
</a>
</div>
<div class="p-4 tm-bg-gray tm-catalog-item-description">
<p class="tm-catalog-item-text">Hologram Compass.</p>
</div>
</div>
<div class="col-lg-4 col-md-6 col-sm-12 tm-catalog-item">
<div class="position-relative tm-thumbnail-container">
<a href="https://suits2021storage.blob.core.windows.net/website-videos/12thEclipseWhiteboard.mp4">
<img src="img/12thEclipseWhiteboar_thumbnail.png" width="100%"/>
</a>
</div>
<div class="p-4 tm-bg-gray tm-catalog-item-description">
<p class="tm-catalog-item-text">VR Whiteboard on the ISS.</p>
</div>
</div>
<div class="col-lg-4 col-md-6 col-sm-12 tm-catalog-item">
<div class="position-relative tm-thumbnail-container">
<a href="https://suits2021storage.blob.core.windows.net/website-videos/SUITSDevLog2.mp4">
<img src="img/SUITSDevLog2_thumbnail.png" width="100%"/>
</a>
</div>
<div class="p-4 tm-bg-gray tm-catalog-item-description">
<p class="tm-catalog-item-text">Hologram Overlays.</p>
</div>
</div>
</div>
<!-- Catalog Paging Buttons
<div>
<ul class="nav tm-paging-links">
<li class="nav-item active"><a href="#" class="nav-link tm-paging-link">1</a></li>
<li class="nav-item"><a href="#" class="nav-link tm-paging-link">2</a></li>
<li class="nav-item"><a href="#" class="nav-link tm-paging-link">3</a></li>
<li class="nav-item"><a href="#" class="nav-link tm-paging-link">4</a></li>
<li class="nav-item"><a href="#" class="nav-link tm-paging-link">></a></li>
</ul>
</div>-->
</main>
</div>
</div>
<br>
<div class="footer">
<div class="social-footer-icons">
<a href="https://www.youtube.com/channel/UC6njvZE_HmG4dCcmVeQ4G9Q"><button class="youtube"><i class="fa fa-youtube-play" aria-hidden="true"></i></button></a>
<a href="https://www.instagram.com/tamunasasuits/"><button class="insta"><i class="fa fa-instagram" aria-hidden="true"></i></button></a>
<a href="https://twitter.com/tamunasasuits"><button class="twitter"><i class="fa fa-twitter" aria-hidden="true"></i></button></a>
<a href="https://www.facebook.com/TAMUNASASUITS/"><button class="facebook"><i class="fa fa-facebook-f" aria-hidden="true"></i></button></a>
</div>
<div class="madeby">Made by the 12th Astronaut Team.</div>
</div>
</div> <!-- .tm-page-wrap -->
<script src="js/jquery-3.4.1.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script>
function setVideoSize() {
const vidWidth = 1920;
const vidHeight = 1080;
let windowWidth = window.innerWidth;
let newVidWidth = windowWidth;
let newVidHeight = windowWidth * vidHeight / vidWidth;
let marginLeft = 0;
let marginTop = 0;
if (newVidHeight < 500) {
newVidHeight = 500;
newVidWidth = newVidHeight * vidWidth / vidHeight;
}
if(newVidWidth > windowWidth) {
marginLeft = -((newVidWidth - windowWidth) / 2);
}
if(newVidHeight > 720) {
marginTop = -((newVidHeight - $('#tm-video-container').height()) / 2);
}
const tmVideo = $('#tm-video');
tmVideo.css('width', newVidWidth);
tmVideo.css('height', newVidHeight);
tmVideo.css('margin-left', marginLeft);
tmVideo.css('margin-top', marginTop);
}
$(document).ready(function () {
/************** Video background *********/
setVideoSize();
// Set video background size based on window size
let timeout;
window.onresize = function () {
clearTimeout(timeout);
timeout = setTimeout(setVideoSize, 100);
};
// Play/Pause button for video background
const btn = $("#tm-video-control-button");
btn.on("click", function (e) {
const video = document.getElementById("tm-video");
$(this).removeClass();
if (video.paused) {
video.play();
$(this).addClass("fas fa-pause");
} else {
video.pause();
$(this).addClass("fas fa-play");
}
});
})
</script>
</body>
</html>