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

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("/").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) }) })