feat(project-editor): header layout + sticky option

- HeaderConfig gains sticky (default true) and layout ('default'|'centered')
- header editor exposes layout select + sticky toggle
- runtime header component applies static/centered classes from config

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
sdarbinyan
2026-07-17 15:29:55 +04:00
parent b183410888
commit d8456ecb9f
10 changed files with 82 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
<!-- platform VERSION - Redesigned 2026 -->
<header class="platform-header">
<header class="platform-header" [class.platform-header--static]="headerConfig().sticky === false" [class.platform-header--centered]="headerConfig().layout === 'centered'">
<div class="platform-header-container">
<!-- Logo -->
@if (headerConfig().showLogo) {

View File

@@ -501,6 +501,14 @@
z-index: 1000;
backdrop-filter: blur(10px);
font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
&--static {
position: static;
}
}
.platform-header--centered .platform-header-container {
justify-content: center;
}
.platform-header-container {