-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
105 lines (87 loc) · 2.69 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
<!DOCTYPE html>
<html>
<head>
<script src="https://use.fontawesome.com/a20244987a.js"></script>
<link href="https://fonts.googleapis.com/css?family=Josefin+Sans" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Pacifico" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="home.css" />
<title>cherb.</title>
</head>
<body>
<div id="container">
<h1 id="cherbtext">
<span id="cherb1">cherb</span>
<span id="cherb2">cherb</span>
</h1>
<a id="projectsButton" href="#" onclick="openProjects()">
<h4 id="projectsText">projects </h4>
<i id="projectsIcon" class="fa fa-envelope-o aboutIcon" aria-hidden="true"></i>
</a>
<a href="contact">
<i class="fa fa-paper-plane-o" aria-hidden="true"></i>
</a>
<div id="projectsContain">
<a href="http://spellbook.cc/" target="_blank">
<div id="project1" class="projectC">
<h5>spellbook.cc</h5>
<img src="img/iconspellbook.png" width="70">
<span>a colourful link-based notebook</span>
</div>
</a>
<a href="scape">
<div id="project2" class="projectC">
<h5>scape</h5>
<img src="img/iconscape3d.png" width="70">
<span>a random landscape generator</span>
</div>
</a>
<a href="img/dysphoria.apk">
<div id="project3" class="projectC">
<h5>dysphoria</h5>
<img src="img/icondysphoria.png" width="70">
<span>a strange and stressful survival game
<i class="fa fa-android" aria-hidden="true"></i>
</span>
</div>
</a>
<a href="flash">
<div id="project4" class="projectC">
<h5>flash</h5>
<img src="flash/hexep.png" width="70">
<span>web games from another era </span>
</div>
</a>
<!-- <a href="img/daynite.apk">
<div id="project5" class="projectC">
<h5>daynite</h5>
<img src="img/icondaynite.png" width="70">
<span>explore events happening around you
<i class="fa fa-android" aria-hidden="true"></i>
</span>
</div>
</a> -->
</div>
</div>
<canvas id="canvas3D"></canvas>
<div id="particles-js"></div>
<script src="homescript.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/particles.min.js"></script>
<script>
function getUrlVars() {
var vars = {};
var parts = window.location.href.replace(/[?&]+([^=&]+)=([^&]*)/gi, function (m, key, value) {
vars[key] = value;
});
return vars;
}
var three = getUrlVars()["3d"];
if (three !== true && three !== "on") {
particlesJS.load('particles-js', 'particles.json', function () {
console.log('particle.js loaded');
});
}
</script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/88/three.min.js"></script>
<script src="3script.js"></script>
</body>
</html>