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 + +