diff --git a/src/lib/layouts/stats/PlayerProfile.svelte b/src/lib/layouts/stats/PlayerProfile.svelte index 10a8c88e..f4d3c6ef 100644 --- a/src/lib/layouts/stats/PlayerProfile.svelte +++ b/src/lib/layouts/stats/PlayerProfile.svelte @@ -1,37 +1,53 @@
Stats for -
-
-
- MVP - + +
+
+
+ {profile.rank?.tag} + {#if profile.rank?.plus} + {profile.rank?.plus} + {/if}
-
+
- {profile.username} + {profile.username}
on - + {profile.profile_cute_name} {#each profile.profiles as otherProfile} - + {otherProfile.cute_name} + {#if otherProfile.game_mode === "bingo"} + 🎲 + {/if} {/each} @@ -43,12 +59,53 @@ - Load Guild + { + await navigator.share({ + url: location.href, + title: `Stats for ${profile.username} on Hypixel` + }); + }}> + + - - Planke + + Plancke + + Elite + + + navigator.clipboard.writeText(profile.uuid)}>Copy UUID + {#each Object.entries(profile.social) as [key, value]} + {key} + {value} + {/each} + {#each Object.entries(profile.social) as [key, value]} + {#if key === "discord"} + navigator.clipboard.writeText(value)}> + + + + {profile.username.slice(0, 2)} + + + {key} + + {:else} + + + + + {profile.username.slice(0, 2)} + + + + {/if} + {/each} +