@use crate::{templates::{layouts::home, profiles::view}, profiles::Profile}; @use hyaenidae_accounts::LogoutState; @use hyaenidae_toolkit::{templates::{button_group, card, card_body, card_title, text_input, statics::button_js}, Button, Card, TextInput}; @(display_name_input: &TextInput, description_input: &TextInput, profile: &Profile, logout: LogoutState) @:home("Create Profile", "Create a new profile on Hyaenidae", &Some(logout), { }, { @:card(&Card::full_width().classes(&["account-page"]).dark(true), {
}) @:card(&Card::full_width().classes(&["account-page"]).dark(true), { @:card_title({ Preview }) @:view("", profile) }) })