diff --git a/SharpRss/SharpRss.csproj b/SharpRss/SharpRss.csproj
index cdcac24..7fa82cc 100644
--- a/SharpRss/SharpRss.csproj
+++ b/SharpRss/SharpRss.csproj
@@ -9,6 +9,8 @@
+
+
diff --git a/WebSharpRSS/Shared/SideGuide.razor b/WebSharpRSS/Shared/SideGuide.razor
index ba8535e..1d5660d 100644
--- a/WebSharpRSS/Shared/SideGuide.razor
+++ b/WebSharpRSS/Shared/SideGuide.razor
@@ -1,41 +1,58 @@
@using WebSharpRSS.Models
@using MudBlazor.Utilities
+@using CodeHollow.FeedReader
+@using Serilog
-
-
-
- Home
-
-
-
-
-
-
-
-
-
-
-
- @feedContext.Title
-
-
-
-
-
-
-
-
-
+
+
+ Home
+
+
+
+ Categories
+
+ @foreach (CategoryTreeItem cat in Categories)
+ {
+ /* Category item*/
+
+
+ @if (cat.IsExpanded)
+ {
+ foreach (Feed feed in cat.Feeds)
+ {
+ /* Feed item */
+
+
+ @feed.Title
+
+ }
+ }
+
+
+ }
+
+
@code {
public HashSet Categories = new HashSet();
protected override void OnInitialized()
{
- Categories.Add(new CategoryTreeItem() { CategoryTitle = "Test cat.", CategoryIcon = Icons.Material.Filled.RssFeed });
+ Log.Verbose("Setting up test data");
+ Categories.Add(new CategoryTreeItem() { CategoryTitle = "Social", CategoryIcon = Icons.Material.Filled.People });
Categories.Add(new CategoryTreeItem() { CategoryTitle = "Blogs", CategoryIcon = Icons.Material.Filled.RssFeed });
Categories.Add(new CategoryTreeItem() { CategoryTitle = "Tech", CategoryIcon = Icons.Material.Filled.Computer });
Categories.Add(new CategoryTreeItem() { CategoryTitle = "News", CategoryIcon = Icons.Material.Filled.Newspaper });
}
- CategoryTreeItem SelectedItem { get; set; }
+ private void Callback(MudListItem obj)
+ {
+ switch (obj.Value)
+ {
+ case CategoryTreeItem catTreeItem:
+ break;
+ case Feed feed:
+ break;
+ }
+ }
+
}
\ No newline at end of file