<aside class="dash-sidebar">
    <div class="dash-sidebar-brand">
        <a href="{{ route('user.dashboard') }}">@if(setting("site_logo"))<img src="{{ asset("uploads/settings/" . setting("site_logo")) }}" style="max-height:36px;">@else{{ config("app.name") }}@endif</a>
        <small>Member Area</small>
    </div>

    <a href="{{ route('user.dashboard') }}" class="dash-link {{ request()->routeIs('user.dashboard') ? 'active' : '' }}">
        <span class="dash-link-icon">▣</span> Dashboard
    </a>

    <div class="dash-sidebar-section">Become a Writer</div>
    <a href="{{ route('user.packages.index') }}" class="dash-link {{ request()->routeIs('user.packages.*') ? 'active' : '' }}">
        <span class="dash-link-icon">◆</span> Packages
    </a>
    <a href="{{ route('user.invoices.index') }}" class="dash-link {{ request()->routeIs('user.invoices.*') ? 'active' : '' }}">
        <span class="dash-link-icon">$</span> Invoices
    </a>

    <div class="dash-sidebar-section">Account</div>
    <a href="{{ route('profile.edit') }}" class="dash-link {{ request()->routeIs('profile.*') ? 'active' : '' }}">
        <span class="dash-link-icon">☻</span> My Profile
    </a>
    <a href="{{ url('/') }}" class="dash-link" target="_blank">
        <span class="dash-link-icon">⌂</span> Browse Blogs
    </a>
</aside>
