update news & events

This commit is contained in:
2025-10-22 09:41:40 +07:00
parent 40cf6fe6f4
commit 8f81545293
348 changed files with 111475 additions and 623 deletions

View File

@ -0,0 +1,44 @@
@using AppLibs.Libs
@{
List<NavItem> t = await WSNavigation.GetListMenu();
}
@foreach (var i in t)
{
@if (i.IsGroup)
{
<div class="nav-header">
@i.Name
</div>
}
else if (i.SubItem == null)
{
<a class="nav-i d-f" href="@i.Url" app-nav nav-id="@i.ID">
<span class="atg atg-@i.Icon mr-2">
</span>
<span>@i.Name</span>
</a>
}
else
{
<div class="nav-i has-sub d-f f-c" data-dropdown>
<a class="nav-i d-f" href="javascript:void(0)">
<span class="atg atg-@i.Icon mr-2">
</span>
<span>@i.Name</span>
<div class="more"><span class="atg atg-more"></span></div>
</a>
<div class="sub-item d-f f-c">
@foreach (var j in i.SubItem)
{
<a class="nav-i d-f nonhide" href="@j.Url" app-nav nav-id="@j.ID" nav-sub>
<span class="atg atg-circle mr-2"></span>
<span>@j.Name</span>
</a>
}
</div>
</div>
}
}