summaryrefslogtreecommitdiff
path: root/site/login.lisp
diff options
context:
space:
mode:
authorGrant Shoshin Shangreaux <shoshin@cicadas.surf>2024-07-06 15:44:51 -0500
committerGrant Shoshin Shangreaux <shoshin@cicadas.surf>2024-07-06 15:44:51 -0500
commita95cdd714187903ed24e40804c449e8e4737f027 (patch)
tree25c74b9dd88ac43a437df5175a253798a0367f55 /site/login.lisp
parent79c8538b90ddb99bf038f1b4daed4d666146c2af (diff)
Add: redefined pages with hypnotisml syntax
Diffstat (limited to 'site/login.lisp')
-rw-r--r--site/login.lisp25
1 files changed, 11 insertions, 14 deletions
diff --git a/site/login.lisp b/site/login.lisp
index cb1f82f..6a6c8aa 100644
--- a/site/login.lisp
+++ b/site/login.lisp
@@ -6,17 +6,14 @@
:handle (login-page))
(defun login-page ()
- (page (:title "V A M P I R E ~ LOGIN")
- (:div (:h1 "I vant to suck your blood")
- (:form :method "POST" :action (wknd:route-to 'create.session)
- (:input :placeholder "Name" :name "name")
- (:br)
- (:input :placeholder "Password" :type "password" :name "password")
- (:br)
- (:button :type "submit" "Click to Login"))
- (:a :href (wknd:route-to 'new-account.html)
- "Become Undead"))))
-
-
-
-
+ (page
+ "V A M P I R E ~ LOGIN"
+ (<div> (@ :class "title")
+ (<h1> "I vant to suck your blood")
+ (<form> (@ :method "POST" :action (wknd:route-to 'create.session))
+ (<input> (@ :placeholder "Name" :name "name"))
+ (<input> (@ :placeholder "Password" :type "password" :name "password"))
+ (<button> (@ :type "submit") "Click to Login"))
+ ($center
+ (<a> (@ :href (wknd:route-to 'new-account.html))
+ "Hath thou been bitten? Click here to become one of us...")))))