@extends('layouts.app') @php // Anzeige-Sprache aus dem ersten URL-Segment (/en|/de); Standard = de. $siteLocale = in_array(request()->segment(1), ['de', 'en'], true) ? request()->segment(1) : 'de'; $en = $siteLocale === 'en'; $t = fn ($de, $enText) => $en ? $enText : $de; $apps = collect($apps ?? []); $total = $apps->count(); $categories = $apps->pluck('genre')->filter()->unique()->sort()->values(); $hasIos = $apps->where('kind', 'ios')->isNotEmpty(); $hasMac = $apps->where('kind', 'mac')->isNotEmpty(); $rel = fn ($d) => $d ? \Illuminate\Support\Carbon::parse($d)->locale($siteLocale)->diffForHumans() : ''; @endphp @section('title', $t('Apps für iPhone, iPad & Mac | Arthur Kotsch', 'Apps for iPhone, iPad & Mac | Arthur Kotsch')) @section('meta_description', $t('Alle Apps von Arthur Kotsch — live aus dem App Store, mit echten Icons & Screenshots. Suchen & nach Kategorie filtern.', 'All of Arthur Kotsch’s apps — live from the App Store, with real icons & screenshots. Search & filter by category.')) @section('content')
iOS & macOS · App Store

{{ $t('Apps für', 'Apps for') }} iPhone, iPad & Mac.

{{ $t('Alle meine Apps —', 'All my apps —') }} {{ $t('live aus dem App Store', 'live from the App Store') }}{{ $t(', mit echten Icons & Screenshots.', ', with real icons & screenshots.') }}

@if($total){{ $total }} {{ $t('Apps live', 'apps live') }}@endif
@if($total === 0)

{{ $t('Apps werden gerade geladen …', 'Loading apps …') }}

{{ $t('Der App-Store-Abruf ist kurz nicht erreichbar.', 'The App Store request is briefly unavailable.') }}

@else
@if($hasIos)@endif @if($hasIos)@endif @if($hasMac)@endif
@foreach($categories as $c) @endforeach
{{-- Unsichtbarer Abschnitts-Titel verankert die Card-Überschriften (h3), damit die Heading-Reihenfolge h1→h2→h3 keine Stufe überspringt (M45). --}}
@foreach($apps as $app) @include('apple._app_card', ['app' => $app, 'rel' => $rel, 'lp' => $en ? 'en/' : '']) @endforeach
@endif @endsection