Compare commits
1 Commits
main
...
a8b8fb7748
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a8b8fb7748 |
31
frontend/src/app/pages/hub/hub-page.component.scss
Normal file
31
frontend/src/app/pages/hub/hub-page.component.scss
Normal file
@@ -0,0 +1,31 @@
|
||||
// ============================================================================
|
||||
// Hub Page — Responsive AgentCard Grid
|
||||
// Per CUB-52: 2×2 grid on ≥ 1024px (kiosk), single-column on < 1024px (mobile)
|
||||
// ============================================================================
|
||||
|
||||
.hub-page {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr;
|
||||
gap: var(--cc-card-gap);
|
||||
padding: var(--cc-section-padding);
|
||||
min-height: 400px;
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.hub-page__placeholder {
|
||||
color: var(--cc-on-surface-variant);
|
||||
font-size: 16px;
|
||||
grid-column: 1 / -1;
|
||||
text-align: center;
|
||||
align-self: center;
|
||||
}
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
// Kiosk / Desktop: 2×2 AgentCard grid
|
||||
// ---------------------------------------------------------------------------
|
||||
@media (min-width: 1024px) {
|
||||
.hub-page {
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
}
|
||||
}
|
||||
@@ -9,18 +9,7 @@ import { ChangeDetectionStrategy, Component } from '@angular/core';
|
||||
<p class="hub-page__placeholder">Command Hub — Fleet status grid will render here</p>
|
||||
</div>
|
||||
`,
|
||||
styles: [`
|
||||
.hub-page {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
min-height: 400px;
|
||||
}
|
||||
.hub-page__placeholder {
|
||||
color: var(--cc-on-surface-variant);
|
||||
font-size: 16px;
|
||||
}
|
||||
`],
|
||||
styleUrl: './hub-page.component.scss',
|
||||
changeDetection: ChangeDetectionStrategy.OnPush,
|
||||
})
|
||||
export class HubPageComponent {}
|
||||
Reference in New Issue
Block a user