Added base structure

This commit is contained in:
Masu-Baumgartner
2024-08-30 09:15:06 +02:00
parent d5bf1a5e15
commit c4a4fbd221
15 changed files with 782 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
using Moonlight.Client.App.Interfaces;
using Moonlight.Client.App.Models;
namespace MoonlightServers.Client.Implementations;
public class ServersSidebarProvider : ISidebarItemProvider
{
public SidebarItem[] GetItems()
{
return [new ()
{
Name = "Servers",
Target = "/servers",
Icon = "bi bi-hdd-rack",
Priority = 5
},
new()
{
Name = "Servers",
Target = "/admin/servers",
Priority = 5,
Icon = "bi bi-hdd-rack",
Group = "Admin",
Permission = "admin.servers.get"
}];
}
}