@use crate::templates::layouts::home; @use crate::templates::comments::{nodes, profile_box}; @use crate::comments::CommentView; @use crate::nav::NavState; @use hyaenidae_toolkit::{templates::button_group, Button}; @use hyaenidae_toolkit::{templates::{card, card_title, card_body}, Card}; @use hyaenidae_toolkit::templates::link; @use hyaenidae_toolkit::templates::{nested, nested_children}; @use hyaenidae_toolkit::templates::text_input; @(view: &CommentView, nav_state: &NavState) @if let Some((comment, author)) = view.comments.item.comment() { @:home(&author.name(), comment.body(), nav_state, {}, { @:card(&Card::full_width().dark(nav_state.dark()), { @:card_title({ Comment }) @:card_body({