We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84e00b6 commit c0f73ebCopy full SHA for c0f73eb
pollen.rkt
@@ -35,8 +35,10 @@
35
(string-replace (string-downcase text) " " "-"))
36
37
(define (heading text)
38
- `(h1 ([id ,(id-ify text)] [class ,"text-3xl font-fira-code text-[@{jordy}] tracking-tighter leading-snug"])
39
- ,text))
+ `(a ((href ,(id-ify (string-append "#" text)))
+ (class "cursor-pointer"))
40
+ (h1 ([id ,(id-ify text)] [class ,"text-3xl font-fira-code text-[@{jordy}] tracking-tighter leading-snug"])
41
+ ,text)))
42
43
(define (orga . body)
44
`(div ([class "flex items-center gap-2 -mx-2 my-4"])
0 commit comments