@php $useUnifiedSeo = true; $seo = \App\Support\Seo\SeoDataBuilder::fromArray( app(\App\Support\Seo\SeoFactory::class)->fromViewData(get_defined_vars()) ) ->addJsonLd([ '@context' => 'https://schema.org', '@type' => 'CollectionPage', 'name' => $collection['name'], 'description' => $meta['description'] ?? $collection['description'], 'url' => $meta['canonical'] ?? $collection['public_url'], 'creator' => [ '@type' => 'Person', 'name' => data_get($collection, 'owner.username'), ], 'mainEntity' => collect($collection['items'] ?? [])->map(fn ($item) => [ '@type' => 'CreativeWork', 'name' => data_get($item, 'card.title'), 'url' => data_get($item, 'card.public_url'), ])->values()->all(), ]) ->build(); @endphp @extends('layouts.nova') @section('meta-description', $meta['description'] ?? '') @section('content') {{ $collection['cards_count'] }} cards @if(!empty($collection['official'])) Official @endif {{ $collection['name'] }} {{ $collection['description'] ?: 'A curated Nova Cards collection.' }} Curated by @{{ $collection['owner']['username'] }} @if(empty($collection['items'])) No public cards in this collection yet Cards added here will appear once they are public and approved. @else @foreach($collection['items'] as $item) @include('cards.partials.tile', ['card' => $item['card']]) @if(!empty($item['note'])) {{ $item['note'] }} @endif @endforeach @endif @endsection
{{ $collection['description'] ?: 'A curated Nova Cards collection.' }}
Cards added here will appear once they are public and approved.