hyaenidae/server/templates/profiles/create/done.rs.html

31 lines
1.1 KiB
HTML
Raw Normal View History

@use crate::{templates::{layouts::home, profiles::view}, nav::NavState, profiles::Profile};
2021-01-08 04:44:43 +00:00
@use hyaenidae_toolkit::{templates::{button_group, card, card_body, card_title}, Button, Card};
2021-01-06 08:21:37 +00:00
@(profile: &Profile, nav_state: &NavState)
2021-01-06 08:21:37 +00:00
@:home("Create Profile", "Create a new profile on Hyaenidae", nav_state, {}, {
@:card(&Card::full_width().dark(nav_state.dark()), {
2021-01-08 04:44:43 +00:00
@:card_title({ Finished! })
2021-01-06 08:21:37 +00:00
@: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()),
2021-01-06 08:21:37 +00:00
])
})
})
@:card(&Card::full_width().dark(nav_state.dark()), {
2021-01-08 04:44:43 +00:00
@:card_title({ Preview })
@:view("", profile)
2021-01-06 08:21:37 +00:00
})
})