hyaenidae/server/templates/profiles/create/done.rs.html
asonix 4ff824b92d Delete 'Back' in favor of mobile nav query
Add submissions to home page
Add drafts page
Validate handle, display name, description, submission: title, description
Add block checks to submission iterator
Add user info to submission page
Abstract dark preference to a single source, not yet configurable
2021-01-10 22:09:47 -06:00

31 lines
1.1 KiB
HTML

@use crate::{templates::{layouts::home, profiles::view}, nav::NavState, profiles::Profile};
@use hyaenidae_toolkit::{templates::{button_group, card, card_body, card_title}, Button, Card};
@(profile: &Profile, nav_state: &NavState)
@:home("Create Profile", "Create a new profile on Hyaenidae", nav_state, {}, {
@:card(&Card::full_width().dark(nav_state.dark()), {
@:card_title({ Finished! })
@:card_body({
<p>
Congratulations! You're profile is all set up! Now you can start to browse
Hyaenidae as a full-fledged member.
</p>
<p>
You can always access your profile settings again to modify anything
you've set up here.
</p>
})
@:card_body({
@:button_group(&[
&Button::primary("Return Home").href("/").dark(nav_state.dark()),
Button::outline("Back").href("/profiles/create/require-login").dark(nav_state.dark()),
])
})
})
@:card(&Card::full_width().dark(nav_state.dark()), {
@:card_title({ Preview })
@:view("", profile)
})
})