diff --git a/src/app/(pages)/server/[platform]/[[...hostname]]/page.tsx b/src/app/(pages)/server/[platform]/[[...hostname]]/page.tsx index ca7bf13..fe714a8 100644 --- a/src/app/(pages)/server/[platform]/[[...hostname]]/page.tsx +++ b/src/app/(pages)/server/[platform]/[[...hostname]]/page.tsx @@ -56,7 +56,7 @@ function checkPlatform(platform: ServerPlatform): boolean { export async function generateViewport({ params: { platform, hostname } }: Params): Promise { const validPlayer = await isValidServer(platform, hostname); return { - themeColor: validPlayer ? Colors.green : Colors.red, + themeColor: validPlayer || !platform ? Colors.green : Colors.red, }; } @@ -82,12 +82,11 @@ export async function generateMetadata({ params: { platform, hostname } }: Param const favicon = getFavicon(platform, server); - let description = `Hostname: ${serverHostname}\n`; - description += `${players.online}/${players.max} players online\n\n`; + let description = `${players.online}/${players.max} players connected!\n\n`; description += "Click to view more information about the server."; return generateEmbed({ - title: `${hostname}`, + title: `${capitalizeFirstLetter(platform)} Server: ${serverHostname}`, description: description, image: favicon, });