-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
112 lines (107 loc) · 5.5 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Fractal Game Studios</title>
<base href="/">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-4bw+/aepP/YC94hEpVNVgiZdgIC5+VKNBQNGCHeKRQN+PtmoHDEXuppvnDJzQIu9" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css">
<link rel="stylesheet" href="style.css">
<link rel="icon" type="image/x-icon" href="./imassetsages/favicon.ico">
<!-- META -->
<meta name="description" content="Fractal Game Studios es una desarrolladora independiente especializada en la creación de mods y servidores para videojuegos. Ofrecemos soluciones de desarrollo de alta calidad para la comunidad de jugadores.">
<meta name="keywords" content="Fractal Game Studios, mods para videojuegos, desarrolladora independiente, juegos, servidores de juegos, desarrollo de videojuegos, mods de alta calidad, soluciones de servidor, comunidad de jugadores">
<meta name="author" content="Fractal Game Studios">
<base href="/">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="canonical" href="https://fractalgamestudios.com/">
</head>
<body style="overflow: hidden; background-color: black;">
<div class="loader">
<img src="assets/enblanco.svg" alt="logo fractal">
<figure class='spinner'>
<div class="spinner-container" id="item-1">
<div class="spinner-element"></div>
</div>
<div class="spinner-container" id="item-2">
<div class="spinner-element"></div>
</div>
<div class="spinner-container" id="item-3">
<div class="spinner-element"></div>
</div>
<div class="spinner-container" id="item-4">
<div class="spinner-element"></div>
</div>
<div class="spinner-container" id="item-5">
<div class="spinner-element"></div>
</div>
<div class="spinner-container" id="item-6">
<div class="spinner-element"></div>
</div>
</figure>
</div>
</body>
<script>
let base_URL = 'https://oxy3n-studio.tebex.io'
const routes = [
{ path: 'prepared_food', redirect: '5223024' },
{ path: 'black_ops_zombies', redirect: '5234463' },
{ path: 'business_zombies', redirect: '5228456' },
{ path: 'runner_zombies', redirect: '5304162' },
{ path: 'melee_pack_2', redirect: '5303147' },
{ path: 'melee_pack_1', redirect: '5300568' },
{ path: 'can_food', redirect: '5228404' },
{ path: 'fresh_food_2', redirect: '5249517' },
{ path: 'fresh_food', redirect: '5233349' },
{ path: 'sushi_pack', redirect: '5551413' },
{ path: 'drinks_pack', redirect: '5382118' },
{ path: 'liquor_pack', redirect: '5322829' },
{ path: 'desert_pack', redirect: '5283858' },
{ path: 'fast_food', redirect: '5272795' },
{ path: 'rf_scanners', redirect: '5378511' },
{ path: 'recyclers', redirect: '5264029' },
{ path: 'nails_pack', redirect: '5855095' },
{ path: 'retexture_dayz', redirect: '5937423' },
{ path: 'discord', link: 'https://discord.com/invite/v7h3PnssaS' },
{ path: '', redirect: '' },
{ path: '', redirect: '' },
{ path: '', redirect: '' },
{ path: '', redirect: '' },
{ path: '', redirect: '' },
{ path: '', redirect: '' },
{ path: '', redirect: '' },
{ path: '', redirect: '' },
{ path: '', redirect: '' },
{ path: '', redirect: '' },
]
const redirect = (path) => {
const route = routes.find(route => route.path === path)
if (route) {
window.location.href = base_URL + '/package/' + route.redirect;
}
}
window.onload = () => {
setTimeout(() => {
const urlParams = new URLSearchParams(window.location.search);
const pack = urlParams.get('pack');
const link = urlParams.get('link');
if (link) {
window.location.href = routes.find(route => route.path === link).link;
} else {
if (pack) {
redirect(pack);
} else {
const path = window.location.pathname.split('/')[1];
if (path) {
redirect(path);
} else {
window.location.href = base_URL;
}
}
}
}, 3000);
};
</script>
</html>