{{ $release->title }}
@if (filled($lead)){{ $lead }}
@endif{{ $boilerplate }}
@endif {{ $companyName }}
Mehr von {{ $companyName }}
@foreach ($companyReleases as $companyRelease)
Verwandte Meldungen
@foreach ($relatedReleases as $relatedRelease)
@extends('web.layouts.web-master') @php use Illuminate\Support\Str; \Carbon\Carbon::setLocale('de'); $company = $release->company; $categoryTranslation = $release->category?->translations?->firstWhere('locale', 'de') ?? $release->category?->translations?->first(); $categoryName = $categoryTranslation?->name; $categorySlug = $categoryTranslation?->slug; $categoryHref = $categorySlug ? route('kategorie', ['slug' => $categorySlug]) : route('web.home'); $parentTranslation = $release->category?->parent?->translations?->firstWhere('locale', 'de') ?? $release->category?->parent?->translations?->first(); $parentName = $parentTranslation?->name; $parentSlug = $parentTranslation?->slug; $parentHref = $parentSlug ? route('kategorie', ['slug' => $parentSlug]) : route('web.home'); $publishedAt = $release->published_at; $embargoAt = $release->embargoAtLocal(); $bodyHtml = $release->renderedText(); $wordCount = str_word_count(strip_tags((string) $release->text)); $readTime = max(1, (int) round($wordCount / 200)); $teaser = (string) Str::of(strip_tags((string) $release->text))->squish()->limit(180); $lead = filled($release->subtitle) ? $release->subtitle : $teaser; $image = $release->images->first(); $imageUrl = $image?->variantUrl('detail') ?? $image?->variantUrl('card') ?? $image?->url(); $imageCaption = $image?->description ?: $image?->title; $imageCredit = $image?->copyright ?: $image?->author; $companyName = $company?->name; $companyInitial = $companyName ? mb_strtoupper(mb_substr($companyName, 0, 1)) : '·'; $companyHref = $company?->slug ? route('newsrooms').'#'.$company->slug : route('newsrooms'); $countryNames = ['DE' => 'Deutschland', 'AT' => 'Österreich', 'CH' => 'Schweiz']; $companyCountry = $company?->country_code ? ($countryNames[strtoupper($company->country_code)] ?? null) : null; $boilerplate = filled($release->boilerplate_override) ? $release->boilerplate_override : $company?->boilerplate; $keywords = collect(preg_split('/[,;\n]+/', (string) $release->keywords)) ->map(fn ($keyword) => trim($keyword)) ->filter() ->unique() ->take(8); $contact = $release->contacts->first(); $contactName = $contact ? trim(implode(' ', array_filter([$contact->title, $contact->first_name, $contact->last_name]))) : null; $publisherVerified = (bool) ($company?->is_active && filled($company?->website)); $isRecommended = $release->content_score !== null && $release->content_score >= 80; $shareUrl = route('release.detail', ['slug' => $release->slug]); $brandLabel = config('app.theme') === 'presseecho' ? 'presseecho' : 'businessportal24'; @endphp @section('title', $release->title.' – '.$brandLabel) @section('meta_description', $lead) @section('og_type', 'article') @if ($imageUrl) @section('og_image', $imageUrl) @endif @section('canonical', $shareUrl) @section('content') {{-- Lese-Fortschrittsbalken --}}
{{ $lead }}
@endif{{ $boilerplate }}