Clean up footer links

This commit is contained in:
Nathan McCarty 2025-02-15 05:31:50 -05:00
parent 75b174f0a7
commit 88bb800ec4
2 changed files with 9 additions and 8 deletions
lib/Render
resources

View file

@ -20,15 +20,15 @@ sub generate-footer() is export {
div :class<contact>, [ div :class<contact>, [
div :class<footer-title>, span "Contact Me"; div :class<footer-title>, span "Contact Me";
div :class<footer-links>, [ div :class<footer-links>, [
footer-link (^ "@thatonelutenist"), footer-link (^ "Discord"),
"Discord", "Discord",
"https://discordapp.com/users/thatonelutenist", "https://discordapp.com/users/thatonelutenist",
simple-icon "discord"; simple-icon "discord";
footer-link (^ "@thatonelutenist:stranger.systems"), footer-link (^ "Matrix"),
"Matrix", "Matrix",
"https://matrix.to/#/@thatonelutenist:stranger.systems", "https://matrix.to/#/@thatonelutenist:stranger.systems",
simple-icon "matrix"; simple-icon "matrix";
footer-link (^ "~thatonelutenist/public-inbox@lists.sr.ht"), footer-link (^ "Public Email Inbox"),
"Email", "Email",
"mailto:~thatonelutenist/public-inbox@lists.sr.ht", "mailto:~thatonelutenist/public-inbox@lists.sr.ht",
icon-solid "envelope"; icon-solid "envelope";
@ -41,15 +41,15 @@ sub generate-footer() is export {
"Stranger Systems Forgejo", "Stranger Systems Forgejo",
"https://git.stranger.systems/explore/repos", "https://git.stranger.systems/explore/repos",
simple-icon "forgejo"; simple-icon "forgejo";
footer-link (^ "~thatonelutenist"), footer-link (^ "sr.ht"),
"sr.ht", "sr.ht",
"https://sr.ht/~thatonelutenist/", "https://sr.ht/~thatonelutenist/",
simple-icon "sourcehut"; simple-icon "sourcehut";
footer-link (^ "@nmccarty"), footer-link (^ "github"),
"Github", "Github",
"https://github.com/nmccarty", "https://github.com/nmccarty",
simple-icon "github"; simple-icon "github";
footer-link (^ "@thatonelutenist"), footer-link (^ "gitlab"),
"Gitlab", "Gitlab",
"https://gitlab.com/thatonelutenist", "https://gitlab.com/thatonelutenist",
simple-icon "gitlab"; simple-icon "gitlab";
@ -58,7 +58,7 @@ sub generate-footer() is export {
div :class<socials>, [ div :class<socials>, [
div :class<footer-title>, span "Social Media"; div :class<footer-title>, span "Social Media";
div :class<footer-links>, [ div :class<footer-links>, [
footer-link "@thatonelutenist@hachyderm.io", footer-link "Mastodon",
"Mastodon", "Mastodon",
"https://hachyderm.io/@thatonelutenist", "https://hachyderm.io/@thatonelutenist",
simple-icon "mastodon"; simple-icon "mastodon";

View file

@ -248,7 +248,8 @@ footer i {
.footer-links { .footer-links {
display: flex; display: flex;
flex-flow: row wrap; flex-flow: row wrap;
/* align-items: center; */ align-items: center;
justify-content: center;
gap: var(--box-gap); gap: var(--box-gap);
border-radius: var(--box-radius); border-radius: var(--box-radius);
padding: var(--footer-padding); padding: var(--footer-padding);