@extends('layouts.newapp') @section('title', $system->meta_title ?: $system->title) @section('meta_description', $system->meta_description ?: \Illuminate\Support\Str::limit(strip_tags((string) ($system->short_description ?: $system->content)), 160, '')) @section('meta_keywords', $system->meta_keywords ?? '') @section('og_image', $system->image ?? '') @section('og_type', 'product') @section('json_ld') {!! json_encode([ '@context' => 'https://schema.org', '@type' => 'Product', 'name' => $system->title, 'description' => \Illuminate\Support\Str::limit(strip_tags((string) ($system->meta_description ?: $system->short_description ?: $system->content)), 300, ''), 'image' => $system->image ? asset('storage/'.$system->image) : asset('assets/images/logo.png'), 'brand' => ['@type' => 'Brand', 'name' => 'Kenncoat'], 'url' => url()->current(), ], JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES | JSON_PRETTY_PRINT) !!} @endsection @section('content')
{{-- ANA GÖRSEL --}}
{{ $system->title }}
{{-- GALERİ --}} @if(!empty($system->gallery) && is_array($system->gallery)) @endif

{{ $system->title }}

{!! $system->content !!}
@php if (!function_exists('isHtmlEmpty')) { function isHtmlEmpty($html) { return trim(strip_tags($html)) === ''; } } @endphp @php $tabs = []; if(!isHtmlEmpty($system->product_info)) { $tabs['urun'] = 'Ürün Bilgileri'; } if(!isHtmlEmpty($system->application)) { $tabs['uygulama'] = 'Uygulama'; } if(!isHtmlEmpty($system->warnings)) { $tabs['uyarilar'] = 'Uyarılar ve Öneriler'; } $tabs['dokuman'] = ui('tds_tab', 'Teknik Dokümanlar'); @endphp @if(count($tabs))
@if(!empty($system->product_info))
{!! $system->product_info !!}
@endif @if(!empty($system->application))
{!! $system->application !!}
@endif @if(!empty($system->warnings))
{!! $system->warnings !!}
@endif

{{ ui('tds_tab', 'Teknik Dokümanlar') }}

@include('partials.tds-request-form', [ 'itemType' => 'system', 'itemId' => $system->id, 'docs' => is_array($system->technical_docs ?? null) ? $system->technical_docs : [], ])
@endif
@endsection