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

29 lines
1,002 B
HTML

@use crate::{templates::{layout, profiles::view}, profiles::Profile};
@use hyaenidae_toolkit::{templates::{button_group, card, card_body}, Button, Card};
@(profile: &Profile)
@:layout("Create Profile", "Create a new profile on Hyaenidae", {}, {
@:card(&Card::full_width().classes(&["account-page"]), { 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("/"),
Button::outline("Back").href("/profiles/create/require-login"),
])
})
})
@:card(&Card::full_width().classes(&["account-page"]), { Preview }, {
@:view(profile)
})
})