@extends('layouts.site') @php use Illuminate\Support\Facades\Storage; @endphp @section('title', $product->translate('title') ?? 'Ürün Detayı') @section('meta_description', Str::limit(strip_tags($product->translate('content')), 160)) @php $landingData = $product->landing_page_data ?? []; $hero = $landingData['hero'] ?? []; $features = $landingData['features'] ?? []; $howItWorks = $landingData['how_it_works'] ?? []; $steps = $howItWorks['steps'] ?? []; $video = $landingData['video'] ?? []; $faqs = $landingData['faqs'] ?? []; $currentLang = app()->getLocale(); // Helper function to get translated value with fallback $getTranslated = function($item, $key, $default = '') use ($currentLang) { if (isset($item["{$key}_{$currentLang}"])) { return $item["{$key}_{$currentLang}"]; } return $item[$key] ?? $default; }; $featureBgColors = [ '#fef3e4', '#e1f6f0', '#e9eaf8', '#f8e7ec', '#f0eaf6', '#feece9', '#e0e9fa', '#eaf3ef', ]; $platforms = [ ['name' => 'Android', 'logo' => 'android-copy.png'], ['name' => 'iOS', 'logo' => 'ios.png'], ['name' => 'Windows', 'logo' => 'windows-logo.png'], ['name' => 'macOS', 'logo' => 'apple-logo.png'], ['name' => 'Huawei AppGallery', 'logo' => 'huawei.png'], ['name' => 'Meta Quest', 'logo' => 'meta.png'], ['name' => 'Ubuntu', 'logo' => 'ubuntu.png'], ]; $iconMap = [ 'processor' => 'uil-cube', 'crop' => 'uil-crop-alt-rotate', 'paint' => 'uil-palette', 'image' => 'uil-image', 'cloud' => 'uil-cloud', 'safe' => 'uil-shield-check', 'touchscreen' => 'uil-mobile-android', ]; $whyChoose = [ [ 'icon' => 'uil-mobile-android', 'bg' => '#e6e5f4', 'title' => 'Çoklu Platform Uzmanlığı', 'description' => 'Trunçgil Teknoloji; mobil, masaüstü, VR ve web için Kotlin, Swift, Flutter, .NET ve Unity tabanlı çözümlerle tek ekipten uçtan uca geliştirme sunar.', ], [ 'icon' => 'uil-windows', 'bg' => '#e1f6f0', 'title' => 'Windows ve macOS Uygulamaları', 'description' => 'WinUI, WPF, Electron ve native macOS uygulamalarıyla kurumsal masaüstü yazılımlarınızı güvenli ve ölçeklenebilir şekilde hayata geçiririz.', ], [ 'icon' => 'uil-store', 'bg' => '#f8e7ec', 'title' => 'Mağaza ve Dağıtım Deneyimi', 'description' => 'Google Play, App Store, Microsoft Store, Huawei AppGallery ve Meta Quest Store yayın süreçlerinde politika uyumu ve inceleme hazırlığı sağlarız.', ], [ 'icon' => 'uil-cube', 'bg' => '#fef3e4', 'title' => 'Meta Quest ve VR Geliştirme', 'description' => 'Eğitim, simülasyon ve etkileşimli deneyimler için Meta Quest platformunda performanslı VR uygulamaları geliştiriyoruz.', ], [ 'icon' => 'uil-shield-check', 'bg' => '#e0e9fa', 'title' => 'Kapsamlı Test Süreci', 'description' => 'Birim testleri, entegrasyon testleri ve hedef platformlarda manuel QA ile uygulamanızı yayına hazır hale getiriyoruz.', ], [ 'icon' => 'uil-headphones-alt', 'bg' => '#eaf3ef', 'title' => 'Sürekli Bakım ve Destek', 'description' => 'Yayın sonrası hata düzeltmeleri, işletim sistemi güncellemelerine uyum ve yeni platform sürümleri için yanınızdayız.', ], ]; $testimonials = [ [ 'quote' => 'Mobil uygulamamızı Google Play ve App Gallery\'ye sorunsuz taşıdılar. Çoklu mağaza sürecinde hiç red almadık; her adımda bizi bilgilendirdiler.', 'name' => 'Ahmet Yılmaz', 'role' => 'Kurucu, Perakende Startup', 'bg' => '#f0f0f8', ], [ 'quote' => 'Windows ve macOS sürümlerini mobil uygulamayla aynı tasarım dilinde teslim ettiler. Kurumsal dağıtım paketleri sorunsuz çalışıyor.', 'name' => 'Elif Kaya', 'role' => 'Ürün Müdürü, SaaS Şirketi', 'bg' => '#edf9f6', ], [ 'quote' => 'Android, iOS and Meta Quest versions were launched in coordination. The Trunçgil Teknoloji team kept transparent communication throughout.', 'name' => 'Murat Demir', 'role' => 'CTO, Fintech Venture', 'bg' => '#fef4f2', ], [ 'quote' => 'Yayın sonrası destek sayesinde uygulamamız her yeni işletim sistemi sürümüne sorunsuz uyum sağlıyor. Trunçgil Teknoloji\'ye güveniyoruz.', 'name' => 'Selin Arslan', 'role' => 'Operasyon Direktörü', 'bg' => '#edf2fc', ], [ 'quote' => 'Kurumsal uygulamamızın güvenlik gereksinimlerini tüm platformlarda mükemmel karşıladılar. MDM ve mağaza dağıtımı eksiksiz tamamlandı.', 'name' => 'Can Öztürk', 'role' => 'IT Müdürü, Holding', 'bg' => '#fbf1f4', ], [ 'quote' => 'Prototipten çoklu platform yayınına kadar tüm süreçte yanımızdaydılar. Kullanıcılarımız her cihazda tutarlı bir deneyim yaşıyor.', 'name' => 'Zeynep Aydın', 'role' => 'Pazarlama Müdürü', 'bg' => '#fff8ee', ], ]; $contactUrl = route('page.show', ['slug' => 'iletisim']); @endphp @push('head') @if(!empty($hero['featured_image'])) @endif @endpush @push('styles') @endpush @section('content') {{-- Hero --}} @if(!empty($hero)) @php $slogan = $getTranslated($hero, 'slogan'); $subSlogan = $getTranslated($hero, 'sub_slogan'); // Dynamically split slogan to apply premium gradient class to second half $sloganParts = explode(' ', $slogan); if (count($sloganParts) > 3) { $splitIndex = ceil(count($sloganParts) / 2); $part1 = implode(' ', array_slice($sloganParts, 0, $splitIndex)); $part2 = implode(' ', array_slice($sloganParts, $splitIndex)); $formattedSlogan = $part1 . ' ' . $part2 . ''; } else { $formattedSlogan = $slogan; } @endphp {!! $formattedSlogan !!} @if($subSlogan) {{ $subSlogan }} @endif @if(!empty($hero['featured_image'])) @endif @endif {{-- Features Section --}} @if(!empty($features)) {{ t('Özellikler') }} {{ $product->translate('title') }} {!! t('deneyiminizi') !!} {!! t('kusursuzlaştırmak için') !!} {!! t('tasarlandı.') !!} @foreach($features as $index => $feature) @php $featureTitle = $getTranslated($feature, 'title'); $rawIcon = $feature['icon'] ?? 'processor'; $iconClass = $iconMap[$rawIcon] ?? 'uil-cube'; @endphp {{ $featureTitle }} @endforeach @endif {{-- How It Works --}} @if(!empty($howItWorks) && !empty($steps)) @php $howItWorksLabel = $getTranslated($howItWorks, 'download_form_label'); // Determine side illustration: screenshot 2 (cropper) is excellent, else featured image, else generic $processImage = !empty($howItWorks['download_image']) ? Storage::url($howItWorks['download_image']) : (Storage::exists('public/products/dekupai-ss2.png') ? Storage::url('products/dekupai-ss2.png') : (!empty($hero['featured_image']) ? Storage::url($hero['featured_image']) : asset('assets/img/illustrations/app-dev/app-dev-process.png'))); @endphp {{ t('Çalışma Prensibi') }} {!! t('Sadece') !!} {!! t('dört kolay adımda') !!} {!! t('sonuca ulaşın.') !!} @foreach(array_slice($steps, 0, 2) as $index => $step) {{ str_pad($index + 1, 2, '0', STR_PAD_LEFT) }} {{ $getTranslated($step, 'title') }} {{ $getTranslated($step, 'description') }} @endforeach @foreach(array_slice($steps, 2, 2) as $index => $step) {{ str_pad($index + 3, 2, '0', STR_PAD_LEFT) }} {{ $getTranslated($step, 'title') }} {{ $getTranslated($step, 'description') }} @endforeach @endif {{-- Description Section --}} @php $productContent = $product->translate('content'); @endphp @if(!empty($productContent)) {!! $productContent !!} @endif {{-- Video Section --}} @if(!empty($video['youtube_video_id']) || !empty($video['local_video_path'])) @if(!empty($video['youtube_video_id'])) @else Your browser does not support the video tag. @endif @endif {{-- FAQ Section --}} @if(!empty($faqs)) {{ t('Sık Sorulan Sorular') }} {!! t('Merak') !!} {!! t('ettikleriniz') !!} @foreach(array_slice($faqs, 0, ceil(count($faqs) / 2)) as $index => $faq) {{ $getTranslated($faq, 'question') }} {!! nl2br(e($getTranslated($faq, 'answer'))) !!} @endforeach @foreach(array_slice($faqs, ceil(count($faqs) / 2)) as $index => $faq) {{ $getTranslated($faq, 'question') }} {!! nl2br(e($getTranslated($faq, 'answer'))) !!} @endforeach @endif {{-- Why Choose Trunçgil Teknoloji --}} {{ t('Neden Trunçgil Teknoloji?') }} {!! t('Projelerinizde başarılı olmanız için') !!} {!! t('6 güçlü neden') !!} @foreach($whyChoose as $item) {!! t($item['title']) !!} {!! t($item['description']) !!} @endforeach {{-- Testimonials --}} {{ t('Mutlu Müşteriler') }} {!! t('Trunçgil Teknoloji ile çalışan müşterilerimizin') !!} {!! t('deneyimleri') !!} @foreach($testimonials as $testimonial) {!! t($testimonial['quote']) !!} {!! e($testimonial['name']) !!} {!! t($testimonial['role']) !!} @endforeach {{-- Bottom CTA --}} {{ $product->translate('title') }} {!! t('ile hemen') !!} {!! t('başlayın.') !!} {!! t('Trunçgil Teknoloji ekibi, fikrinizi veya ürününüzü tüm dijital ekosistemlerde en verimli şekilde hayata geçirmek için yanınızda.') !!} {!! t('Projenizi Konuşalım') !!} @endsection
{{ $subSlogan }}
{{ $getTranslated($step, 'description') }}
{!! nl2br(e($getTranslated($faq, 'answer'))) !!}
{!! t($item['description']) !!}
{!! t($testimonial['quote']) !!} {!! e($testimonial['name']) !!} {!! t($testimonial['role']) !!}
{!! t($testimonial['quote']) !!}
{!! e($testimonial['name']) !!}
{!! t($testimonial['role']) !!}
{!! t('Trunçgil Teknoloji ekibi, fikrinizi veya ürününüzü tüm dijital ekosistemlerde en verimli şekilde hayata geçirmek için yanınızda.') !!}