Implement creator studio and upload updates
This commit is contained in:
@@ -1,10 +1,16 @@
|
||||
@extends('layouts.nova')
|
||||
|
||||
@php
|
||||
$page_title = $page_title ?? 'Featured Artworks';
|
||||
$page_meta_description = 'Browse staff-picked and community-highlighted artwork in the shared gallery feed.';
|
||||
$page_canonical = request()->fullUrl();
|
||||
$gallery_type = 'featured';
|
||||
$useUnifiedSeo = true;
|
||||
$featuredBreadcrumbs = collect([
|
||||
(object) ['name' => 'Featured', 'url' => request()->path()],
|
||||
(object) ['name' => $page_title ?? 'Featured Artworks', 'url' => request()->fullUrl()],
|
||||
(object) ['name' => $page_title, 'url' => $page_canonical],
|
||||
]);
|
||||
$breadcrumbs = $featuredBreadcrumbs;
|
||||
|
||||
$galleryArtworks = collect($artworks->items())->map(fn ($art) => [
|
||||
'id' => $art->id,
|
||||
@@ -24,6 +30,9 @@
|
||||
])->values();
|
||||
|
||||
$galleryNextPageUrl = $artworks->nextPageUrl();
|
||||
$seo = \App\Support\Seo\SeoDataBuilder::fromArray(
|
||||
app(\App\Support\Seo\SeoFactory::class)->fromViewData(get_defined_vars())
|
||||
)->build();
|
||||
@endphp
|
||||
|
||||
@section('content')
|
||||
|
||||
Reference in New Issue
Block a user