@php $useUnifiedSeo = true; $seo = \App\Support\Seo\SeoDataBuilder::fromArray( app(\App\Support\Seo\SeoFactory::class)->fromViewData(get_defined_vars()) )->build(); @endphp @extends('layouts.nova') @section('meta-description', $meta['description'] ?? '') @section('content')

Nova Cards

{{ $heading }}

{{ $subheading }}

@if(!empty($challengeEntryItems ?? []))

Entries

@auth @if(!empty($challenge ?? null)) @endif @endauth
@foreach($challengeEntryItems as $entry)
@include('cards.partials.tile', ['card' => $entry['card']]) @auth @endauth
@endforeach
@endif
@foreach(($challenges ?? collect()) as $challengeItem)
{{ strtoupper($challengeItem->status) }}

{{ $challengeItem->title }}

@if($challengeItem->featured) Featured @endif
@if($challengeItem->prompt)

{{ $challengeItem->prompt }}

@endif @if($challengeItem->description)

{{ $challengeItem->description }}

@endif
{{ number_format((int) $challengeItem->entries_count) }} entries {{ optional($challengeItem->starts_at)->format('M j, Y') ?: 'Open date TBD' }}
View challenge @auth @endauth
@endforeach
@endsection @push('scripts') @endpush