Files
marketplaces/src/app/pages/static-page/static-page.component.html

19 lines
572 B
HTML
Raw Normal View History

<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]="homeRoute()">На главную</a>
</section>
} @else {
<article class="static-page__content">
@if (title()) {
<h1>{{ title() }}</h1>
}
<div class="static-page__html" [innerHTML]="safeHtml()"></div>
</article>
}
</main>