From c52af0ede223d908554d7bef34ff58378d51566c Mon Sep 17 00:00:00 2001 From: luaneko Date: Wed, 4 Dec 2024 06:31:39 +1100 Subject: [PATCH] Add links to services --- src/pages/index.astro | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/pages/index.astro b/src/pages/index.astro index 332e57c..9c09e3e 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -5,6 +5,13 @@ const socials = [ ["Bluesky", "bs/lua.re", "https://bsky.app/profile/lua.re"], ["GitHub", "gh/luaneko", "https://github.com/luaneko"], ]; + +const services = [ + ["Gitea", "git"], + ["Roundcube", "mail"], +]; + +services.sort(([_a, a], [_b, b]) => a.length - b.length || a.localeCompare(b)); --- @@ -16,7 +23,9 @@ const socials = [ {socials.map(([name, text, href]) => ( <>ใƒป:ใ€‚{text} - +))} +{services.map(([name, sub], i) => ( +<>{i ? " ยท " : ""}{sub} ))} ๐Ÿก ๐ŸŒธ ๐ŸŽ€ ๐ŸŒ™