From e747f399efab56b9f70c689a3567e34c7ecede65 Mon Sep 17 00:00:00 2001 From: jakubmanczak Date: Sat, 28 Mar 2026 00:44:33 +0100 Subject: [PATCH] swap out github for git host with selfhosted gitea link --- src/router/redirects.rs | 5 ++++- web/icons/git-fork.svg | 1 + web/index.html | 6 +++--- 3 files changed, 8 insertions(+), 4 deletions(-) create mode 100644 web/icons/git-fork.svg diff --git a/src/router/redirects.rs b/src/router/redirects.rs index cf2165a..564acfe 100644 --- a/src/router/redirects.rs +++ b/src/router/redirects.rs @@ -6,7 +6,10 @@ const REDIRECTS: &[(&[&str], &str)] = &[ &["/discord", "/dsc", "/dc"], "https://discord.gg/NBXq95C" ),( - &["/github", "/gh"], + &["/git", "/gitea", "/git-host"], + "https://git.gractwo.pl" + ),( + &["/github"], "https://github.com/gractwo" ),( &["/youtube", "/yt"], diff --git a/web/icons/git-fork.svg b/web/icons/git-fork.svg new file mode 100644 index 0000000..7372031 --- /dev/null +++ b/web/icons/git-fork.svg @@ -0,0 +1 @@ + diff --git a/web/index.html b/web/index.html index 1a115f6..5d97844 100644 --- a/web/index.html +++ b/web/index.html @@ -35,10 +35,10 @@ class="flex flex-col sm:flex-row gap-2 mt-4 text-neutral-500 dark:text-neutral-400" > {% include "icons/github.svg" %} - GitHub{% include "icons/git-fork.svg" %} + Git host