diff options
author | Vika <vika@fireburn.ru> | 2025-01-02 13:52:19 +0300 |
---|---|---|
committer | Vika <vika@fireburn.ru> | 2025-01-02 13:52:19 +0300 |
commit | 4432fbcee01a3e78fc3ff176077a8f784ae8317f (patch) | |
tree | 07ea9ab24c808c89392b80422ba1d3816393854b /templates/src/onboarding.rs | |
parent | 95e00e79726f4c29230cf9e39c76ea15ad9adf46 (diff) | |
download | kittybox-4432fbcee01a3e78fc3ff176077a8f784ae8317f.tar.zst |
Vendor fonts into Kittybox
These fonts are licensed under OFL 1.1, which means I can freely redistribute them. Ain't that nice? Change-Id: Ide32286305680865652db17c8d482b5ac0f20a50
Diffstat (limited to 'templates/src/onboarding.rs')
-rw-r--r-- | templates/src/onboarding.rs | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/templates/src/onboarding.rs b/templates/src/onboarding.rs index 6ee90bf..65132b5 100644 --- a/templates/src/onboarding.rs +++ b/templates/src/onboarding.rs @@ -1,6 +1,6 @@ markup::define! { OnboardingPage { - h1[style="text-align: center"] { + h1 #onboarding_greet { "Welcome to Kittybox" } script[type="module", src="/.kittybox/static/onboarding.js"] {} @@ -73,13 +73,13 @@ markup::define! { "." } } - ul #progressbar[style="display: none"] { + ul.hidden #progressbar { li #intro { "Introduction" } li #hcard { "Your profile" } li #settings { "Your website" } li #firstpost { "Your first post" } } - fieldset #intro[style="display: none"] { + fieldset.inactive #intro { legend { "Introduction" } p { "Kittybox is a CMS that can act as a member of the IndieWeb. " @@ -94,7 +94,7 @@ markup::define! { } } - fieldset #hcard[style="display: none"] { + fieldset.inactive #hcard { legend { "Your profile" } p { "An h-card is an IndieWeb social profile, and we're gonna make you one!" } p { "Thanks to some clever markup, it will be readable by both humans and machines looking at your homepage."} @@ -156,7 +156,7 @@ markup::define! { } } - fieldset #settings[style="display: none"] { + fieldset.inactive #settings { legend { "Your website" } p { "Ok, it's nice to know you more. Tell me about what you'll be writing and how you want to name your blog." } // TODO: site-name, saved to settings @@ -210,7 +210,7 @@ markup::define! { } } - fieldset #firstpost[style="display: none"] { + fieldset.inactive #firstpost { legend { "Your first post" } p { "Maybe you should start writing your first posts now. How about a short note?" } p { "A note is a short-form post (not unlike a tweet - but without the actual character limit) that doesn't bear a title." } @@ -222,7 +222,7 @@ markup::define! { " here to spice up your note!)" } - textarea #first_post_content[style="width: 100%; height: 8em", placeholder="Hello! I am really excited about #IndieWeb"] {} + textarea #first_post_content[placeholder="Hello! I am really excited about #IndieWeb"] {} div.switch_card_buttons { button.switch_card.prev_card[type="button", "data-card"="settings"] { "Previous" } |