-
Notifications
You must be signed in to change notification settings - Fork 0
/
home.html
91 lines (75 loc) · 4.32 KB
/
home.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="main.css" rel="stylesheet">
<script src="main.js"></script>
<!-- I've never used a Google Font before and Roboto is close enough to GT Super that I used it instead. I'm impressed with how quickly it loads -->
<link href="https://fonts.googleapis.com/css?family=Roboto+Condensed:700" rel="stylesheet">
</head>
<body>
<div class="center columnar">
<div class="website-title">
BULLITT
</div>
<div class="website-sub-title">
Talent
</div>
<div class="thumbnail-section-wrap center">
<!-- I stuck with vanilla HTML/CSS/Javascript so there is more repetition of code than I would like. This whole stack of thumbnails would ideally be a loop. -->
<div class="thumbnail-wrap thumbnail">
<img class="thumbnail-wrap" src="img/80s.png" id="thumbnail-80s" alt="80's" onclick="openVideoOverlay('https://vimeo.com/channels/staffpicks/291933000', '80\'s')">
<div class="thumbnail-text-centered">80's</div>
</div>
<div class="thumbnail-wrap thumbnail">
<img class="thumbnail-wrap" src="img/cartoon.png" id="thumbnail-cartoon" alt="cartoon" onclick="openVideoOverlay('https://vimeo.com/channels/staffpicks/292766005', 'Cartoon')">
<div class="thumbnail-text-centered">Cartoon</div>
</div>
<div class="thumbnail-wrap thumbnail">
<img class="thumbnail-wrap" src="img/topic.png" id="thumbnail-topic" alt="topic" onclick="openVideoOverlay('https://vimeo.com/289133524', 'Topic')">
<div class="thumbnail-text-centered">Topic</div>
</div>
<div class="thumbnail-wrap thumbnail">
<img class="thumbnail-wrap" src="img/warehouse.png" id="thumbnail-warehouse" alt="warehouse" onclick="openVideoOverlay('https://vimeo.com/282685581', 'Warehouse')">
<div class="thumbnail-text-centered">Warehouse</div>
</div>
<div class="thumbnail-wrap thumbnail">
<img class="thumbnail-wrap" src="img/lipstick.png" id="thumbnail-lipstick" alt="lipstick" onclick="openVideoOverlay('https://vimeo.com/217601406', 'Lipstick')">
<div class="thumbnail-text-centered">Lipstick</div>
</div>
<div class="thumbnail-wrap thumbnail">
<img class="thumbnail-wrap" src="img/biking.png" id="thumbnail-biking" alt="biking" onclick="openVideoOverlay('https://vimeo.com/292251793', 'Biking')">
<div class="thumbnail-text-centered">Biking</div>
</div>
<div class="thumbnail-wrap thumbnail">
<img class="thumbnail-wrap" src="img/surfing.png" id="thumbnail-surfing" alt="surfing" onclick="openVideoOverlay('https://vimeo.com/246001846', 'Surfing')">
<div class="thumbnail-text-centered">Surfing</div>
</div>
<div class="thumbnail-wrap thumbnail">
<img class="thumbnail-wrap" src="img/space.png" id="thumbnail-space" alt="space" onclick="openVideoOverlay('https://vimeo.com/285010561', 'Space')">
<div class="thumbnail-text-centered">Space</div>
</div>
<div class="thumbnail-wrap thumbnail">
<img class="thumbnail-wrap" src="img/tech.png" id="thumbnail-tech" alt="tech" onclick="openVideoOverlay('https://vimeo.com/281951902', 'Tech')">
<div class="thumbnail-text-centered">Tech</div>
</div>
</div>
</div>
<!-- I didn't implement any wrapping for the video overlay CLOSE button. Instead I added the ability to close the video by tapping anywhere -->
<div id="video-overlay" class="video-overlay" onclick="closerVideoOverlay()">
<div class="center columnar">
<div class="website-title">
BULLITT
</div>
</div>
<div class="video-player center">
<div id="video-title" class="vertical-text video-title">
title to be replaced
</div>
<div id="video-embed" class="center video-embed"></div>
<div class="vertical-text video-close-button">
CLOSE
</div>
</div>
</div>
</body>