diff options
author | Miguel Ángel Moreno <mail@migalmoreno.com> | 2024-05-29 12:23:33 +0200 |
---|---|---|
committer | Miguel Ángel Moreno <mail@migalmoreno.com> | 2024-05-29 12:23:33 +0200 |
commit | 6c30e770ea3771b93339f273b8b04c12feaf349a (patch) | |
tree | 42272e3beb0fe935d2cbdc168e2b1902339dd10d | |
parent | 09422c2aeecf2cf3e9ab7116d28c151be12b1524 (diff) |
feat: fix project links
-rw-r--r-- | haunt.scm | 22 |
1 files changed, 8 insertions, 14 deletions
@@ -306,8 +306,9 @@ describe my personal projects and contributions."))))) (h4 (@ (class "project__subtitle")) ,(project-synopsis project)) (div (@ (class "project__metadata")) (span (@ (class "project__metadata-items")) - (i (@ (class "fa-brands fa-github project__icon"))) - ,(anchor (project-link project) (project-link project) + (i (@ (class "fa-brands fa-git-alt project__icon"))) + ,(anchor (project-link project) + (string-append (project-link project) "/about") #:external? #t #:extra-classes "project__link")) (span (@ (classs "project__metadata-items")) @@ -336,19 +337,12 @@ describe my personal projects and contributions."))))) (div (a (@ (class "project-item__title") (href ,(project-uri project))) - ,(project-name project)) - ,(anchor '(i (@ (class "fa-brands fa-github"))) - (project-link project) - #:extra-classes "project-item__link" - #:external? #t)) + ,(project-name project))) (div - (@ (class "project-item__stats")) - (div - (a (@ (class "project-item__stargazers") - (href ,(string-append (project-link project) - "/stargazers"))))) - (div - (i (@ (class "icon__star fa-regular fa-star")))))) + ,(anchor '(i (@ (class "fa-brands fa-git-alt"))) + (string-append (project-link project) + "/about") + #:external? #t))) (ul (@ (class "tags")) ,@(map (lambda (tag) `(li (@ (class "tag")) ,tag)) |