using LucideBlazor; using Moonlight.Frontend.Interfaces; using Moonlight.Frontend.Models; namespace Moonlight.Frontend.Implementations; public sealed class SidebarProvider : ISidebarProvider { public Task GetItemsAsync() { return Task.FromResult([ new() { Name = "Overview", IconType = typeof(LayoutDashboardIcon), Path = "/", IsExactPath = true, Order = 0 }, new() { Name = "Overview", IconType = typeof(LayoutDashboardIcon), Path = "/admin", IsExactPath = true, Group = "Admin", Order = 0 }, new() { Name = "Users", IconType = typeof(UsersRoundIcon), Path = "/users", IsExactPath = false, Group = "Admin", Order = 10 }, new() { Name = "System", IconType = typeof(SettingsIcon), Path = "/admin/system", IsExactPath = false, Group = "Admin", Order = 20 } ]); } }