Introduce MiniMessage rendering system for structured chat formatting and interaction
This commit is contained in:
@@ -1 +1,18 @@
|
||||
<p>chat works!</p>
|
||||
<ng-container>
|
||||
<app-header [current_page]="'chat'" height="460px" background_image="/public/img/backgrounds/staff.png"
|
||||
[overlay_gradient]="0.5">
|
||||
<div class="title" header-content>
|
||||
<h1>Chat</h1>
|
||||
</div>
|
||||
</app-header>
|
||||
|
||||
<main>
|
||||
<section class="darkmodeSection">
|
||||
@for (message of messages(); track message.timestamp) {
|
||||
<p>
|
||||
<mini-message [node]="message.messageJson"></mini-message>
|
||||
</p>
|
||||
}
|
||||
</section>
|
||||
</main>
|
||||
</ng-container>
|
||||
|
||||
Reference in New Issue
Block a user