forked from Aryasah/UNKnown
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
143 lines (138 loc) · 4.97 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>
WDCT Corner
</title>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css"
/>
<link rel="stylesheet" href="https://use.typekit.net/skn8ash.css" />
<link rel="stylesheet" href="./style.css" />
</head>
<body>
<!-- partial:index.partial.html -->
<div id="three-container"></div>
<section id="welcome-section">
<h1 style="color: gray">
WDCT Corner
<a
href="/home.html"
class="entergallery"
>Enter Room</a
>
</h1>
</section>
<div id="gallery" class="gallery">
<div class="col">
<div class="image">
<img
src="/img/1.jpg"
alt=""
/>
</div>
<div class="image">
<img
src="/img/2.jpg"
alt=""
/>
</div>
<div class="image">
<img
src="/img/9.gif"
alt=""
/>
</div>
</div>
<div class="col">
<div class="image">
<img
src="https://images.pexels.com/photos/10050979/pexels-photo-10050979.jpeg?cs=srgb&dl=pexels-%D0%B8%D0%BB%D1%8C%D1%8F-%D0%BF%D0%B0%D1%85%D0%BE%D0%BC%D0%BE%D0%B2-10050979.jpg&fm=jpg?auto=compress&cs=tinysrgb&h=650&w=940%20940w"
alt=""
/>
</div>
<div class="image">
<img
src="https://images.pexels.com/photos/1128660/pexels-photo-1128660.jpeg?cs=srgb&dl=pexels-nur-andi-ravsanjani-gusma-1128660.jpg&fm=jpg?auto=compress&cs=tinysrgb&h=650&w=940%20940w"
alt=""
/>
</div>
<div class="image">
<img
src="https://images.pexels.com/photos/9699293/pexels-photo-9699293.jpeg?cs=srgb&dl=pexels-lada-rezantseva-9699293.jpg&fm=jpg?auto=compress&cs=tinysrgb&h=650&w=940%20940w"
alt=""
/>
</div>
</div>
<div class="col">
<div class="image">
<img
src="https://images.pexels.com/photos/6405575/pexels-photo-6405575.jpeg?cs=srgb&dl=pexels-daria-sannikova-6405575.jpg&fm=jpg?auto=compress&cs=tinysrgb&h=650&w=940%20940w"
alt=""
/>
</div>
<div class="image">
<img
src="https://images.pexels.com/photos/10162526/pexels-photo-10162526.jpeg?cs=srgb&dl=pexels-svetlana%F0%9F%8E%9E-10162526.jpg&fm=jpg?auto=compress&cs=tinysrgb&h=650&w=940%20940w"
alt=""
/>
</div>
<div class="image">
<img
src="https://images.pexels.com/photos/4394807/pexels-photo-4394807.jpeg?cs=srgb&dl=pexels-woodysmedia-4394807.jpg&fm=jpg?auto=compress&cs=tinysrgb&h=650&w=940%20940w"
alt=""
/>
</div>
</div>
</div>
<!-- partial -->
<script src="https://unpkg.co/gsap@3/dist/gsap.min.js"></script>
<script src="https://unpkg.com/gsap@3/dist/ScrollTrigger.min.js"></script>
<!-- <script src="./script.js"></script> -->
<!-- partial -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/r75/three.min.js"></script>
<script src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/175711/TextGeometry.js"></script>
<script src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/175711/FontUtils.js"></script>
<script src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/175711/pnltri.min.js"></script>
<script src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/175711/droid_sans_bold.typeface.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/1.18.0/TweenMax.min.js"></script>
<script src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/175711/bas.js"></script>
<script src="./script.js"></script>
<script>
window.onbeforeunload = function () {
window.scrollTo(0, 0);
}
THREE.ShapeUtils.triangulateShape = (function () {
var pnlTriangulator = new PNLTRI.Triangulator();
return function triangulateShape(contour, holes) {
return pnlTriangulator.triangulate_polygon([contour].concat(holes));
};
})();
</script>
<script src="./newscript.js"></script>
<script>
document.onreadystatechange = function() {
if (document.readyState !== "complete") {
console.log("loaded");
setTimeout(() => {
loadend();
}, 4000);
} else {
console.log("not loaded");
setTimeout(() => {
loadend();
}, 4000);
}
};
function loadend() {
document.getElementsByTagName('body')[0].style.overflowY="visible"
document.getElementById('three-container').style.display= "none";
document.getElementById('welcome-section').style.display= "flex";
document.getElementById('gallery').style.display = "flex";
}
</script>
</body>
</html>