diff options
author | Colin Okay <colin@cicadas.surf> | 2022-10-28 16:06:29 -0500 |
---|---|---|
committer | Colin Okay <colin@cicadas.surf> | 2022-10-28 16:06:29 -0500 |
commit | 46371385ee5d95217b7b1fb636e17d9277835f69 (patch) | |
tree | d2d5dba329036cb1c5fee4df3df43ffadf113c08 /explore.lisp | |
parent | c4363a63dbfee6ca4fbc7e35cc5a2b5329f7383f (diff) |
Tweaks
Diffstat (limited to 'explore.lisp')
-rw-r--r-- | explore.lisp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/explore.lisp b/explore.lisp index f562448..5e6ada0 100644 --- a/explore.lisp +++ b/explore.lisp @@ -8,13 +8,14 @@ (defun create-playlist-explore-card (parent pl) (with-clog-create parent - (div () + (div (:bind card) (img (:bind thumb)) - (section (:h4) + (div () (a (:link (url-to-playlist pl) :content (playlist-title pl))) (span (:content " -- ")) (span (:content (secs-to-hms (playlist-duration pl)))))) - (setf (maximum-width thumb) "120px") + (setf (maximum-width thumb) "180px" + (width card) "200px") (when-let (track (first (playlist-tracks pl))) (setf (url-src thumb) (or (track-thumb-url track) ""))))) @@ -24,6 +25,7 @@ (create-playlist-explore-card container pl)))) (defun explore-page (body) + (include-style body) (with-clog-create body (div () (navigation-header ()) |