From 7e2cd6eff4cd2fa59950498a4b7c602f5325a03d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=9Cmit=20Tun=C3=A7?= Date: Mon, 1 Jun 2026 23:15:54 +0300 Subject: [PATCH] feat: dynamically render partner logos from CMS in digital transformation product page --- .../front/products/dijital-donusum.blade.php | 31 ++++++++++--------- 1 file changed, 17 insertions(+), 14 deletions(-) diff --git a/resources/views/front/products/dijital-donusum.blade.php b/resources/views/front/products/dijital-donusum.blade.php index 200e29d..ae419fd 100644 --- a/resources/views/front/products/dijital-donusum.blade.php +++ b/resources/views/front/products/dijital-donusum.blade.php @@ -110,28 +110,31 @@ {{-- Section 2: Clients --}} + @php + $partnersPage = \App\Models\Page::where('slug', 'cozum-ortaklari')->first(); + $partners = []; + if ($partnersPage && !empty($partnersPage->data['partners'])) { + $partners = array_slice($partnersPage->data['partners'], 0, 5); + } + @endphp + @if(!empty($partners))

BİRLİKTE BAŞARDIK & GÜVENİLİR ÇÖZÜM ORTAKLARI

-
-
Client 1
-
-
-
Client 2
-
-
-
Client 3
-
-
-
Client 4
-
-
-
Client 5
+ @foreach($partners as $partner) + + @endforeach
+ @endif {{-- Section 3: Value Pillars & Interactive Tabs --}}