@using System.Reflection;
@inherits ComponentBase

<div class="mt-5">
    <MudNavMenu>
        <CascadingValue Value="RouteValues">
            @if (_content == Content.Account)
            {
                <Account />
            }
            else if (_content == Content.Host)
            {
                <Host />
            }
            else if (_content == Content.Customer)
            {
                <Customer />
            }
            else
            {
                <Main />
            }
        </CascadingValue>
    </MudNavMenu>
</div>

<MudText Typo="Typo.subtitle1" Class="d-flex flex-wrap flex-grow-1 align-content-end justify-center mb-2" Style="opacity: 0.2;">
    @(Assembly.GetEntryAssembly()?.GetName().Version)
</MudText>