From 5d125d9b7d7a987df5b3dfa5a218cd28976c2951 Mon Sep 17 00:00:00 2001 From: skidoodle Date: Wed, 31 Dec 2025 16:51:36 +0100 Subject: [PATCH] feat: add Services component and display it on the homepage --- src/components/services.astro | 88 +++++++++++++++++++++++++++++++++++ src/pages/index.astro | 2 + 2 files changed, 90 insertions(+) create mode 100644 src/components/services.astro diff --git a/src/components/services.astro b/src/components/services.astro new file mode 100644 index 0000000..ceafcd8 --- /dev/null +++ b/src/components/services.astro @@ -0,0 +1,88 @@ +--- +const services = [ + { + name: 'gitea', + url: 'https://git.albert.lol', + }, + { + name: 'pastebin', + url: 'https://bin.albert.lol', + }, + { + name: 'opengist', + url: 'https://gist.albert.lol', + }, + { + name: 'filebrowser', + url: 'https://files.albert.lol', + }, + { + name: 'ipinfo', + url: 'https://ip.albert.lol', + }, + { + name: 'teamspeak', + url: 'https://ts.albert.lol', + }, + { + name: 'erettsegi', + url: 'https://erettsegi.albert.lol', + }, + { + name: 'ncore-stats', + url: 'https://nc.albert.lol', + }, + { + name: 'httpdebug', + url: 'https://httpdebug.albert.lol', + }, + { + name: 'statuspage', + url: 'https://status.albert.lol', + }, + { + name: 'watch-together', + url: 'https://wt.albert.lol', + }, + { + name: 'budgetable', + url: 'https://budgetable.demo.albert.lol', + }, +] +--- + +
+
+ ~/services +
+
+ { + services.map(service => ( +
+ + {service.name} + +
+ )) + } +
+
+
+
+ + diff --git a/src/pages/index.astro b/src/pages/index.astro index 97530f8..aadf7a8 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -4,6 +4,7 @@ import Nowplaying from '../components/nowplaying.astro' import Whoami from '../components/whoami.astro' import Socials from '../components/socials.astro' import Projects from '../components/projects.astro' +import Services from '../components/services.astro' import Setup from '../components/setup.astro' const title = 'albert' @@ -18,5 +19,6 @@ const description = +