@extends('layouts.app', ['class' => 'g-sidenav-show bg-gray-100']) {{-- section content --}} @section('content') @include('layouts.navbars.auth.topnav', ['title' => 'Profile']) @php $roles = collect(explode(',', (string) $user_login->idroles)) ->map(fn($r) => strtolower(trim($r))) ->filter() ->values() ->all(); @endphp @if (in_array('admin', $roles, true) || in_array('pembim', $roles, true))
{{ session('username') }}