Add tests for featured thumbnail generation; apply Pint formatting and related edits

This commit is contained in:
2026-05-06 18:55:40 +02:00
parent 7a8bc8e22a
commit 82f2b1f660
65 changed files with 11325 additions and 49545 deletions

View File

@@ -11,6 +11,22 @@
(object) ['name' => 'Announcements', 'url' => route('news.index')],
(object) ['name' => $archiveDate->format('F Y'), 'url' => route('news.archive', ['year' => $archiveDate->year, 'month' => $archiveDate->month])],
]);
$seo = \App\Support\Seo\SeoDataBuilder::fromArray([
'title' => $archiveDate->format('F Y') . ' — News Archive',
'description' => 'News archive for ' . $archiveDate->format('F Y') . ' on Skinbase.',
'canonical' => route('news.archive', ['year' => $archiveDate->year, 'month' => $archiveDate->month]),
'breadcrumbs' => $headerBreadcrumbs,
'structured_data' => [
[
'@context' => 'https://schema.org',
'@type' => 'CollectionPage',
'name' => $archiveDate->format('F Y') . ' — News Archive',
'description' => 'Published News stories from ' . $archiveDate->format('F Y') . '.',
'url' => route('news.archive', ['year' => $archiveDate->year, 'month' => $archiveDate->month]),
],
],
])->build();
@endphp
<x-nova-page-header