diff --git a/src/App.svelte b/src/App.svelte index 1e4e42f..780e161 100644 --- a/src/App.svelte +++ b/src/App.svelte @@ -30,7 +30,7 @@ {username : "Bob", status : "online"}, {username : "Charlie", status : "offline"}, {username : "Dave", status : "offline"}, - {username : "Eve", status : "online"}, + {username : "Eve", status : "in a game"}, {username : "Frank", status : "online"}, ] let isSpectateOpen = false; diff --git a/src/components/Profile.svelte b/src/components/Profile.svelte index 4d11c61..892ca9a 100644 --- a/src/components/Profile.svelte +++ b/src/components/Profile.svelte @@ -1,36 +1,71 @@
- Profile Icon -

{username}

- + Profile Icon +

{realname}

+
+ +
-

Wins: {wins}

-

Losses: {losses}

-

Winrate: {wins / (wins + losses) * 100}%

-

Elo : {elo}

-

Rank: {rank}

-
-
+
+
+ + +
+ +
+

Wins: {wins}

+

Losses: {losses}

+

Winrate: {wins / (wins + losses) * 100}%

+

Elo : {elo}

+

Rank: {rank}

+
+ +