diff options
author | colin <colin@cicadas.surf> | 2023-04-01 09:48:08 -0700 |
---|---|---|
committer | colin <colin@cicadas.surf> | 2023-04-01 09:48:08 -0700 |
commit | cc3f850c514967ae2f9effef7e68e1d4965c6865 (patch) | |
tree | 6d0b52c3a65d53f247f4c8272667aca5a4e05bac /src/views/hero.lisp | |
parent | 56a584ab1b13ff9510dd5145a778000169901a76 (diff) |
Refactor to make cooperative hacking nicer
Diffstat (limited to 'src/views/hero.lisp')
-rw-r--r-- | src/views/hero.lisp | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/views/hero.lisp b/src/views/hero.lisp deleted file mode 100644 index 90c2803..0000000 --- a/src/views/hero.lisp +++ /dev/null @@ -1,17 +0,0 @@ -;;;; views/hero.lisp - -(in-package :dnd) - -(defrender :list-item ((hero hero)) - (with-html - (:p - (render :link-to hero) - (a:when-let (quest (quest hero)) - (:span "who's quest is to") - (:span (render :link-to quest)))))) - - -(defrender :link-to ((hero hero)) - (with-html - (:a :href (urlpath hero) - (unique-name hero) "the" (hero-class hero) (hero-title hero)))) |