feat static pages system with dynamic footer and safe html rendering
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user