Implement academy analytics, billing, and web stories updates

This commit is contained in:
2026-05-26 07:27:29 +02:00
parent 456c3d6bb0
commit 0b33a1b074
177 changed files with 27360 additions and 2685 deletions

View File

@@ -35,6 +35,7 @@
'thumbnailUrl' => $article->cover_mobile_url,
'caption' => $article->title,
'creditText' => $articleImageCreditText,
'copyrightNotice' => $articleImageCreditText,
'license' => $articleImageLicenseUrl,
'acquireLicensePage' => $articleImageLicenseUrl,
'creator' => [
@@ -63,8 +64,14 @@
'thumbnailUrl' => $article->cover_mobile_url,
'caption' => $article->title,
'creditText' => $articleImageCreditText,
'copyrightNotice' => $articleImageCreditText,
'license' => $articleImageLicenseUrl,
'acquireLicensePage' => $articleImageLicenseUrl,
'creator' => [
'@type' => 'Organization',
'name' => $articleImageCreditText,
'url' => url('/'),
],
], fn (mixed $value): bool => $value !== null && $value !== '')
: null,
'datePublished' => $article->published_at?->toIso8601String(),
@@ -73,6 +80,9 @@
'author' => array_filter([
'@type' => 'Person',
'name' => $article->author?->name,
'url' => $article->author?->username
? route('profile.show', ['username' => $article->author->username])
: null,
]),
'publisher' => [
'@type' => 'Organization',