forked from ComputerElite/ComputerElite.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
320 lines (315 loc) · 15.8 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
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
<!DOCTYPE html>
<html>
<head>
<title>ComputerElite's site</title>
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,400italic,700,700italic' rel='stylesheet' type='text/css'>
<link href="css/standard.css" type="text/css" rel="stylesheet">
<link rel="icon" href="assets/CE_64px.png" type="image/x-icon">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="google-site-verification" content="M5LUHbjL-evzx04cqagC8xcQBvt-9Fj21Q4agN-IQ9M" />
</head>
<body>
<div style="padding-top: 10px; width: 100%; display: flex;">
<div style="flex: 1; padding: 10px; text-align: center;" class="bigBox">
<div style="font-size: 24px; text-align: center;">Woah you landed on ComputerElite.github.io</div>
<div id="categoryContainer" style="margin-top: 10px;">
</div>
</div>
</div>
<script src="js/standard.js"></script>
<script>
const pages = [
{
"name": "My blog",
"pages": [
{
"name": "ComputerElite's blog",
"description": "Check out my blog for up-to-date information",
"img": "assets/CE_512px.png",
"color": "#EEEEEE",
"url": "blog"
}
]
},
{
"name": "Other Accounts",
"pages": [
{
"name": "YouTube",
"description": "Not a lot of stuff on there",
"img": "assets/YouTube.png",
"color": "#00FFFF",
"url": "https://www.youtube.com/channel/UC5-nODCcHg7ptaLJ9mrd72g"
},
{
"name": "GitHub",
"description": "All my code is on there",
"img": "assets/GitHub.png",
"color": "#11aa22",
"url": "https://github.com/ComputerElite"
},
{
"name": "Twitch",
"description": "Streaming sometimes but not often",
"img": "assets/Twitch.png",
"color": "#00FFFF",
"url": "https://www.twitch.tv/computerelite_dev"
},
{
"name": "Discord server",
"description": "The OculusDB Discord server where you can find me",
"img": "assets/Discord.png",
"color": "#11aa22",
"url": "https://discord.gg/zwRfHQN2UY"
},
{
"name": "Twitter",
"description": "I don't use it a lot but it's there",
"img": "assets/Twitter.png",
"color": "#111111",
"url": "https://twitter.com/ComputerElite3"
}
]
},
{
"name": "Tools",
"pages": [
{
"name": "OculusDB",
"description": "Download any version of any oculus app",
"img": "assets/oculus.jpg",
"color": "#f58840",
"url": "https://oculusdb.rui2015.me/",
"opacity": 0.3
},
{
"name": "Streamer tools overlays",
"description": "Overlays for the streamer tools Beat Saber mod",
"img": "assets/CE_512px.png",
"color": "#EEEEEE",
"url": "tools/Streamer_Tools_Quest_Overlay/index.html"
},
{
"name": "Diff Patcher",
"description": "patch your roms via diff patching to another version",
"img": "assets/CE_512px.png",
"color": "#EEEEEE",
"url": "tools/Roms/DiffPatcher.html"
},
{
"name": "Quest Beat Saber Mod Versions",
"description": "Display mods for various game versions",
"img": "assets/CE_512px.png",
"color": "#EEEEEE",
"url": "tools/Beat_Saber/questmods.html"
},
{
"name": "Chaos and Furry events",
"description": "southwestern germany (by kingfisher)",
"img": "https://kingfisher.contact/profilepic.jpg",
"color": "#EEEEEE",
"url": "https://kingfisher.contact/events/",
"opacity": 0.45
},
{
"name": "Mod JSON Generator",
"description": "Generate the required JSON file for the beat saber mods site",
"img": "assets/CE_512px.png",
"color": "#EEEEEE",
"url": "tools/Beat_Saber/modsjsongenerator.html"
},
{
"name": "Brainf*ck",
"description": "An (kinda bad but working) online brainf*ck interpreter",
"img": "assets/CE_512px.png",
"color": "#EEEEEE",
"url": "tools/random/brainfuck.html"
},
{
"name": "C# object field sorter",
"description": "Sorts public object fields alphabetically",
"img": "assets/CE_512px.png",
"color": "#EEEEEE",
"url": "tools/random/fieldsorter.html"
},
{
"name": "Quest Beat Saber Score converter",
"description": "Converts scores from 1.13.2 to 1.16.4",
"img": "assets/CE_512px.png",
"color": "#EEEEEE",
"url": "tools/Beat_Saber/ScoreConverter.html"
},
{
"name": "Oculus API APP Versions",
"description": "Download any version of any oculus app (outdated)",
"img": "assets/oculus.jpg",
"color": "#f58840",
"url": "tools/Oculus/AppVersions.html",
"opacity": 0.3
},
{
"name": "APK Downgrader",
"description": "Change your APKs via diff patching (outdated for Quest apps)",
"img": "assets/CE_512px.png",
"color": "#EEEEEE",
"url": "tools/APK_Downgrader_Web/APKDowngrader.html"
}
]
},
{
"name": "Guides",
"pages": [
{
"name": "Oculus Downgrader",
"description": "A Guide for Oculus Downgrader",
"img": "assets/oculus.jpg",
"color": "#f58840",
"url": "tools/Oculus/OculusDowngraderGuide.html",
"opacity": 0.3
},
{
"name": "Obtain Oculus Token",
"description": "A Guide for obtaining your Oculus Token",
"img": "assets/oculus.jpg",
"color": "#f58840",
"url": "tools/Oculus/ObtainTokenNew.html",
"opacity": 0.3
},
{
"name": "QuestAppVersionSwitcher",
"description": "A Guide for QuestAppVersionSwitcher",
"img": "assets/QuestAppVersionSwitcher.png",
"color": "#f58840",
"url": "tools/Oculus/QuestAppVersionSwitcher.html",
"opacity": 0.3
},
{
"name": "Beat Saber Downgrading guide",
"description": "A guide for downgrading Beat Saber and settings up BMBF",
"img": "assets/CE_512px.png",
"color": "#EEEEEE",
"url": "tools/Beat_Saber/DowngradeGuide.html"
},
{
"name": "APK Downgrader",
"description": "A Guide for how to use APK Downgrader (APK Downgrader is outdated for Quest downgrading)",
"img": "assets/CE_512px.png",
"color": "#EEEEEE",
"url": "tools/APK_Downgrader_Web/Guide.html"
}
]
},
{
"name": "Services I created",
"pages": [
{
"name": "OculusDB",
"description": "Download any version of any oculus app",
"img": "assets/oculus.jpg",
"color": "#f58840",
"url": "https://oculusdb.rui2015.me/",
"opacity": 0.3
},
{
"name": "ComputerAnalytics",
"description": "An open source analytics tool used on all my sites",
"img": "assets/CE_512px.png",
"color": "#EEEEEE",
"url": "https://analytics.rui2015.me/"
}
]
},
{
"name": "RhythmBang",
"pages": [
{
"name": "RhythmBang Game",
"description": "A rhythm game based on aiming with your mouse I work on",
"img": "assets/RB.png",
"color": "#EEEEEE",
"url": "https://store.steampowered.com/app/2156810/Rhythm_Bang/",
"opacity": 0.2
},
{
"name": "Custom Song Preparer",
"description": "Prepare custom songs for mapping",
"img": "assets/RB.png",
"color": "#EEEEEE",
"url": "tools/RhythmBang/CustomSongCreator.html",
"opacity": 0.2
},
{
"name": "Event Copier",
"description": "Copy events from one difficulty to another",
"img": "assets/RB.png",
"color": "#EEEEEE",
"url": "tools/RhythmBang/EventCopier.html",
"opacity": 0.2
}
]
},
{
"name": "Fun",
"pages": [
{
"name": "Bouncing logo",
"description": "A custom bouncing logo to fit your needs",
"img": "assets/CE_512px.png",
"color": "#EEEEEE",
"url": "fun/BouncingLogo.html"
},
{
"name": "Snake",
"description": "Port of my private C# console snake",
"img": "assets/CE_512px.png",
"color": "#EEEEEE",
"url": "fun/snake.html"
},
{
"name": "Download more Hard Drive",
"description": "Instant, Fast, FREE",
"color": "#EEEEEE",
"img": "assets/CE_512px.png",
"url": "fun/downloadmoreharddrive/home.html"
},
{
"name": "Generic Company",
"description": "The best company in the world",
"color": "#EEEEEE",
"img": "assets/CE_512px.png",
"url": "fun/genericcompany/home.html"
},
{
"name": "Escaperoom",
"description": "WIP",
"color": "#EEEEEE",
"img": "assets/CE_512px.png",
"url": "Escaperoom/home.html"
}
]
}
]
const categoryContainer = document.getElementById("categoryContainer")
pages.forEach(category => {
categoryContainer.innerHTML += GetCategoryFormatted(category)
})
function GetCategoryFormatted(category) {
var childs = ""
category.pages.forEach(page => {
childs += `<div onclick="window.open('${page.url}', '_self')" class="zoom" style="cursor: pointer; display: flex; align-items: center; flex: 1; height: 100px; min-width: 400px; background:linear-gradient(
rgba(0, 0, 0, ${page.opacity ?? 0}),
rgba(0, 0, 0, ${page.opacity ?? 0})
), url('${page.img}'); background-position: center; color: ${page.color}; background-size: cover; max-width: 50%;">
<div style="flex: 1; font-size: 22px;">${page.name}<div style="font-size: 16px">${page.description}</div></div>
</div>`
})
return `<div style="background-color: #262626BB; margin-bottom: 20px;">
<div style="font-size: 38px; text-align: center;">${category.name}</div>
<div style="display: flex; margin: 10px; flex-wrap: wrap; justify-content: center;">
${childs}
</div>
</div>`
}
</script>
</body>
</html>