From ab31b1140781c4e5b3e6f86e7970add537cdeefe Mon Sep 17 00:00:00 2001 From: Saibotk Date: Mon, 20 Jan 2025 00:11:36 +0100 Subject: [PATCH] fix(links): migrate gitlab -> forgejo --- src/components/Footer.astro | 2 +- src/components/Header.astro | 22 +++++++--------------- src/components/icons/Forgejo.astro | 24 ++++++++++++++++++++++++ src/components/icons/GitLab.astro | 18 ------------------ 4 files changed, 32 insertions(+), 34 deletions(-) create mode 100644 src/components/icons/Forgejo.astro delete mode 100644 src/components/icons/GitLab.astro diff --git a/src/components/Footer.astro b/src/components/Footer.astro index 4f35d5f..6b663ec 100644 --- a/src/components/Footer.astro +++ b/src/components/Footer.astro @@ -18,7 +18,7 @@ const today = new Date() Made with Astro · - + Source Code · diff --git a/src/components/Header.astro b/src/components/Header.astro index 498847d..61eded2 100644 --- a/src/components/Header.astro +++ b/src/components/Header.astro @@ -1,7 +1,7 @@ --- import HeaderLink from './HeaderLink.astro' +import Forgejo from './icons/Forgejo.astro' import GitHub from './icons/GitHub.astro' -import GitLab from './icons/GitLab.astro' import Mastodon from './icons/Mastodon.astro' import { SITE_TITLE } from '../config' --- @@ -18,31 +18,23 @@ import { SITE_TITLE } from '../config' Posts -
+ diff --git a/src/components/icons/Forgejo.astro b/src/components/icons/Forgejo.astro new file mode 100644 index 0000000..aef8608 --- /dev/null +++ b/src/components/icons/Forgejo.astro @@ -0,0 +1,24 @@ +--- +export type Props = astroHTML.JSX.SVGAttributes + +const { class: classes, ...props } = Astro.props +--- + + + + + + Forgejo logo + Caesar Schinas + + + + + + + + + + + + diff --git a/src/components/icons/GitLab.astro b/src/components/icons/GitLab.astro deleted file mode 100644 index 0f269f6..0000000 --- a/src/components/icons/GitLab.astro +++ /dev/null @@ -1,18 +0,0 @@ ---- -export type Props = astroHTML.JSX.SVGAttributes - -const { class: classes, ...props } = Astro.props ---- - - -