@extends('back.layout.app') @section('title', __('profil.menu.overview')) @php $breadcrumb = 'profil.overview'; // $breadcrumbParams = [$user]; @endphp @section('content') @include('back.profil.partials.menu')
{{-- Profile Card --}}
@if(auth()->user()->getAvatarUrl()) {{ auth()->user()->fullName }} @else {{ auth()->user()->initials() }} @endif
{{ auth()->user()->fullName }} @if(auth()->user()->name) {{ '@' . auth()->user()->name }} @endif
@if(auth()->user()->infos?->phone)
{{ __('profil.personal_info.phone') }}
{{auth()->user()->infos?->phone}}
@endif
{{ __('profil.overview.role') }}
{{ __('profil.overview.administrator') }} TO DO
{{-- Security Status Card --}}

{{ __('profil.overview.security_apps') }}

{{ __('profil.overview.password_changed') }}
@if(auth()->user()->password_changed_at) {{ auth()->user()->password_changed_at->diffForHumans() }} @else {{ __('profil.password_never_changed') }} @endif
{{ __('profil.overview.two_factor_auth') }}
@if(auth()->user()->two_factor_secret) {{ __('security.two_factor.enabled') }} @else {{ __('security.two_factor.disabled') }} @endif
{{--
{{ __('profil.overview.social_login') }}
{{ __('profil.overview.api_token') }}
@if(auth()->user()->tokens()->exists()) {{ __('profil.overview.active') }} @else {{ __('profil.overview.inactive') }} @endif
--}}
{{-- Address Card --}} @if(auth()->user()->infos && (auth()->user()->infos->city || auth()->user()->infos->adress_1))

{{ __('profil.address.title') }}

@if(auth()->user()->infos->adress_1)
{{ __('profil.address.street') }}
{{ auth()->user()->infos->adress_1 }} @if(auth()->user()->infos->adress_2)
{{ auth()->user()->infos->adress_2 }} @endif
@endif @if(auth()->user()->infos->city)
{{ __('profil.address.city') }}
{{ auth()->user()->infos->city }}
@endif @if(auth()->user()->infos->zipcode)
{{ __('profil.address.zipcode') }}
{{ auth()->user()->infos->zipcode }}
@endif @if(auth()->user()->infos->country)
{{ __('profil.address.country') }}
{{ auth()->user()->infos->country->label() }}
@endif
@endif
{{-- Right Column - Activity (placeholder for future) --}}
@endsection