@extends('layouts.app')
@section('content')
@php
$q = $q ?? '';
$heroStats = $heroStats ?? null;
$heroIcon = $current ? $current->icon : 'grid';
$heroTitle = $current ? $current->name : ($q !== '' ? 'Search results' : 'Campaigns that matter');
$heroLead = $current ? $current->summary : 'Choose a cause close to your heart and make a difference today.';
@endphp
{{ $current ? 'Cause' : 'Our campaigns' }} {{ $heroLead }} {{ $current->intro }}
Secure payments
Instant receipt
Open reporting
{{ $heroTitle }}
@endif
{{ $causes->total() }} {{ \Illuminate\Support\Str::plural('campaign', $causes->total()) }} found for “{{ $q }}” · Clear search
@endif @if ($causes->isEmpty())No campaigns match “{{ $q }}”. Try another word, browse every campaign, or give where it is needed most.
@elseNo causes are listed here yet. Please check back soon, or make a general donation.
@endifMore ways to help