15 lines
572 B
HTML
15 lines
572 B
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: &Option<LogoutState>)
|
|
|
|
@:home(profile.name(), profile.description().unwrap_or(&format!("{}'s profile on Hyaenidae", profile.name())), logout, {}, {
|
|
@:view("standalone account-page", profile)
|
|
@:card(Card::full_width().classes(&["account-page"]).dark(true), {
|
|
@:card_body({
|
|
<p>hi</p>
|
|
})
|
|
})
|
|
})
|