@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({

Congratulations! You're profile is all set up! Now you can start to browse Hyaenidae as a full-fledged member.

You can always access your profile settings again to modify anything you've set up here.

}) @: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) }) })