@using WebApp.Models
@inject IConfiguration Configuration

<MudPaper Width="250px" Class="d-inline-flex py-3" Elevation="0">
    <MudNavMenu Class="mud-width-full">
        <MudLink Typo="Typo.h6" Href="/" Class="px-4">TSA Chapter Organizer</MudLink>
        <MudText Typo="Typo.body2" Class="px-4 mud-text-secondary">@Configuration["ChapterSettings:Name"]</MudText>
        <MudDivider Class="my-2"/>
        <MudNavLink Href="/events" Icon="@AppIcons.Events">Events</MudNavLink>
        <MudNavLink Href="/students" Icon="@Icons.Material.Filled.People">Students</MudNavLink>

        <MudNavGroup Title="Teams" Icon="@Icons.Material.Outlined.Groups" Expanded="true">
            <MudNavLink Href="/teams" Match="NavLinkMatch.All"  Icon="@AppIcons.Teams">Teams</MudNavLink>
            <MudNavLink Href="/teams/printout" Icon="@Icons.Material.Filled.Print">Print out</MudNavLink>
            <MudNavLink Href="/teams/handout" Icon="@Icons.Material.Filled.Print">Handout</MudNavLink>
        </MudNavGroup>
        <MudNavLink Href="/meeting-schedule/scheduler" Icon="@AppIcons.Scheduler">Schedule</MudNavLink>
        <MudNavGroup Title="Team Building" Icon="@Icons.Material.Filled.GroupAdd" Expanded="true">
            <MudNavLink Href="/students/event-ranking" Icon="@AppIcons.EventRank">Event Ranking</MudNavLink>
            <MudNavLink Href="/teams/assignment" Icon="@AppIcons.TeamAssignment">Team Assignment</MudNavLink>
        </MudNavGroup>
    </MudNavMenu>
</MudPaper>