hyaenidae/server/templates/profiles/public.rs.html
asonix 6da83926a0 Remove StateError
Use Dark Theme
Add profile deletion
2021-01-08 22:35:35 -06:00

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