autors overview

This commit is contained in:
HolgerHatGarKeineNode
2023-03-15 16:14:14 +01:00
parent 38c5044490
commit fae97b39b6

View File

@@ -4,6 +4,7 @@ namespace App\Http\Livewire\News;
use App\Models\Lecturer; use App\Models\Lecturer;
use Livewire\Component; use Livewire\Component;
use RalphJSmit\Laravel\SEO\Support\SEOData;
class AuthorsOverview extends Component class AuthorsOverview extends Component
{ {
@@ -19,6 +20,12 @@ class AuthorsOverview extends Component
]) ])
->orderByDesc('library_items_count') ->orderByDesc('library_items_count')
->get(), ->get(),
])->layout('layouts.app', [
'SEOData' => new SEOData(
title: __('News articles writer'),
description: __('Click on any of the authors to see their articles.'),
image: asset('img/einundzwanzig-news-colored.png'),
),
]); ]);
} }
} }