aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiguel Ángel Moreno <mail@migalmoreno.com>2023-09-17 21:32:18 +0200
committerMiguel Ángel Moreno <mail@migalmoreno.com>2023-09-17 21:32:18 +0200
commita43b442f6c053b2dd589fd97a55e469a4aaf1271 (patch)
tree75d8b95cc75f7fa5cf0fc70406c746af269d3f23
parentfa4cf0e41ad7bf11463441bf24e663cdd28d26f7 (diff)
feat: update portfolio template
-rw-r--r--haunt.scm22
1 files changed, 18 insertions, 4 deletions
diff --git a/haunt.scm b/haunt.scm
index 8e4ec0f..cafcef7 100644
--- a/haunt.scm
+++ b/haunt.scm
@@ -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))