Files
IGP-Fan-Reference/Components/Navigation/DesktopNavSectionComponent.razor
T
2025-04-27 19:34:50 -04:00

30 lines
567 B
Plaintext

<div class="sectionContainer">
@foreach (var childPage in Section.WebPageModels)
{
if (childPage.IsPrivate.Equals("True"))
{
continue;
}
<DesktopNavLinkComponent Page=childPage></DesktopNavLinkComponent>
}
</div>
<style>
.sectionContainer {
display: flex;
flex-direction: column;
gap: 4px;
justify-content: flex-start;
position: relative;
width: 100%;
}
</style>
@code {
[Parameter] public WebSectionModel Section { get; set; } = default!;
}