-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
404 lines (378 loc) · 16.7 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
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Something else -->
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- Primary Meta Tags -->
<title>CrystalGem</title>
<meta name="title" content="CrystalGem" />
<meta name="theme-color" content="#ff9933" />
<meta name="description"
content="CrystalGem là 1 game nhập vai cực hay và hoàn toàn miễn phí, cơ chế game là dạng cày cuốc offline, game được phát triển trên 3 nền tảng Window/Android và đặc biệt nhất là chơi trực tuyến ngay trên website" />
<!-- Open Graph / Facebook -->
<meta property="og:type" content="website" />
<meta property="og:url" content="http://www.crystalgem.cf" />
<meta property="og:title" content="CrystalGem" />
<meta property="og:description"
content="CrystalGem là 1 game nhập vai cực hay và hoàn toàn miễn phí, cơ chế game là dạng cày cuốc offline, game được phát triển trên 3 nền tảng Window/Android và đặc biệt nhất là chơi trực tuyến ngay trên website" />
<meta property="og:image" content="https://raw.githubusercontent.com/RageOfFire/CrystalGem/main/img/background.png" />
<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image" />
<meta property="twitter:url" content="http://www.crystalgem.cf" />
<meta property="twitter:title" content="CrystalGem" />
<meta property="twitter:description"
content="CrystalGem là 1 game nhập vai cực hay và hoàn toàn miễn phí, cơ chế game là dạng cày cuốc offline, game được phát triển trên 3 nền tảng Window/Android và đặc biệt nhất là chơi trực tuyến ngay trên website" />
<meta property="twitter:image"
content="https://raw.githubusercontent.com/RageOfFire/CrystalGem/main/img/background.png" />
<!-- Icon -->
<link rel="shortcut icon" href="./img/favicon.ico" type="image/x-icon" />
<!-- Font -->
<link href="https://fonts.googleapis.com/css?family=PT+Sans" rel="stylesheet" />
<link href="https://fonts.googleapis.com/css?family=PT+Sans:700" rel="stylesheet" />
<link href="https://fonts.googleapis.com/css?family=PT+Sans:400" rel="stylesheet" />
<link href="https://fonts.googleapis.com/css?family=Lato" rel="stylesheet" />
<!-- Jquery -->
<script src="./js/Jquery/jquery-3.2.1.slim.min.js"></script>
<script src="./js/Jquery/jquery.min.js"></script>
<!-- Popper -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js"
integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q"
crossorigin="anonymous"></script>
<!-- Bootstrap -->
<link rel="stylesheet" href="./css/bootstrap/bootstrap.min.css" />
<script src="./js/bootstrap/bootstrap.min.js"></script>
<!-- Font Awesome -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css"
integrity="sha512-1ycn6IcaQQ40/MKBW2W4Rhis/DbILU74C1vSrLJxCq57o941Ym01SwNsOMqvEBFlcgUa6xLiPY/NS5R+E6ztJQ=="
crossorigin="anonymous" referrerpolicy="no-referrer" />
<!-- Animation css -->
<link rel="stylesheet" href="./css/animate/animate.min.css" />
<script src="./js/animate/wow.min.js"></script>
<!-- LazyLoad -->
<script src="./js/lazyload/lazyload.min.js"></script>
<!-- Main -->
<link rel="stylesheet" type="text/css" href="./css/main.css" />
<script src="./js/update.js"></script>
<!-- Google Analytics -->
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-0YJ2MQ3WH2"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', 'G-0YJ2MQ3WH2');
</script>
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4590490397371826"
crossorigin="anonymous"></script>
</head>
<body>
<button onclick="topFunction()" id="myBtn" title="Go to top">
<i class="fas fa-arrow-up"></i>
</button>
<!-- Navbar -->
<nav class="navbar navbar-dark navbar-expand-lg bg-dark">
<a href="javascript: void(0);" onclick="goto('head')" class="navbar-brand">CrystalGem</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarcrystalgem"
aria-controls="navbarcrystalgem" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarcrystalgem">
<ul class="navbar-nav mr-auto">
<li class="nav-item mr-3">
<a href="javascript: void(0);" onclick="goto('about')">Thông tin</a>
</li>
<li class="nav-item mr-3">
<a href="javascript: void(0);" onclick="goto('download')">Tải game</a>
</li>
<li class="nav-item dropdown mr-3">
<a class="dropdown-toggle" href="javascript: void(0);" id="navbarupdate" data-toggle="dropdown"
aria-haspopup="true" aria-expanded="false">
Cập nhật
</a>
<div class="dropdown-menu bg-dark" aria-labelledby="navbarupdate" id="navbar-update"></div>
</li>
</ul>
<ul class="navbar-nav">
<li class="nav-item dropdown mr-3">
<a class="dropdown-toggle" href="javascript: void(0);" id="navbaronline" data-toggle="dropdown"
aria-haspopup="true" aria-expanded="false">
<i class="fas fa-gamepad"></i> Chơi trực tuyến
</a>
<div class="dropdown-menu bg-dark" aria-labelledby="navbaronline">
<a class="dropdown-item bg-dark text-warning" href="https://rageoffire.itch.io/crystalgem"
target="_blank">CrystalGem</a>
<a class="dropdown-item bg-dark text-warning" href="https://rageoffire.itch.io/crystalgem-2"
target="_blank">CrystalGem 2</a>
<a class="dropdown-item bg-dark text-warning" href="https://rageoffire.itch.io/crystal-gem-world"
target="_blank">CrystalGem World</a>
</div>
</li>
</ul>
</div>
</nav>
<!-- End Navbar -->
<!-- Header (Banner) -->
<header id="head" class="parallax lazyload">
<h1 class="mt-3 mb-3">
<div class="animate__animated animate__flash">
Crystal<i class="far fa-gem"></i>Gem
</div>
</h1>
</header>
<!-- End Header -->
<!-- About Section -->
<section id="about" class="lazyload">
<h1 class="wow animate__animated animate__bounceInDown">Thông tin</h1>
<hr class="wow animate__animated animate__bounceInDown" />
<!-- First row of features -->
<div class="ratio ratio-16x9 mt-5 wow animate__animated animate__bounceInDown">
<iframe width="560" height="315" src="https://www.youtube.com/embed/QImQmzvURxA" title="YouTube video player"
frameborder="0"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
allowfullscreen></iframe>
</div>
<div class="row features">
<div class="col download-icon wow animate__animated animate__bounceInDown">
<i class="fas fa-bolt feature"></i>
<p>Hệ thống chiến đấu và kỹ năng đa dạng</p>
</div>
<div class="col download-icon wow animate__animated animate__bounceInDown">
<i class="fas fa-comments feature"></i>
<p>Cốt truyện phong phú</p>
</div>
<div class="col download-icon wow animate__animated animate__bounceInDown">
<i class="fas fa-dungeon feature"></i>
<p>Thế giới rộng lớn đang chờ bạn khám phá</p>
</div>
</div>
<!-- End first row -->
</section>
<!-- End about section -->
<!-- Banner 1 -->
<section id="banner" class="parallax lazyload">
<div class="container">
<div class="embed-responsive embed-responsive-16by9">
<iframe src="https://discord.com/widget?id=752171524919918672&theme=dark" allowtransparency="true"
frameborder="0"
sandbox="allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts"></iframe>
</div>
</div>
</section>
<!-- End Banner 1 -->
<!-- Download Section -->
<section id="download" class="lazyload">
<div class="wow animate__animated animate__bounceInUp">
<h1>Tải CrystalGem ngay</h1>
<h1>v1.8.3</h1>
</div>
<hr class="wow animate__animated animate__bounceInUp" />
<div class="row downlist">
<!-- First download Link -->
<div class="col-md downblock wow animate__animated animate__bounceInUp">
<h1 class="mb-5">Phiên bản Android</h1>
<a href="https://github.com/RageOfFire/CrystalGem/releases/download/v1.8.3/CrystalGem.v1.8.3.apk"
target="_blank">
<div class="download-icon">
<i class="fab fa-android fa-7x"></i>
<h4>
<i class="fas fa-download"></i> Tải ngay
<i class="fas fa-download"></i>
</h4>
</div>
</a>
</div>
<!-- End First download Link -->
<!-- Second download Link -->
<div class="col-md downblock wow animate__animated animate__bounceInUp">
<h1 class="mb-5">Phiên bản Window</h1>
<a href="https://github.com/RageOfFire/CrystalGem/releases/download/v1.8.3/CrystalGem_setup.exe"
target="_blank">
<div class="download-icon">
<i class="fab fa-windows fa-7x"></i>
<h4>
<i class="fas fa-download"></i> Tải ngay
<i class="fas fa-download"></i>
</h4>
</div>
</a>
</div>
<!-- End Second download Link -->
</div>
<hr class="mb-5 mt-5 wow animate__animated animate__bounceInUp" />
<a href="https://github.com/RageOfFire/CrystalGem/releases">
<h4 class="wow animate__animated animate__bounceInUp">
<i class="fas fa-link"></i> Phiên bản cũ hơn
<i class="fas fa-link"></i>
</h4>
</a>
<hr class="mb-5 mt-5 wow animate__animated animate__bounceInUp" />
<div class="wow animate__animated animate__bounceInUp">
<h3 class="mb-5 itchio">Itch.io</h3>
<iframe frameborder="0" src="https://itch.io/embed/1826661?dark=true" width="552" height="167"><a
href="https://rageoffire.itch.io/crystalgem">CrystalGem by RageOfFire</a></iframe>
<iframe frameborder="0"
src="https://itch.io/embed/1887171?bg_color=222222&fg_color=eeeeee&border_color=363636" width="552"
height="167"><a href="https://rageoffire.itch.io/crystalgem-2">CrystalGem 2 by RageOfFire</a></iframe>
<iframe frameborder="0" src="https://itch.io/embed/2061864?dark=true" width="552" height="167"><a
href="https://rageoffire.itch.io/crystal-gem-world">Crystal Gem World by RageOfFire</a></iframe>
</div>
</section>
<!-- End download Section -->
<!-- Start Second Banner -->
<section id="banner" class="parallax lazyload">
<div class="container">
<div class="embed-responsive embed-responsive-16by9">
<iframe src="https://discord.com/widget?id=752171524919918672&theme=dark" allowtransparency="true"
frameborder="0"
sandbox="allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts"></iframe>
</div>
</div>
</section>
<!-- Versions Section -->
<div class="update lazyload" id="update">
<h1 class="wow animate__animated animate__bounceInDown">Các phiên bản</h1>
<hr class="wow animate__animated animate__bounceInDown" />
</div>
<section class="update lazyload">
<div id="main-update"></div>
</section>
<!-- End Version Section -->
<!-- Add smooth scrolling to all links -->
<script>
$(document).ready(function () {
$("a").on("click", function (event) {
if (this.hash !== "") {
event.preventDefault();
var hash = this.hash;
$("html, body").animate(
{
scrollTop: $(hash).offset().top,
},
100,
function () {
window.location.hash = hash;
}
);
}
});
});
</script>
<!-- End Smooth Scrolling Script -->
<!-- Show the "GoOnTop button when user scroll down" -->
<script>
window.onscroll = function () {
scrollFunction();
};
function scrollFunction() {
if (
document.body.scrollTop > 20 ||
document.documentElement.scrollTop > 20
) {
document.getElementById("myBtn").style.display = "block";
} else {
document.getElementById("myBtn").style.display = "none";
}
}
// Click button go ontop of website
function topFunction() {
document.body.scrollTop = 0;
document.documentElement.scrollTop = 0;
}
</script>
<!-- Scroll to id for navbar -->
<script>
function goto(id) {
document.getElementById(id).scrollIntoView();
}
</script>
<!-- Wow setup -->
<script>
wow = new WOW({
boxClass: "wow",
animateClass: "animated",
offset: 0,
mobile: false,
live: true,
});
wow.init();
</script>
<!-- Cập nhật -->
<script>
for (var i = 0; i < update.length; i++) {
var content = "";
if (i % 2 === 0 || i === 0) {
content += `
<div class="row fixed-width">
<div class="col-md mode" id="${update[i].versionName}">
`;
update[i].details
.map((u) => {
content += `
<button class="btn btn-info mb-3 wow animate__animated animate__bounceInLeft" type="button"
data-toggle="collapse" data-target="#${u.id}" aria-expanded="false" aria-controls="${u.id}">
<i class="fas fa-angle-double-down"></i> ${u.version} <i class="fas fa-angle-double-down"></i>
</button>
<br>
<div class="collapse" id="${u.id}">
<div class="card card-body mb-3 bg-dark text-warning">
${u.description}
</div>
</div>
`;
})
.join("");
content += `
</div>
<div class="col-md img wow animate__animated animate__bounceInRight">
<img class="res-img" src="${update[i].imageURL}">
</div>
</div>
`;
document.getElementById("main-update").innerHTML += content;
} else {
content += `
<div class="second-color">
<div class="row fixed-width">
<div class="col-md img wow animate__animated animate__bounceInLeft">
<img class="res-img" src="${update[i].imageURL}">
</div>
<div class="col-md mode" id="${update[i].versionName}">
`;
update[i].details
.map((u) => {
content += `
<button class="btn btn-info mb-3 wow animate__animated animate__bounceInRight" type="button"
data-toggle="collapse" data-target="#${u.id}" aria-expanded="false" aria-controls="${u.id}">
<i class="fas fa-angle-double-down"></i> ${u.version} <i class="fas fa-angle-double-down"></i>
</button>
<br>
<div class="collapse" id="${u.id}">
<div class="card card-body mb-3 bg-dark text-warning">
${u.description}
</div>
</div>
`;
})
.join("");
content += `
</div>
</div>
</div>
`;
document.getElementById("main-update").innerHTML += content;
}
}
</script>
<!-- Cập nhật trên thanh navbar -->
<script>
for (var x = 0; x < update.length; x++) {
document.getElementById("navbar-update").innerHTML += `
<a class="dropdown-item bg-dark text-warning" href="javascript: void(0);"
onclick="goto('${update[x].versionName}')">${update[x].versionName}</a>
`;
}
</script>
</body>
</html>