-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathslideshow.html
171 lines (118 loc) · 4.94 KB
/
slideshow.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<!-- responsive viewport -->
<meta name="viewport" content="width=device-width" />
<meta name="description" content="Official website of Uncharted Limbo Collective. Creative coders & visual artists." />
<meta name="author" content="Uncharted Limbo Collective" />
<title>Uncharted Limbo Pitch Deck 2022</title>
<!-- Favicon-->
<link rel="icon" type="image/x-icon" href="assets/img/ulc_logo_favicon_32px.png" />
<!-- Google Fonts -->
<link href="https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@100;200;300;400&family=Work+Sans:wght@200;300;400&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700;1,900&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@100;200;300;400;500;600;700;800&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="assets/css/slideshow.css" rel="stylesheet">
<link href="assets/css/ulc.css" rel="stylesheet">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.1/jquery.min.js"></script>
</head>
<body>
<!-- Slideshow container -->
<div class="slideshow-container">
<button id="fullscreen" class="toggle-fullscreen" onclick="toggleFullscreen()" style="width: 24px; height: 24px; border: 0; background: url(assets/slideshow/fullscreen.svg)">
</button>
<!-- ------------------ SLIDE 1 ------------------ -->
<div class="slides fade" style="display: flex; flex-direction: column;align-content: center;align-items: center; justify-content: space-around;" >
<div class="numbertext">1 / 3</div>
<img src="assets/slideshow/slide_01--logo.jpg" class="logo">
<a href="https://uncharted-limbo.com" style="text-align: center; margin-left:auto;margin-right:auto;position: absolute;bottom: 48px;">Website</a>
</div>
<!-- ------------------ SLIDE 2 ------------------ -->
<div class="slides fade" style="display:block; margin: auto ;" >
<div class="numbertext">2 / 3</div>
<div style="margin: 0;
position: absolute;
top: 50%;
left: 50%;
-ms-transform: translate(-50%, -50%);
transform: translate(-50%, -50%); ">
<div class="main-text" style="text-align: center; margin-bottom: 20px;">We are Uncharted Limbo<br>A collective of creative coders & visual artists based in London.
</div>
<div class="main-text main-text-secondary" style="text-align: center; margin-bottom: 20px;">Our backgrounds span the fields of<br>Architecture, Computational Design, Game & Software Development, <br>Visual Effects and 3D Computer Graphics.
</div>
<div class="main-text main-text-secondary" style="text-align: center; margin-bottom: 20px;">We share the restless curiosity <br>for what lies at & beyond the current edge of technology.
</div>
</div>
</div>
<!-- ------------------ SLIDE 3 ------------------ -->
<div class="slides fade" style="display:block; margin: auto; " >
<div class="numbertext">3 / 3</div>
<div>
<iframe class="video" src="https://www.youtube-nocookie.com/embed/jyTPEDzOnXM?controls=0&modestbranding=1" title="YouTube video player" allow="accelerometer; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen frameborder="0" >
</iframe>
</div>
</div>
<!-- Next and previous buttons -->
<a class="prev" onclick="plusSlides(-1)">❮</a>
<a class="next" onclick="plusSlides(1)">❯</a>
</div>
<script>
function toggleFullscreen() {
let elem = document.documentElement;
let but = document.getElementById ("fullscreen");
if (!document.fullscreenElement) {
elem.requestFullscreen().catch((err) => {
alert(`Error attempting to enable fullscreen mode: ${err.message} (${err.name})`);
});
but.style.opacity = 0;
} else {
document.exitFullscreen();
but.style.opacity = 0.1;
}
}
function stopAllYouTubeVideos()
{
$('iframe').attr('src', $('iframe').attr('src'));
}
let slideIndex = 1;
showSlides(slideIndex);
// Next/previous controls
function plusSlides(n) {
showSlides(slideIndex += n);
}
// Thumbnail image controls
function currentSlide(n) {
showSlides(slideIndex = n);
}
function showSlides(n) {
stopAllYouTubeVideos();
let i;
let slides = document.getElementsByClassName("slides");
//let dots = document.getElementsByClassName("dot");
if (n > slides.length)
{
slideIndex = 1;
}
if (n < 1)
{
slideIndex = slides.length;
}
for (i = 0; i < slides.length; i++)
{
slides[i].style.display = "none";
}
/*
for (i = 0; i < dots.length; i++)
{
dots[i].className = dots[i].className.replace(" active", "");
}
*/
slides[slideIndex-1].style.display = "flex";
//dots[slideIndex-1].className += " active";
}
</script>
</body>