initial upload
This commit is contained in:
parent
a0aa9cc28e
commit
f857f43df4
553 changed files with 46169 additions and 13 deletions
29
src/Web/Insight.Web/Components/Navbars/NavSwitch.razor
Normal file
29
src/Web/Insight.Web/Components/Navbars/NavSwitch.razor
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
@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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue