fix: fixed links
All checks were successful
Build Gameflow Site / build (push) Successful in 1m1s

This commit is contained in:
Simeon Radivoev 2026-05-16 00:19:31 +03:00
parent d3779fb46e
commit 122e8134e1
Signed by: simeonradivoev
GPG key ID: 7611A451D2A5D37A
2 changed files with 6 additions and 9 deletions

View file

@ -22,11 +22,9 @@ import Image from "astro/components/Image.astro";
<div class="hidden md:flex gap-2">
<a
title="View a list of plugins you can download for gameflow"
data-active={Astro.url.pathname.startsWith(
`${import.meta.env.BASE_URL}/plugins`,
)}
data-active={/\/plugins/g.test(Astro.url.pathname)}
class="flex group gap-2 bg-base-300 data-[active=true]:cursor-default rounded-full p-1 px-3 text-xl hover:bg-accent hover:text-accent-content data-[active=true]:bg-accent data-[active=true]:text-accent-content items-center"
href={`${import.meta.env.BASE_URL}/plugins`}
href={`plugins`}
><Puzzle />Plugins <span
class="bg-base-100 px-2 text-sm font-semibold rounded-full group-hover:bg-accent-content group-hover:text-accent in-data-[active=true]:bg-accent-content in-data-[active=true]:text-accent"
>{plugins.total}</span
@ -34,11 +32,9 @@ import Image from "astro/components/Image.astro";
</a>
<a
title="View a list of free games you can download for gameflow"
data-active={Astro.url.pathname.startsWith(
`${import.meta.env.BASE_URL}/games`,
)}
data-active={/\/games/g.test(Astro.url.pathname)}
class="flex group gap-2 bg-base-300 data-[active=true]:cursor-default rounded-full p-1 px-3 text-xl hover:bg-accent hover:text-accent-content data-[active=true]:bg-accent data-[active=true]:text-accent-content items-center"
href={`${import.meta.env.BASE_URL}/games`}
href={`games`}
><Gamepad2 />Games<span
class="bg-base-100 px-2 text-sm font-semibold rounded-full group-hover:bg-accent-content group-hover:text-accent in-data-[active=true]:bg-accent-content in-data-[active=true]:text-accent"
>{games.length}</span

View file

@ -22,6 +22,7 @@ const { title } = Astro.props;
<meta property="og:image" content={previewHref} />
<meta property="og:url" content={Astro.url} />
<meta property="og:type" content="website" />
<base href={import.meta.env.BASE_URL} />
<!-- Twitter/X -->
<meta name="twitter:card" content="summary_large_image" />