mirror of
https://github.com/hyprwm/hyprland-website.git
synced 2024-12-22 02:19:47 +01:00
add forgejo link to nav
This commit is contained in:
parent
9808cda489
commit
c0a11af2b1
2 changed files with 8 additions and 0 deletions
|
@ -1 +1,2 @@
|
|||
export const discordLink = 'https://discord.com/invite/hQ9XvMUjjr'
|
||||
export const forgejoLink = 'https://code.hyprland.org/'
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue