@use crate::{templates::{layouts::home, profiles::{submission_tile, view}}, nav::NavState, profiles::ProfileView}; @use hyaenidae_toolkit::templates::button_group; @use hyaenidae_toolkit::{templates::{card, card_body, card_section, card_title}, Card}; @(pview: &ProfileView, nav_state: &NavState) @:home(&pview.profile.name(), pview.profile.description().unwrap_or(&format!("{}'s profile on Hyaenidae", pview.profile.name())), nav_state, {}, { @:card(Card::full_width().dark(nav_state.dark()), { @:view(&pview.profile, nav_state.dark()) }) @:card(Card::full_width().dark(nav_state.dark()), { @:card_title({ Profile Actions }) @:card_body({ @:button_group(&pview.buttons()) }) }) @:card(Card::full_width().dark(nav_state.dark()), { @:card_title({ Drafts }) @:card_section({