feat(cms): add static pages module

This commit is contained in:
sdarbinyan
2026-07-10 13:52:01 +04:00
parent e2c8747fcc
commit 7d6c09a346
25 changed files with 890 additions and 159 deletions

View File

@@ -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) {