@php use Illuminate\Support\Str; $sponsorLabel = $chrome['hero.cta_sponsor']; // Social share targets (prefer the short link when the fundraiser has one). $sUrl = $shortUrl ?: $shareUrl; $enc = rawurlencode($sUrl); $socials = [ ['fb', 'fa-brands fa-facebook-f', 'Facebook', 'https://www.facebook.com/sharer/sharer.php?u='.$enc], ['wa', 'fa-brands fa-whatsapp', 'WhatsApp', 'https://wa.me/?text='.$enc], ['x', 'fa-brands fa-x-twitter', 'X', 'https://twitter.com/intent/tweet?url='.$enc], ['li', 'fa-brands fa-linkedin-in', 'LinkedIn', 'https://www.linkedin.com/sharing/share-offsite/?url='.$enc], ['tg', 'fa-brands fa-telegram', 'Telegram', 'https://t.me/share/url?url='.$enc], ['em', 'fa-light fa-envelope', 'Email', 'mailto:?subject='.rawurlencode($fullName.' — '.$eventName).'&body='.$enc], ]; @endphp @php $ogImageUrl = $ogImage ? (Str::startsWith($ogImage, 'http') ? $ogImage : url(Str::start($ogImage, '/'))) : null; @endphp @if ($ogImageUrl) @endif
{{-- ===================== HERO ===================== --}}
@if ($authorised) {{ $fullName }} · {{ $uIdent }} @endif

{{ $firstName }} {{ $chrome['hero.headline'] }} {{ $chrome['hero.headline_accent'] }}

{{ $chrome['hero.lead'] }}

€{{ number_format($raised, 0) }}
raised of €{{ number_format($goal, 0) }} goal
{{ $pct }}%
{{ $donors }} {{ Str::plural('donor', $donors) }}
{{-- ===================== DONATE ===================== --}} {{-- ===================== STORY ===================== --}}
{{ $chrome['story.eyebrow'] }}
@if ($storyPhoto)
{{ $firstName }}
@else
@endif
@if ($storyHtml !== '') {!! $storyHtml !!} @else

Thank you for supporting my {{ $eventName }} — together we’re funding youth mental health awareness and suicide prevention.

@endif

{{ $signoff }}
{{ $firstName }}

  {{ $sponsorLabel }}
{{-- ===================== SHARE (directly under story) ===================== --}}
{{ $chrome['share.eyebrow'] }}

{{ $chrome['share.lede'] }}

{{ $displayUrl }}
@if ($shortUrl)
{{ $shortDisplay }}
@endif
@if ($qrSvg !== '')
{!! $qrSvg !!}
{{ $chrome['share.qr_caption'] }}
@endif
{{-- ===================== PROGRESS + DETAILS ===================== --}}
{{ $chrome['progress.eyebrow'] }} @if ($overGoal) Goal smashed @else {{ $pct }}% there @endif
€{{ number_format($raised, 0) }}
Raised
€{{ number_format($toGo, 0) }}
To go
€{{ number_format($goal, 0) }}
Goal
€0€{{ number_format($goal, 0) }}
Goal
€{{ number_format($goal, 0) }}
Raised
€{{ number_format($raised, 0) }}
{{ $chrome['details.eyebrow'] }}
  • My goal€{{ number_format($goal, 2) }}
  • Donations received€{{ number_format($raised, 2) }}
  • Still to raise€{{ number_format($toGo, 2) }}
  • Donors{{ $donors }} {{ Str::plural('person', $donors) }}
  • Event{{ $eventName }}
  • @if ($authorised)
  • Status Authorised
  • @endif
  • Authorisation{{ $authCode }}
{{-- ===================== SPONSOR MESSAGES ===================== --}}
{{ $chrome['messages.eyebrow'] }} @if ($wall->isNotEmpty())
@foreach ($wall as $msg)
{{ $msg->donorName }} @if ($msg->occurredAt){{ $msg->occurredAt->format('j M Y') }}@endif

{{ $msg->message }}

@endforeach
@else

{{ $chrome['messages.empty'] }}

@endif
{{-- ===================== DONATE BAND ===================== --}}
{{-- ===================== SPONSOR MODAL (D3 pre-checkout form) ===================== D88: not rendered at all once the central Collector is switched on — the Sponsor buttons link straight to it, so this site's own checkout is unreachable. --}} @unless ($collectorSponsorUrl) @endunless {{-- ===================== STICKY MOBILE TABS ===================== --}}