# Shared Layouts ## App Shell Source: `src/app/core/layout/shell/` The authenticated team workspace has a green Material toolbar with an optional team-switcher menu, a scrolling content area, and a persistent four-item mobile bottom navigation. ```html @if (myTeams().length > 1) { @for (team of myTeams(); track team.id) { } } @else { {{ currentTeam()?.name ?? 'TeamWallet' }} }
``` ```scss :host { display: flex; flex-direction: column; height: 100dvh; } .shell-header { background-color: var(--mat-sys-primary); color: var(--mat-sys-on-primary); } .shell-team-switcher { color: var(--mat-sys-on-primary); } .shell-content { flex: 1; overflow-y: auto; } .shell-bottom-nav { display: flex; border-top: 1px solid var(--mat-sys-outline-variant); background: var(--mat-sys-surface); } .shell-bottom-nav__item { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 0.15rem; padding: 0.5rem 0; color: var(--mat-sys-on-surface-variant); text-decoration: none; font-size: 0.75rem; } .shell-bottom-nav__item.active { color: var(--mat-sys-primary); } ```