feat(shell): domain menu in the header, as in the deployed dev version

How: on /indicadores/<domain> routes the App header shows the platform title
and a mat-menu button named after the current domain, listing the other two
(the same markup and styles as the deployed WebApp's app.html). Other routes
(Conectar, Gobernanza) keep the "Análisis de información" breadcrumb. The
indicators page drops its own TEA/CaCu/CaMa links, so there is one switcher.

Implications: domain switching now depends on the App shell; a page embedded
elsewhere has no way to change domain by itself. Specs that asserted the
in-page links now assert their absence, and app.spec covers the menu.
This commit is contained in:
rockdrigo
2026-11-09 18:10:58 -06:00
parent 39974b8533
commit e2b307abf5
10 changed files with 77 additions and 60 deletions
+25
View File
@@ -29,6 +29,31 @@
width: clamp(180px, 16vw, 200px);
}
.platform-title {
color: var(--color-text);
font-family: var(--issste-font-heading);
font-size: 1.5rem;
font-weight: 600;
line-height: 1.15;
margin-inline-start: var(--issste-space-4);
margin-inline-end: auto;
overflow-wrap: anywhere;
}
.domain-selector {
flex: 0 0 auto;
background-color: var(--issste-accent);
color: var(--issste-text);
font-weight: 700;
white-space: nowrap;
}
.domain-selector:hover { background-color: var(--issste-accent); filter: brightness(.94); }
.domain-selector:focus-visible { outline: 2px solid var(--issste-text); outline-offset: 2px; }
@media (max-width: 599px) {
.platform-title { font-size: 1.125rem; min-width: 0; }
}
.site-header__nav {
align-items: center;
display: flex;