2 Commits

Author SHA1 Message Date
f4f51b8912 Fix the GitHub star button
All checks were successful
Deploy Frontend / docker (17, 3.8.5) (push) Successful in 56s
2024-04-16 23:15:09 -04:00
51b8d763c1 embed test 2024-04-16 23:15:00 -04:00
2 changed files with 11 additions and 10 deletions

View File

@ -80,7 +80,7 @@ export const generateMetadata = async ({
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.`,
description: `UUID: \`${player.uniqueId}\`\n\nClick to view data about this player.`,
thumbnail: player.skin.parts.HEAD,
});
} catch (err) {

View File

@ -68,13 +68,14 @@ const Navbar = (): JSX.Element => {
{/* Social Buttons */}
<div className="hidden md:flex">
{/* Star on Github <3 */}
<MinecraftButton className="group/star">
<Link
className="flex gap-1.5 items-center"
href="https://github.com/Rainnny7/RESTfulMC"
rel="noopener noreferrer"
target="_blank"
>
<Link
className="flex gap-1.5 items-center"
href="https://github.com/Rainnny7/RESTfulMC"
rel="noopener noreferrer"
target="_blank"
>
<MinecraftButton className="group/star">
{/* Star Count */}
<Suspense fallback={<Skeleton className="w-4 h-5 rounded-md" />}>
<GitHubStarCount />
@ -86,8 +87,8 @@ const Navbar = (): JSX.Element => {
height={22}
/>
<span>Star on GitHub</span>
</Link>
</MinecraftButton>
</MinecraftButton>
</Link>
</div>
</nav>
);