<div class="top-row pl-4 navbar navbar-dark">
    <a class="navbar-brand" href="">SyncfusionBlazor_HeatMapBug</a>
    <button class="navbar-toggler" @onclick="ToggleNavMenu">
        <span class="navbar-toggler-icon"></span>
    </button>
</div>

<div class="@NavMenuCssClass" @onclick="ToggleNavMenu">
    <ul class="nav flex-column">
        <li class="nav-item px-3">
            <NavLink class="nav-link" href="" Match="NavLinkMatch.All">
                <span class="oi oi-home" aria-hidden="true"></span> Syncfusion Blazor Samples
            </NavLink>
        </li>
    </ul>
 <div class="separator"></div>
    <div class="scroller">
       <ul class="nav flex-column">
       			<li class="nav-item px-3">
 	<NavLink class="nav-link" href="heatmapchart-features">
 	<span class="syncfusion-blazor-icons syncfusion-blazor-icon-heatmapchart" aria-hidden="true"></span>HeatMap Chart
 	</NavLink>
 	</li>

       </ul>
    </div>
</div>
 <style>
        .scroller {
            height: calc(100vh - 160px) !important;
            overflow-y: auto;
            width:287px;
        }

            .scroller::-webkit-scrollbar, scrollbar-thumb
            .scroller::-webkit-scrollbar-thumb {
                width: 8px;
                height: 110px;
                border-radius: 4px;
                position: center;
            }

            .scroller::-webkit-scrollbar-thumb {
                box-shadow: inset 0 0 0 10px #313C75;
                border-radius: 4px;
            }

            .scroller::-webkit-scrollbar-track {
                width: 28px;
            }
	    .separator{
           border:1px solid #FFFFFF;
           opacity:0.14;
           width:247px;
           margin:1rem;
           margin-top:0px;
        }
    </style>
@code {
    private bool collapseNavMenu = true;

    private string NavMenuCssClass => collapseNavMenu ? "collapse" : null;

    private void ToggleNavMenu()
    {
        collapseNavMenu = !collapseNavMenu;
    }
}
