This commit is contained in:
starified
2026-04-21 22:03:19 -04:00
parent 36e2d11f2e
commit 08bf320b57
4681 changed files with 566542 additions and 0 deletions

57
public/player.html Normal file
View File

@@ -0,0 +1,57 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>EaglerTiers - Player Profile</title>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap"
rel="stylesheet"
/>
<link rel="stylesheet" href="styles.css" />
</head>
<body class="profile-page">
<div class="site-bg"></div>
<header class="topbar glass-panel small">
<a href="index.html" class="logo-wrap">
<img src="assets/logo.png" alt="Eagler Tiers" class="logo" />
</a>
<a href="index.html" class="btn btn-login">Back to Rankings</a>
</header>
<main class="profile-main">
<section id="profileCard" class="profile-modal glass-panel hidden">
<button id="closeBtn" class="close-btn" aria-label="Close">x</button>
<div class="profile-header">
<img id="profileAvatar" src="" alt="Player avatar" />
<h1 id="profileUsername"></h1>
</div>
<div class="position-panel">
<span>Position</span>
<strong id="profilePosition">#-</strong>
</div>
<div class="totals-panel">
<span>Total Points</span>
<strong id="profilePoints">0</strong>
</div>
<div id="profileTiers" class="tiers-grid"></div>
</section>
<div id="profileLoading" class="loading-state">
<div class="spinner"></div>
<span>Loading profile...</span>
</div>
<div id="profileError" class="error-state hidden"></div>
</main>
<script src="player.js"></script>
</body>
</html>