From 8de8f1696f36a58cc7ce261cc40e174277a0a093 Mon Sep 17 00:00:00 2001 From: vikingowl Date: Sun, 7 Dec 2025 17:18:01 +0100 Subject: [PATCH] style: Redesign players page with neon esports aesthetic MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Convert the players page and related components from DaisyUI to the custom neon design system, matching the landing page and matches page visual style. Adds decorative blur orbs, neon glow effects, and consistent color semantics across PlayerCard, RecentPlayers, and TrackPlayerModal components. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- src/lib/components/player/PlayerCard.svelte | 47 +++++---- .../components/player/RecentPlayers.svelte | 21 ++-- .../components/player/TrackPlayerModal.svelte | 97 +++++++++---------- src/routes/players/+page.svelte | 89 ++++++++++++----- 4 files changed, 146 insertions(+), 108 deletions(-) diff --git a/src/lib/components/player/PlayerCard.svelte b/src/lib/components/player/PlayerCard.svelte index 5c6b610..d5ded6e 100644 --- a/src/lib/components/player/PlayerCard.svelte +++ b/src/lib/components/player/PlayerCard.svelte @@ -1,6 +1,5 @@ -
+
-
- +
+
-

{player.name}

-

ID: {player.id}

+

{player.name}

+

ID: {player.id}

@@ -39,34 +40,38 @@
- +
-
{kd}
-
K/D
+
{killDeathRatio}
+
K/D
- +
-
{winRate}%
-
Win Rate
+
{winRatePercentage}%
+
Win Rate
- +
-
{player.recent_matches}
-
Matches
+
{player.recent_matches}
+
Matches
-
+
- Avg KAST: - {player.avg_kast.toFixed(1)}% + Avg KAST: + + {player.avg_kast.toFixed(1)}% +
{/if} diff --git a/src/lib/components/player/RecentPlayers.svelte b/src/lib/components/player/RecentPlayers.svelte index 82649fd..64969b3 100644 --- a/src/lib/components/player/RecentPlayers.svelte +++ b/src/lib/components/player/RecentPlayers.svelte @@ -1,6 +1,5 @@ {#if recentPlayers.length > 0} - +
- -

Recently Visited Players

+ +

Recently Visited Players

{#each recentPlayers as player (player.id)}
{player.name}
-
{player.name}
-
{formatTimeAgo(player.visitedAt)}
+
{player.name}
+
{formatTimeAgo(player.visitedAt)}
-
+
Showing up to {recentPlayers.length} recently visited player{recentPlayers.length !== 1 ? 's' : ''}
- +
{/if} diff --git a/src/lib/components/player/TrackPlayerModal.svelte b/src/lib/components/player/TrackPlayerModal.svelte index 0ab5da3..4c58248 100644 --- a/src/lib/components/player/TrackPlayerModal.svelte +++ b/src/lib/components/player/TrackPlayerModal.svelte @@ -1,5 +1,6 @@ Players - teamflash.rip -
-
-

Players

-

Search and browse player profiles

+
+ +
+ +
+
+
+ +
- - -
- - + +
+ +
+

+ Players +

+

Search and browse player profiles

- - -
-
- -

Coming Soon

-

Player search and profiles will be available in Phase 3

-
- Phase 3 - In Development + +
+
+ + +
+
+ + +
+
+ +

+ Coming Soon +

+

Player search and profiles will be available in Phase 3

+
+ + + Phase 3 - In Development + +