Compare commits
2 Commits
45f38396c6
...
f4f51b8912
Author | SHA1 | Date | |
---|---|---|---|
f4f51b8912 | |||
51b8d763c1 |
@ -80,7 +80,7 @@ export const generateMetadata = async ({
|
|||||||
const player: CachedPlayer = await getPlayer(query); // Get the player to embed
|
const player: CachedPlayer = await getPlayer(query); // Get the player to embed
|
||||||
return Embed({
|
return Embed({
|
||||||
title: `${player.username}'s Player`,
|
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,
|
thumbnail: player.skin.parts.HEAD,
|
||||||
});
|
});
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
|
@ -68,13 +68,14 @@ const Navbar = (): JSX.Element => {
|
|||||||
{/* Social Buttons */}
|
{/* Social Buttons */}
|
||||||
<div className="hidden md:flex">
|
<div className="hidden md:flex">
|
||||||
{/* Star on Github <3 */}
|
{/* Star on Github <3 */}
|
||||||
<MinecraftButton className="group/star">
|
|
||||||
<Link
|
<Link
|
||||||
className="flex gap-1.5 items-center"
|
className="flex gap-1.5 items-center"
|
||||||
href="https://github.com/Rainnny7/RESTfulMC"
|
href="https://github.com/Rainnny7/RESTfulMC"
|
||||||
rel="noopener noreferrer"
|
rel="noopener noreferrer"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
|
<MinecraftButton className="group/star">
|
||||||
{/* Star Count */}
|
{/* Star Count */}
|
||||||
<Suspense fallback={<Skeleton className="w-4 h-5 rounded-md" />}>
|
<Suspense fallback={<Skeleton className="w-4 h-5 rounded-md" />}>
|
||||||
<GitHubStarCount />
|
<GitHubStarCount />
|
||||||
@ -86,8 +87,8 @@ const Navbar = (): JSX.Element => {
|
|||||||
height={22}
|
height={22}
|
||||||
/>
|
/>
|
||||||
<span>Star on GitHub</span>
|
<span>Star on GitHub</span>
|
||||||
</Link>
|
</MinecraftButton>
|
||||||
</MinecraftButton>
|
</Link>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user