Skip to content

Commit c476e5f

Browse files
committed
fix: add links to some 88x31s
1 parent 1a658de commit c476e5f

1 file changed

Lines changed: 10 additions & 3 deletions

File tree

content/index.typ

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,15 @@ In the near future I intend on exploring embedded hardware & RF with some home-a
1313

1414
#utils.hr
1515

16+
#let icon-with-dest(link, dest, alt) = html.div[#html.a(href: dest, target: "_blank", style: "height: 31px; width: 88px; display: block")[#html.img(
17+
src: link,
18+
alt: alt,
19+
)]]
20+
1621
#let icon(link, alt) = html.img(
1722
src: link,
1823
alt: alt,
19-
style: "height: 31px; width: 88px",
24+
style: "height: 31px; width: 88px"
2025
)
2126

2227
#html.div(class: "flex flex-col gap-4")[
@@ -26,12 +31,14 @@ In the near future I intend on exploring embedded hardware & RF with some home-a
2631
#link("mailto:contact@amyerskine.me")[email]
2732
]
2833
#html.div(class: "flex flex-row items-center gap-2")[
29-
#icon(
34+
#icon-with-dest(
3035
"https://linus.dev/images/88x31.png",
36+
"https://linus.dev/",
3137
"An 88x31 button. A cartoonish penguin is on the left. Next to it is the text 'linus' in white letters.",
3238
)
33-
#icon(
39+
#icon-with-dest(
3440
"https://www.theresnotime.co.uk/button.png",
41+
"https://www.theresnotime.co.uk/",
3542
"An 88x31 button. It features a cartoon fox face with the words 'TheresNoTime' on the bottom.",
3643
)
3744
#icon("/88x31/trans.png", "An 88x31 button. It is the trans flag")

0 commit comments

Comments
 (0)