@auth
Início
Projetos
@php // Define a rota baseada na URL atual $routePlus = null; if (request()->is('projetos*')) { $routePlus = route('projetos.create'); } elseif (request()->is('dashboard*')) { $routePlus = route('projetos.create'); } elseif (request()->is('tarefas*')) { $routePlus = route('tarefas.create', isset($projeto->id) ? ['id' => $projeto->id] : []); } elseif (request()->is('pessoas*')) { $routePlus = route('pessoas.create'); } @endphp @if($routePlus)
@endif
Tarefas
Clientes
@endauth
@auth @endauth @if(request()->is('dashboard') || request()->is('/'))

Olá, {{ auth()->user()->name }}

Bem-vindo de volta!

Saldo do Mês

R$ {{ number_format($saldoMes, 2, ',', '.') }}

@endif
@yield('content')