using LucideBlazor; using Moonlight.Frontend.Infrastructure.Hooks; using Moonlight.Frontend.Infrastructure.Models; using MoonlightServers.Shared; namespace MoonlightServers.Frontend.Infrastructure; public sealed class SidebarProvider : ISidebarProvider { public Task GetItemsAsync() { return Task.FromResult([ new SidebarItem() { Name = "Servers", IconType = typeof(ServerIcon), Path = "/servers" }, new SidebarItem() { Group = "Admin", Name = "Servers", IconType = typeof(ServerIcon), Path = "/admin/servers", Policy = Permissions.Servers.View } ]); } }