From c0a11af2b1ff4ef813c08709e80e874812704564 Mon Sep 17 00:00:00 2001 From: Vaxry Date: Tue, 16 Apr 2024 17:40:23 +0100 Subject: [PATCH] add forgejo link to nav --- src/lib/constants.mjs | 1 + src/routes/Navbar.svelte | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/src/lib/constants.mjs b/src/lib/constants.mjs index 325c73d..fcea389 100644 --- a/src/lib/constants.mjs +++ b/src/lib/constants.mjs @@ -1 +1,2 @@ export const discordLink = 'https://discord.com/invite/hQ9XvMUjjr' +export const forgejoLink = 'https://code.hyprland.org/' diff --git a/src/routes/Navbar.svelte b/src/routes/Navbar.svelte index 82b30ad..536b0b6 100755 --- a/src/routes/Navbar.svelte +++ b/src/routes/Navbar.svelte @@ -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 @@ +
  • + +