-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
166 lines (153 loc) · 6.39 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
<!doctype html>
<!--
Original Author: Nickolas Reimschiissel
-->
<html lang="en-US">
<head>
<title>Voidlighter</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<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="manifest" href="/site.webmanifest">
<link href="main.css" rel="stylesheet" type="text/css">
<!-- <script type="text/javascript" defer>
document.addEventListener('readystatechange', event => {
if (event.target.readyState === "complete") {
// Links to other pages
let youtubeLink = "https://www.youtube.com/@CadeVoidlighter"
let twitchLink = "https://www.twitch.tv/cadevoidlighter"
let discordLink = "https://discord.gg/DGYU2UnzXS"
let githubLink = "https://github.com/voidlighter"
let patreonLink = "https://www.patreon.com/voidlighter"
// For each set of anchors (hyperlinks) set the href (link) appropriately
let anchors = document.getElementsByTagName('a')
for (let i = 0; i < anchors.length; i++) {
let anchor = anchors[i]
let anchorClasses = anchor.classList
if (anchorClasses == null) {
continue
}
if (anchorClasses.contains('youtube')) {
anchor.href = youtubeLink
} else if (anchorClasses.contains('twitch')) {
anchor.href = twitchLink
} else if (anchorClasses.contains('discord')) {
anchor.href = discordLink
} else if (anchorClasses.contains('patreon')) {
anchor.href = patreonLink
}
}
}
}, false)
</script> -->
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Baloo+2">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Economica">
</head>
<body>
<!--Main Container-->
<div class="container">
<!-- <div id="bgImage" class="bgImage"><img src="images/common-background.png" alt="backgroundImage" class="bgImage"></div> -->
<!--Header (Big image)-->
<header id="common-header"></header>
<!--Description Section-->
<div class="description">
<h4 class="description">
Time for some gaming, wholesome fun, a little learning here and there, and we'll figure the rest out as
we go.
</h4>
<br>
<span class="social-link rounded" id="youtube">
<a href="https://www.youtube.com/@CadeVoidlighter" class="youtube" title="YouTube" target="_blank" rel="noopener noreferrer">
<span class="link-spanner rounded"></span>
</a>
<img src="images/mediaIcons/YouTubeCircle.png" alt="YouTube" class="social" />
<h3 style="color:rgb(208, 74, 37)">YouTube</h3>
</span>
<span class="social-link rounded" id="twitch">
<a href="https://www.twitch.tv/cadevoidlighter" class="twitch" title="Twitch" target="_blank" rel="noopener noreferrer">
<span class="link-spanner rounded"></span>
</a>
<img src="images/mediaIcons/TwitchCircle.png" alt="Twitch" class="social" />
<h3 style="color:rgb(133, 81, 250)">Twitch</h3>
</span>
<span class="social-link rounded" id="discord">
<a href="https://discord.gg/DGYU2UnzXS" class="discord" title="Discord" target="_blank" rel="noopener noreferrer">
<span class="link-spanner rounded"></span>
</a>
<img src="images/mediaIcons/DiscordCircle.png" alt="Discord" class="social" />
<h3 style="color:rgb(100, 103, 239)">Discord</h3>
</span>
<span class="social-link rounded" id="github">
<a href="https://github.com/voidlighter" class="github" title="GitHub" target="_blank" rel="noopener noreferrer">
<span class="link-spanner rounded"></span>
</a>
<img src="images/mediaIcons/GitHubCircle.png" alt="GitHub" class="social" />
<h3 style="color:rgb(45, 51, 65)">GitHub</h3>
</span>
<!-- <span class="social-link rounded" id="patreon">
<a href="https://www.patreon.com/voidlighter" class="patreon" title="Patreon" target="_blank" rel="noopener noreferrer">
<span class="link-spanner rounded"></span>
</a>
<img src="images/mediaIcons/PatreonCircle.png" alt="Patreon" class="social" />
</span> -->
</div>
<!--Social Media Section-->
<div class="social">
<span class="social">
<p class="social">
I chose the name Voidlighter for a couple reasons: For one, “Cade Voidlighter” has a fun ring to it,
like a “Luke Skywalker” or something, and I think that's pretty neat. The main reason, though, is
more personal to me: I think sometimes as we make our way through life, it looks like an empty void,
absent of hope or trajectory. Even when we <i>know</i> this isn't true, it isn't always easy to
remember that. Friends are essential to light our path, to show the “void” for what it is. The void
of space
may appear empty, but it's really just dark. In the light, we might not feel so alone or afraid.
<br><br>
I want to bring together a positive community of people to spread hope, and light the void. And
you're invited.
</p>
</span>
</div>
<!--Footer-->
<footer id="common-footer"></footer>
</div>
</body>
<!-- <script>
window.addEventListener('DOMContentLoaded', (event) => {
fetch('common-header.html')
.then(response => {
if (!response.ok) {
throw new Error('Network response was not ok');
}
return response.text();
})
.then(data => {
console.log(data); // log the response data
const headerElement = document.getElementById('common-header');
console.log(headerElement); // log the header element
if (headerElement) {
headerElement.innerHTML = data;
}
})
.catch(error => {
console.error('There has been a problem with your fetch operation:', error);
});
});
</script> -->
<script>
window.addEventListener('DOMContentLoaded', (event) => {
fetch('common-header.html')
.then(response => response.text())
.then(data => {
document.getElementById('common-header').innerHTML = data;
});
fetch('common-footer.html')
.then(response => response.text())
.then(data => {
document.getElementById('common-footer').innerHTML = data;
});
});
</script>
</html>