@php $signNames = [ 'Aries', 'Tauro', 'Géminis', 'Cáncer', 'Leo', 'Virgo', 'Libra', 'Escorpio', 'Sagitario', 'Capricornio', 'Acuario', 'Piscis', ]; @endphp
@if (empty($dominantPlanets))
{{ t('dominant-planets-not-found') }}
@else {{-- İlk 3: Podium (Altın / Gümüş / Bronz) --}} {{--
@foreach (array_slice($dominantPlanets, 0, 3) as $i => $p) @php $rankColors = ['#D4AF37', '#A0A0A0', '#CD7F32']; $rankLabels = ['1.', '2.', '3.']; $rankColor = $rankColors[$i] ?? '#666'; @endphp
{{ $rankLabels[$i] }}
{{ $p['sym'] }}
{{ $p['name'] }}
{{ $p['score'] }} puan
{{ $signNames[$p['sign_idx']] ?? '?' }} {{ $p['house'] }}. Ev
@php $bd = $p['breakdown']; $total = max( 1, abs($bd['essential']) + abs($bd['accidental']) + abs($bd['aspectual']) + abs($bd['special']), ); @endphp
@if (($bd['essential'] ?? 0) > 0)
@endif @if (($bd['accidental'] ?? 0) > 0)
@endif @if (($bd['aspectual'] ?? 0) > 0)
@endif @if (($bd['special'] ?? 0) > 0)
@endif
Konum Ev Açılar Özel
@endforeach
--}} {{-- dominant-planets.blade.php içindeki podyum kısmı --}}
@foreach (array_slice($dominantPlanets, 0, 3) as $i => $p) @php // i=0 (1.lik), i=1 (2.lik), i=2 (3.lük) $rankConfigs = [ 0 => ['color' => '#D4AF37', 'label' => '1.', 'class' => 'rank-1', 'order' => 2], 1 => ['color' => '#A0A0A0', 'label' => '2.', 'class' => 'rank-2', 'order' => 1], 2 => ['color' => '#CD7F32', 'label' => '3.', 'class' => 'rank-3', 'order' => 3], ]; $config = $rankConfigs[$i]; @endphp
{{ $config['label'] }}
{{ $p['sym'] }}
{{ $p['name'] }}
{{ $p['score'] }} {{ t('point') }}
{{ $signNames[$p['sign_idx']] ?? '?' }} {{ $p['house'] }}. {{ t('house') }}
{{-- Mini breakdown bar --}} {{--
@php $bd = $p['breakdown']; $total = max( 1, abs($bd['essential']) + abs($bd['accidental']) + abs($bd['aspectual']) + abs($bd['special']), ); @endphp
@if (($bd['essential'] ?? 0) > 0)
@endif @if (($bd['accidental'] ?? 0) > 0)
@endif @if (($bd['aspectual'] ?? 0) > 0)
@endif @if (($bd['special'] ?? 0) > 0)
@endif
Konum Ev Açılar Özel
--}}
@endforeach
{{-- Detay kısmı --}} @if (!empty($dominantPlanets[0]['details']))
{{ $dominantPlanets[0]['name'] }}: {{ $dominantPlanets[0]['details'] }}
@endif {{-- Kalan gezegenler (4+): kompakt liste --}} @if (count($dominantPlanets) > 3)
@foreach (array_slice($dominantPlanets, 3) as $j => $p)
{{ $j + 4 }}.
{{ $p['sym'] }} {{ $p['name'] }}
{{ $p['score'] }}
@endforeach
@endif {{-- Açı sayısı notu + tablo butonu --}} @if (!empty($dominantPlanets[0]))
{{ t('most-active') }}: {{ $dominantPlanets[0]['name'] }} ({{ $dominantPlanets[0]['aspect_count'] }} {{ t('aspects_count', 'aspects') }})
@endif @endif
{{-- Detay tablo modalı --}} @if (!empty($dominantPlanets)) @endif