add forgejo link to nav

This commit is contained in:
Vaxry 2024-04-16 17:40:23 +01:00
parent 9808cda489
commit c0a11af2b1
2 changed files with 8 additions and 0 deletions

View file

@ -1 +1,2 @@
export const discordLink = 'https://discord.com/invite/hQ9XvMUjjr'
export const forgejoLink = 'https://code.hyprland.org/'

View file

@ -2,10 +2,12 @@
import { navigating, page } from '$app/stores'
import GithubIcon from '~icons/ri/github-fill'
import DiscordIcon from '~icons/prime/discord'
import ForgejoIcon from '~icons/fe/git'
import MenuIcon from '~icons/mingcute/menu-line'
import CloseIcon from '~icons/mingcute/close-line'
import HyprlandLogo from '$lib/images/logos/HyprlandLogo.svelte'
import { discordLink } from '$lib/constants.mjs'
import { forgejoLink } from '$lib/constants.mjs'
let isExpanded = false
@ -79,6 +81,11 @@
<GithubIcon class="h-full w-full" />
</a>
</li>
<li>
<a href={forgejoLink} class="social-icon" aria-label="Hyprland git instance" target="_blank">
<ForgejoIcon class="h-full w-full" />
</a>
</li>
</ul>
<a
class="rounded-full bg-primary px-4 py-1 uppercase tracking-wide text-black hover:bg-cyan-200"