AcaMate_Web/Program/Layout/MainLayout.razor.cs

12 lines
269 B
C#

using Microsoft.AspNetCore.Components;
namespace Front.Program.Layout;
public partial class MainLayout: LayoutComponentBase
{
[Inject]
NavigationManager Navigation { get; set; } = default!;
protected bool isHideTop => Navigation.Uri.Contains("/auth");
}