Nav Section with Nav Links Group specfic webpages. Each webpage link is used to navigate to that specific webpage. If on the webpage, the link turns dark gray. It can be clicked again to leave the page and return to home. { new() { Name = "Example Page", Href = "immortal-makingof", IsPrivate = "False" }, new() { Name = "Database", Href = "immortal-database", IsPrivate = "False" } })> <DesktopNavSectionComponent Section=@@(new WebSectionModel{Name = "Example Section"}) Children=@@(new List<WebPageModel>{new WebPageModel{Name="Example Page", Href = "immortal-makingof", IsPrivate = false}, new WebPageModel{Name="Database", Href = "immortal-database", IsPrivate = false}})> </DesktopNavSectionComponent> @@using Model.Website; @@using Model.Website.Enums; <div class="sectionContainer"> <div class="sectionHeader"> <div class="sectionTitle"> @@Section.Name </div> </div> @@foreach (var childPage in Children) { if (childPage.IsPrivate) { continue; } <NavLinkComponent Page=childPage></NavLinkComponent> } </div> <style> .sectionContainer { display: flex; flex-direction: column; gap: 4px; justify-content: flex-start; position: relative; margin-top: 12px; padding: 18px; width: 300px; margin-left: 4px; } .sectionHeader { bottom: 100%; position: absolute; top: 0px; left: -8px; padding-right: 12px; padding-left: 4px; width: 100%; display: flex; line-height: 0px; } .sectionTitle { font-weight: bold; padding-right: 8px; margin-top: -2px; white-space: pre; } </style> @@code { [Parameter] public WebSectionModel? Section { get; set; } [Parameter] public List<WebPageModel>? Children { get; set; } }