@extends('layout.guest') @section('content')
@php $userImagePath = 'storage/' . Auth::user()->image; // dd($userImagePath); $photoPath = url($userImagePath); $fullPhotoPath = $userImagePath ? $userImagePath : asset('images/doctor-1.png'); @endphp @if (Auth::user()->image) user-image @else No Image @endif
{{ Auth::user()->name }}
{{ Auth::user()->role }}
Profile Anda
Nama
{{ Auth::user()->name }}
Email
{{ Auth::user()->email }}
Role
{{ Auth::user()->role }}

@include('sweetalert::alert') @endsection {{-- --}} @section('styles') @endsection @section('scripts') @endsection