31 lines
1.1 KiB
HTML
31 lines
1.1 KiB
HTML
@use crate::{templates::{layouts::home, profiles::view}, profiles::Profile};
|
|
@use hyaenidae_accounts::LogoutState;
|
|
@use hyaenidae_toolkit::{templates::{button_group, card, card_body, card_title}, Button, Card};
|
|
|
|
@(profile: &Profile, logout: LogoutState)
|
|
|
|
@:home("Create Profile", "Create a new profile on Hyaenidae", &Some(logout), {}, {
|
|
@:card(&Card::full_width().classes(&["account-page"]), {
|
|
@: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("/"),
|
|
Button::outline("Back").href("/profiles/create/require-login"),
|
|
])
|
|
})
|
|
})
|
|
@:card(&Card::full_width().classes(&["account-page"]), {
|
|
@:card_title({ Preview })
|
|
@:view("", profile)
|
|
})
|
|
})
|