@extends('layouts.app') @section('title', 'Dashboard') @section('subtitle', 'Welcome back, ' . auth()->user()->name . '!') @section('content')

Welcome back, {{ auth()->user()->name }}!

{{ auth()->user()->company_name ? auth()->user()->company_name . ' • ' : '' }} {{ ucfirst(auth()->user()->role) }} Account

@if(!auth()->user()->is_verified && !auth()->user()->isAdmin())
Awaiting Verification
@endif
@if(auth()->user()->isAdmin())
Total Users
0
Pending Verifications
0
@elseif(auth()->user()->isSeller())
Total Products
{{ $stats['total_products'] ?? 0 }}
Pending Orders
0
@elseif(auth()->user()->isBuyer())
My Orders
0
@elseif(auth()->user()->isLogistics())
Active Shipments
0
@endif

Quick Actions

@if(auth()->user()->isAdmin())

Manage Users

View and manage all users

@endif @if(auth()->user()->isSeller())

Add Product

List new product for sale

@endif @if(auth()->user()->isBuyer())

Browse Marketplace

Find Kenyan products

@endif
@endsection