@extends('layouts.app') @section('content')
{{ $user->email }}
@if($user->roles->isNotEmpty()){{ $user->bio }}
Member since {{ $user->created_at->format('F Y') }}
@if($products->total() > 0) Showing {{ $products->count() }} of {{ $products->total() }} {{ Str::plural('product', $products->total()) }} @else No products yet @endif
{{ Auth::id() === $user->id ? "You haven't submitted any products yet." : "{$user->name} hasn't submitted any products yet." }}
@auth @if(Auth::id() === $user->id) @endif @endauth