{{-- resources/views/points/search.blade.php --}} @extends('layouts.base') @php $token = $p->serial ?? null; $favoriteIds = []; if (auth()->check()) { // Récupère les IDs de points favoris de l'utilisateur connecté $favoriteIds = auth()->user() ->favoritePoints() ->pluck('points.id') // ou ->pluck('point_id') selon ta relation ->all(); } $photoUrl = !empty($user->photo) ? Storage::disk('public')->url($user->photo) : null; @endphp @include('partials.bottom_nav', [ 'bottomTabs' => [ [ 'icon' => "map_picto.svg", 'label' => __('Map'), 'href' => lr('map'), ], [ 'icon' => "addV_picto.svg", 'label' => __('Create a waypoint'), 'href' => lr('map'), 'primary' => true, ], [ 'icon' => "myV_picto.svg", 'label' => __('My waypoints'), 'href' => lr('search') ], ], ]) @section('title','Mes waypoints') @section('content')
{{ $user->email }}
--}}