diff options
author | Miguel Ángel Moreno <mail@migalmoreno.com> | 2023-09-17 21:32:18 +0200 |
---|---|---|
committer | Miguel Ángel Moreno <mail@migalmoreno.com> | 2023-09-17 21:32:18 +0200 |
commit | a43b442f6c053b2dd589fd97a55e469a4aaf1271 (patch) | |
tree | 75d8b95cc75f7fa5cf0fc70406c746af269d3f23 | |
parent | fa4cf0e41ad7bf11463441bf24e663cdd28d26f7 (diff) |
feat: update portfolio template
-rw-r--r-- | haunt.scm | 22 |
1 files changed, 18 insertions, 4 deletions
@@ -358,10 +358,24 @@ describe my personal projects and contributions."))))) `((h1 (@ (class "portfolio__title")) ,title) (div (@ (class "portfolio")) ,@(map (lambda (project) - `(a (@ (href ,(project-uri project)) - (class "project-item")) - (h1 (@ (class "project-item__title")) - ,(project-name project)) + `(div (@ (class "project-item")) + (div (@ (class "project-item__heading")) + (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)) + (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")))))) (ul (@ (class "tags")) ,@(map (lambda (tag) `(li (@ (class "tag")) ,tag)) |