Skip to content

Commit

Permalink
chore: improved links
Browse files Browse the repository at this point in the history
  • Loading branch information
Eveeifyeve committed Nov 16, 2024
1 parent 6105112 commit b7fdf51
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions src/components/header.astro
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
---
import { Image } from "astro:assets";
const links = {
docs: "https://docs.teaclient.net",
store: "https://store.teaclient.net",
download: "/",
news: "/news",
wiki: "/wiki",
};
---

<section
Expand Down Expand Up @@ -47,24 +55,24 @@ import { Image } from "astro:assets";
</label>
</li>
<li><a href="/">HOME</a></li>
<li><a href="/store">STORE</a></li>
<li><a href=`${links.store}`>STORE</a></li>
<li>
<a
class="font-bold bg-[#00000084] bg-gradient-to-tr from-orange-200 to-orange-500 rounded-lg 2xl:hover:bg-orange-300 ignore-a"
href="https://docs.teaclient.net">DOCS</a
href=`${links.docs}`>DOCS</a
>
</li>
<li>
<a
class="font-bold bg-[#00000084] bg-gradient-to-tr rounded-lg from-green-200 to-green-400 ignore-a"
href="/wiki">WIKI</a
href=`${links.wiki}`>WIKI</a
>
</li>
<li><a href="/news">NEWS</a></li>
<li><a href=`${links.news}`>NEWS</a></li>
<li>
<a
class="font-bold bg-[#00000084] bg-[#6e2bec] rounded-lg 2xl:hover:bg-[#9359ff] ignore-a"
href="/">DOWNLOAD</a
href=`${links.download}`>DOWNLOAD</a
>
</li>
</ul>
Expand Down

0 comments on commit b7fdf51

Please sign in to comment.