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

@@ -9,7 +9,20 @@
<p class="novo-footer-desc">{{ 'footer.description' | translate }}</p>
</div>
<!-- TODO(CMS): Render backend-configured footer content links here. -->
@for (group of footerGroups(); track group.id) {
<div class="novo-footer-col">
@if (group.title) {
<h4>{{ group.title }}</h4>
}
<ul class="novo-footer-links">
@for (item of group.items; track item.id) {
<li>
<a [routerLink]="item.route | langRoute">{{ item.label | translate }}</a>
</li>
}
</ul>
</div>
}
</div>
<div class="novo-footer-bottom">
@@ -36,7 +49,20 @@
<p class="lavero-footer-desc">{{ 'footer.description' | translate }}</p>
</div>
<!-- TODO(CMS): Render backend-configured footer content links here. -->
@for (group of footerGroups(); track group.id) {
<div class="lavero-footer-col">
@if (group.title) {
<h4>{{ group.title }}</h4>
}
<ul class="lavero-footer-links">
@for (item of group.items; track item.id) {
<li>
<a [routerLink]="item.route | langRoute">{{ item.label | translate }}</a>
</li>
}
</ul>
</div>
}
</div>
<div class="lavero-footer-bottom">
@@ -62,7 +88,20 @@
</div>
<div class="dexar-footer-columns">
<!-- TODO(CMS): Render backend-configured footer content links here. -->
@for (group of footerGroups(); track group.id) {
<div class="dexar-footer-col">
@if (group.title) {
<h4>{{ group.title }}</h4>
}
<ul>
@for (item of group.items; track item.id) {
<li>
<a [routerLink]="item.route | langRoute">{{ item.label | translate }}</a>
</li>
}
</ul>
</div>
}
<div class="dexar-footer-col">
<h4>{{ 'footer.payment' | translate }}</h4>