feat(cms): add static pages module
This commit is contained in:
@@ -20,7 +20,11 @@
|
||||
{{ 'header.catalog' | translate }}
|
||||
</button>
|
||||
}
|
||||
<!-- TODO(CMS): Render backend-configured header content links here. -->
|
||||
@for (page of headerPages(); track page.id) {
|
||||
<button type="button" (click)="navigateToStatic(page.route)" class="platform-nav-btn platform-nav-btn-left">
|
||||
{{ page.title }}
|
||||
</button>
|
||||
}
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
@@ -140,7 +144,14 @@
|
||||
</a>
|
||||
}
|
||||
|
||||
<!-- TODO(CMS): Render backend-configured mobile content links here. -->
|
||||
@for (page of headerPages(); track page.id) {
|
||||
<a (click)="navigateToStatic(page.route)" class="platform-mobile-item" style="cursor: pointer;">
|
||||
<span>{{ page.title }}</span>
|
||||
<svg class="platform-mobile-chevron" width="8" height="14" viewBox="0 0 8 14" fill="none">
|
||||
<path d="M1 1L7 7L1 13" stroke="#697777" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</svg>
|
||||
</a>
|
||||
}
|
||||
|
||||
<div class="platform-mobile-controls">
|
||||
@if (headerConfig().showRegion) {
|
||||
|
||||
Reference in New Issue
Block a user