-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
66 lines (62 loc) · 2.33 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
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="style.css">
<meta charset="UTF-8" />
</head>
<body>
<canvas id="canvas"></canvas>
<script src="snowfall.js"></script>
<div class="header">
<div class="title-container">
<img src="https://cdn-icons-png.freepik.com/512/2484/2484178.png" alt="">
<h1>Snowden</h1>
</div>
<!-- Other header content -->
<button id="connectButton" class="button">Connect Wallet</button>
</div>
<script src="rainbow.js"></script>
</div>
<div class="header">
<div id="container">
<div class="leaderboard">
<h3>Top Players</h3> <!-- Added leaderboard title -->
<div class="row">
<img class="avatar" src="default_avatar.jpg" alt="Player1 Avatar"><div class="name">Player1</div><div class="score">430</div>
</div>
<div class="row">
<img class="avatar" src="default_avatar.jpg" alt="Player2 Avatar"><div class="name">Player2</div><div class="score">580</div>
</div>
<div class="row">
<img class="avatar" src="default_avatar.jpg" alt="Player3 Avatar"><div class="name">Player3</div><div class="score">310</div>
</div>
<div class="row">
<img class="avatar" src="default_avatar.jpg" alt="Player4 Avatar"><div class="name">Player4</div><div class="score">640</div>
</div>
<div class="row">
<img class="avatar" src="default_avatar.jpg" alt="Player5 Avatar"><div class="name">Player5</div><div class="score">495</div>
</div>
</div>
</div>
</div>
<!-- Modal -->
</div>
</div>
<!-- Modal -->
<div id="walletModal" class="modal">
<div class="modal-content">
<span class="close">×</span>
<p>Change Profile Picture</p>
<input type="file" id="profilePictureInput" accept="image/*">
<p>Change Username</p>
<input type="text" id="usernameInput">
<button id="saveChanges">Save Changes</button>
<button id="disconnectWallet">Disconnect Wallet</button>
<!-- Connect Wallet Button -->
<button id="connectWallet">Connect Wallet</button>
</div>
</div>
<script src="login.js"></script>
<script src="rainbow.js"></script> <!-- Ensure this is the correct path to your rainbow.js file -->
</body>
</html>