feat static pages system with dynamic footer and safe html rendering

This commit is contained in:
sdarbinyan
2026-07-05 03:37:35 +04:00
parent 0089790d41
commit b0c5c5e051
11 changed files with 566 additions and 10 deletions

View File

@@ -0,0 +1,18 @@
<main class="static-page page-container">
@if (loading()) {
<section class="static-page__state">{{ 'app.connecting' | translate }}</section>
} @else if (notFound()) {
<section class="static-page__state">
<h1>404</h1>
<p>Страница не найдена</p>
<a [routerLink]="'/' | langRoute">На главную</a>
</section>
} @else {
<article class="static-page__content">
@if (title()) {
<h1>{{ title() }}</h1>
}
<div class="static-page__html" [innerHTML]="safeHtml()"></div>
</article>
}
</main>