<?php
    $currentTab = Request::segment(2);
?>

<a class="nav-link px-2 py-1 me-2 {{ $currentTab == 'dashboard' ? 'bg-secondary text-white rounded':'' }}" aria-current="page" href="{{ route('admin.dashboard') }}">
    <i class="fa fa-home"></i>
</a>
<a class="nav-link px-2 py-1 me-2 {{ $currentTab == 'users' ? 'bg-secondary text-white rounded':'' }}" href="{{ route('admin.users') }}">Users</a>
<a class="nav-link px-2 py-1 me-2 {{ $currentTab == 'orders' ? 'bg-secondary text-white rounded':'' }}" href="{{ route('admin.orders') }}">Orders</a>
<a class="nav-link px-2 py-1 me-2 {{ $currentTab == 'payment-methods' ? 'bg-secondary text-white rounded':'' }}" href="{{ route('admin.payment-methods') }}">Payment Methods</a>
<a class="nav-link px-2 py-1 me-2 {{ $currentTab == 'financial-transactions' ? 'bg-secondary text-white rounded':'' }}" href="{{ route('admin.financial-transactions') }}">Financial Transactions</a>
<a class="nav-link px-2 py-1 me-2 {{ $currentTab == 'sessions' ? 'bg-secondary text-white rounded':'' }}" href="{{ route('admin.sessions') }}">Sessions</a>
<a class="nav-link px-2 py-1 me-2 {{ $currentTab == 'user-events' ? 'bg-secondary text-white rounded':'' }}" href="{{ route('admin.user-events') }}">User Events</a>
