diff options
author | Vika <vika@fireburn.ru> | 2021-05-17 18:33:16 +0300 |
---|---|---|
committer | Vika <vika@fireburn.ru> | 2021-05-17 18:33:16 +0300 |
commit | 9c3ede5d1ec339a59d5f8274d8043928cafb5a44 (patch) | |
tree | a604be8786ad179f512c86b240cbbf3ae62431a7 /src/frontend/mod.rs | |
parent | 0fbe373fcb716fbc6eb344022ab72de00512fc68 (diff) | |
download | kittybox-9c3ede5d1ec339a59d5f8274d8043928cafb5a44.tar.zst |
Minimal onboarding support. TODO: h-card avatars
Diffstat (limited to 'src/frontend/mod.rs')
-rw-r--r-- | src/frontend/mod.rs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/frontend/mod.rs b/src/frontend/mod.rs index f14ac75..c92619b 100644 --- a/src/frontend/mod.rs +++ b/src/frontend/mod.rs @@ -146,6 +146,20 @@ mod templates { } div.form_group { + label[for="urls"] { "Links to other pages of you" } + div.multi_input#urls { + template { + input#hcard_url[name="hcard_url", placeholder="https://example.com/"]; + } + button.add_more[type="button", "aria-label"="Add more"] { "[+] Add more" } + } + small { + "These URLs will help your readers find you elsewhere and will help you that whoever owns these pages owns your website too" + " in case the links are mutual. So make sure to put a link to your site in your other social profiles!" + } + } + + div.form_group { label[for="hcard_note"] { "A little about yourself" } textarea#hcard_note[name="hcard_note", placeholder="Loves cooking, plants, cats, dogs and racoons."] {} small { "A little bit of introduction. Just one paragraph, and note, you can't use HTML here (yet)." } |