@extends('layouts.site', [ 'header' => 'partials.header-demo1', 'footer' => 'partials.footer', ]) @section('content') @php $awards = \App\Models\Award::active()->ordered()->get(); // Extracted categories from active awards for dynamic filter options $categories = $awards->pluck('category')->unique()->toArray(); $heroTitle = $page ? ($page->translate('title') ?: $page->title) : t('Ödüllerimiz ve Başarılarımız'); $heroExcerpt = $page ? ($page->translate('excerpt') ?: $page->excerpt) : t('Yenilikçi teknolojilerimizle sektöre yön veriyor, başarılarımızı küresel ödüllerle taçlandırıyoruz.'); // Timeline color palette mapping for elegant signature styles $colors = [ 'hackathon' => '#e31e24', 'export' => '#2980b9', 'innovation' => '#27ae60', 'design' => '#8e44ad', 'general' => '#f5a623' ]; $rgbColors = [ 'hackathon' => '227, 30, 36', 'export' => '41, 128, 185', 'innovation' => '39, 174, 96', 'design' => '142, 68, 173', 'general' => '245, 166, 35' ]; $heroTitleBefore = t('Başarılarımızı ve ') ?? 'Başarılarımızı ve '; $heroHighlight = t('Ödüllerimizi ') ?? 'Ödüllerimizi '; $heroTitleAfter = t('Taçlandırıyoruz') ?? 'Taçlandırıyoruz'; $heroCtaLabel = t('Ödülleri Keşfet') ?? 'Ödülleri Keşfet'; @endphp @include('components.company-history.fonts')
{{ t('Ödüllerimiz') }}

{{ $heroTitleBefore }}{{ $heroHighlight }}{{ $heroTitleAfter }}

{{ $heroExcerpt }}

@if(count($categories) > 0)
@foreach($categories as $cat) @php $labelKey = 'awards.category_' . $cat; $label = Lang::has($labelKey) ? __($labelKey) : ucfirst($cat); $icon = 'uil-award'; if($cat === 'hackathon') $icon = 'uil-trophy'; elseif($cat === 'export') $icon = 'uil-globe'; elseif($cat === 'innovation') $icon = 'uil-lightbulb'; elseif($cat === 'design') $icon = 'uil-palette'; @endphp @endforeach
@endif
{{ t('BAŞLANGIÇ') }}
@foreach($awards as $index => $award) @php $catType = $award->category ?: 'general'; $color = $colors[$catType] ?? '#f5a623'; $rgb = $rgbColors[$catType] ?? '245, 166, 35'; $position = $index % 2 === 0 ? 'right' : 'left'; $imgSrc = str_starts_with($award->image, 'assets/') ? asset($award->image) : asset('storage/' . $award->image); @endphp
{{ $award->translate('title') }}
{{ $award->category === 'hackathon' ? t('Yarışma') : ($award->category === 'export' ? t('İhracat') : t('Başarı')) }} @if($award->is_featured) {{ t('Öne Çıkan') }} @endif
{{ $award->award_date ? $award->award_date->translatedFormat('d F Y') : '' }}

{{ $award->translate('title') }}

{{ $award->translate('description') }}

{{ $award->translate('issuer') }} @if($award->external_link) {{ t('Doğrula') }} @endif
@endforeach
{{ t('BUGÜN') }}

{{ t('Bu başarıları birlikte kazandık!') }}

{{ t('Geleceği yenilikçi teknolojilerle şekillendiren bu harika ekibin bir parçası olmak, bizimle yeni ödüllere koşmak ister misin?') }}

{{ t('Aramıza Katıl') }}
@push('styles') @endpush @push('scripts') @endpush @endsection