You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
579 B
26 lines
579 B
using HeartTrack.Services;
|
|
using Microsoft.AspNetCore.Components.Authorization;
|
|
using Microsoft.AspNetCore.Components;
|
|
|
|
namespace HeartTrack.Shared
|
|
{
|
|
public partial class MainLayout
|
|
{
|
|
[Inject]
|
|
public NavigationManager NavigationManager { get; set; }
|
|
|
|
private bool collapseNavMenu = true;
|
|
|
|
private string? NavMenuCssClass => collapseNavMenu ? "collapse" : null;
|
|
|
|
private void ToggleNavMenu()
|
|
{
|
|
collapseNavMenu = !collapseNavMenu;
|
|
}
|
|
private void ToggleProfilMenu()
|
|
{
|
|
|
|
}
|
|
}
|
|
}
|