Skip to content

Commit dc42b7d

Browse files
committed
Refactor link component
1 parent a2f2401 commit dc42b7d

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

index.html.pm

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,18 +63,18 @@
6363
◊heading["About"]
6464
◊par{Hi 👋}
6565
◊par{
66-
We're ◊(link "Dirk" "https://www.linkedin.com/in/dirk-hüsken-414b8b101"), ◊(link "Thomas" "https://www.linkedin.com/in/thomas-graf-253629ba"), ◊(link "David" "https://binderdavid.github.io") and(link "Beat" "https://me.beathagenlocher.com") and we thought it would be nice if the wonderful city of Tübingen had a functional programming meetup (again!).
66+
We're ◊link["https://www.linkedin.com/in/dirk-hüsken-414b8b101"]{Dirk}, ◊link["https://www.linkedin.com/in/thomas-graf-253629ba"]{Thomas}, ◊link["https://binderdavid.github.io"]{David} andlink["https://me.beathagenlocher.com"]{Beat} and we thought it would be nice if the wonderful city of Tübingen had a functional programming meetup (again!).
6767
}
6868
◊par{
6969
We want to create a space where people interested in functional programming can meet and learn from each other. To achieve this, we will start off with talks, followed by food and an open exchange between the participants.
7070
}
7171
◊par{
72-
Looking forward to see you at the next edition of(link "Tü.λ—Functional Programming Night Tübingen" "https://www.meetup.com/tu-lambda/")!
72+
Looking forward to see you at the next edition oflink["https://www.meetup.com/tu-lambda/"]{Tü.λ—Functional Programming Night Tübingen}!
7373
}
7474
◊meetups{
7575
◊meetup[#:title "06.11.24"]{
7676
◊par{
77-
The next meetup will take place at the 06.11.24 at the ◊link["itdesign office" "https://itdesign.de/"], Friedrichstraße 12.
77+
The next meetup will take place on the 06.11.24 at the ◊link["https://itdesign.de/"]{itdesign office}, Friedrichstraße 12.
7878
}
7979
◊ul[#:class "list-disc list-inside mx-2 my-4 sm:text-lg leading-relaxed"]{
8080
◊li{18.45 Doors open & Welcome}
@@ -93,7 +93,7 @@
9393
}
9494
◊meetup[#:title "28.08.24"]{
9595
◊par{
96-
This meetup took place at the 28.08.24 at the ◊link["itdesign office" "https://itdesign.de/"], Friedrichstraße 12.
96+
This meetup took place on the 28.08.24 at the ◊link["https://itdesign.de/"]{itdesign office}, Friedrichstraße 12.
9797
}
9898
◊ul[#:class "list-disc list-inside mx-2 my-4 sm:text-lg leading-relaxed"]{
9999
◊li{18.45 Doors open & Welcome}
@@ -113,7 +113,7 @@
113113
}
114114

115115
◊par{
116-
If you want to attend the meetup, please ◊(link "tell us about it" "https://www.meetup.com/tu-lambda/") so that we can plan accordingly 😊
116+
If you want to attend the meetup, please ◊link["https://www.meetup.com/tu-lambda/"]{tell us about it} so that we can plan accordingly 😊
117117
}
118118

119119
◊heading["Contact"]

pollen.rkt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424
`(div ([class "flex flex-wrap justify-center"] [aria-label "Tools/Techniques used"])
2525
,(for/splice ([topic top-list]) (badge topic)))))
2626

27-
(define (link text url)
27+
(define (link url . body)
2828
`(a ([class ,"text-[@{jordy}] hover:underline decoration-2 underline-offset-2 decoration-[@{jordy}] hover:text-[@{jordy}]"] [rel "noreferrer noopener"] [target "_blank"] [href ,url])
29-
,text))
29+
,@body))
3030

3131
(define (par . body)
3232
`(p ([class "my-4 sm:text-lg leading-relaxed"]) ,@body))

0 commit comments

Comments
 (0)