-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
63 lines (46 loc) · 2.16 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Downloader count manager for geode mods!">
<meta property="og:url" content="https://bitzgd.github.io/">
<meta property="og:type" content="website">
<meta property="og:title" content="Geode Mods Downloader Count">
<meta property="og:description" content="Downloader count manager for geode mods!">
<meta property="og:image" content="https://docs.geode-sdk.org/icon.png">
<meta property="og:image:width" content="80">
<meta property="og:image:height" content="80">
<title>Geode Mods Downloader Count</title>
<link rel="icon" type="image/png" href="assets/geode-circle.webp">
<link rel="stylesheet" href="styles.css">
<link href="https://fonts.googleapis.com/css2?family=Open+Sans&family=Varela+Round&display=swap" rel="stylesheet">
</head>
<body>
<div class="logocontainer">
<div class="flex-container">
<img src="assets/logo_borderless.svg" alt="Geode logo" id="geodelogo">
<h1 class="geode-text">Geode</h1>
</div>
</div>
<div id="user-info" style="display: none;">
<img id="user-avatar" width="44" height="44">
<span id="username"></span>
</div>
<h1 id="sub-text" class="font-head text-2xl mt-12 mb-12 text-center">Mod Downloader Count</h1>
<input type="text" id="search-input" placeholder="Search...">
<div id="mods-container">
</div>
<script>
var storedUsername = localStorage.getItem('username');
var storedAvatarUrl = localStorage.getItem('avatarUrl');
if (storedUsername && storedAvatarUrl) {
document.getElementById('user-info').style.display = 'block';
// Mostrar la imagen y el nombre de usuario
document.getElementById('user-avatar').src = storedAvatarUrl;
document.getElementById('username').textContent = storedUsername;
}
</script>
<script src="main.js"></script>
</body>
</html>