fix: 🐛 restrict brands slider only for 'Providing healthy food' page

This commit is contained in:
Alexis Gousseau 2025-12-19 18:24:22 +01:00
parent b9211058f2
commit bfa65fc5fb

View file

@ -110,7 +110,7 @@
}
}
@endphp
@if(!empty($brands))
@if(!empty($brands) && request()->route()->getName() === "front.dynamic-pages.bien-nourrir.fr")
<x-front.brands-icons.brands-icons :brands="$brands" :title="$section['string_title']" :subtitle="$section['string_subtitle']"
:isOnCommitmentPage="true" />
@else