From 9c3ede5d1ec339a59d5f8274d8043928cafb5a44 Mon Sep 17 00:00:00 2001 From: Vika Date: Mon, 17 May 2021 18:33:16 +0300 Subject: Minimal onboarding support. TODO: h-card avatars --- src/frontend/mod.rs | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'src/frontend/mod.rs') 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 @@ -145,6 +145,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."] {} -- cgit 1.4.1