@extends('layouts.app') @section('callScripts') @endsection @section('content') @if (Auth::user()->image) @php $avatar = asset(Auth::user()->image->url()) @endphp @else @php $avatar = "https://upload.wikimedia.org/wikipedia/commons/8/89/Portrait_Placeholder.png" @endphp @endif {{ Auth::user()->name }} Se déconnecter @csrf @yield('main') @endsection