Recreated plugin with new project template. Started implementing server system daemon
This commit is contained in:
21
MoonlightServers.Frontend/Implementations/SidebarProvider.cs
Normal file
21
MoonlightServers.Frontend/Implementations/SidebarProvider.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using LucideBlazor;
|
||||
using Moonlight.Frontend.Interfaces;
|
||||
using Moonlight.Frontend.Models;
|
||||
|
||||
namespace MoonlightServers.Frontend.Implementations;
|
||||
|
||||
public sealed class SidebarProvider : ISidebarProvider
|
||||
{
|
||||
public Task<SidebarItem[]> GetItemsAsync()
|
||||
{
|
||||
return Task.FromResult<SidebarItem[]>([
|
||||
new SidebarItem()
|
||||
{
|
||||
Group = "Demo",
|
||||
Name = "Demo",
|
||||
IconType = typeof(SparklesIcon),
|
||||
Path = "/demo"
|
||||
}
|
||||
]);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user