From 54c116b85cdc3306557eb36e2fc8d5d09acba223 Mon Sep 17 00:00:00 2001 From: Rainnny7 Date: Tue, 16 Apr 2024 23:25:41 -0400 Subject: [PATCH] Embed updates --- Frontend/config.json | 2 +- Frontend/src/app/(pages)/player/[[...slug]]/page.tsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Frontend/config.json b/Frontend/config.json index e7ab74b..da74bef 100644 --- a/Frontend/config.json +++ b/Frontend/config.json @@ -27,7 +27,7 @@ ] }, "viewport": { - "themeColor": "minecraft-green-1" + "themeColor": "hsl(var(--minecraft-green-2))" }, "navbarLinks": { "Player": "/player", diff --git a/Frontend/src/app/(pages)/player/[[...slug]]/page.tsx b/Frontend/src/app/(pages)/player/[[...slug]]/page.tsx index 6cd009c..9db37d2 100644 --- a/Frontend/src/app/(pages)/player/[[...slug]]/page.tsx +++ b/Frontend/src/app/(pages)/player/[[...slug]]/page.tsx @@ -79,8 +79,8 @@ export const generateMetadata = async ({ try { const player: CachedPlayer = await getPlayer(query); // Get the player to embed return Embed({ - title: `${player.username}'s Player`, - description: `UUID: \`${player.uniqueId}\`\n\nClick to view data about this player.`, + title: `${player.username}'s Profile${player.legacy && " (Legacy)"}`, + description: `UUID: ${player.uniqueId}\n\nClick to view data about this player.`, thumbnail: player.skin.parts.HEAD, }); } catch (err) {