@using AIStudio.Settings.DataModel @using AIStudio.Components @using Microsoft.AspNetCore.Components.Routing @using MudBlazor @inherits LayoutComponentBase @if (!this.performingUpdate) { @if (this.SettingsManager.ConfigurationData.App.NavigationBehavior is NavBehavior.EXPAND_ON_HOVER or NavBehavior.ALWAYS_EXPAND) { @foreach (var navBarItem in this.navItems) { @navBarItem.Name } @* The bottom area carries the gap to the window edge once, for whichever of its items are shown: *@ @if (this.showEmbeddingStatusIcon) { @this.embeddingItem.Name } } else { @foreach (var navBarItem in this.navItems) { if (this.SettingsManager.ConfigurationData.App.NavigationBehavior is NavBehavior.NEVER_EXPAND_USE_TOOLTIPS) { } else { } } @* The bottom area carries the gap to the window edge once, for whichever of its items are shown: *@ @if (this.showEmbeddingStatusIcon) { @if (this.SettingsManager.ConfigurationData.App.NavigationBehavior is NavBehavior.NEVER_EXPAND_USE_TOOLTIPS) { } else { } } } } @if (!this.performingUpdate) { @this.Body } @T("Please wait for the update to complete...") @if (this.useDarkMode) { @* Lucide draws its icons with thin strokes, and on a dark background they almost vanish in the red of errors, such as the trash icons. In dark mode, these icons take the lighter red of the palette, as the heart of the supporters does: *@ }