mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
library with grid
This commit is contained in:
@@ -13,6 +13,12 @@ class InternArticleView extends Component
|
||||
|
||||
public function render()
|
||||
{
|
||||
if ($this->libraryItem->type === 'markdown_article') {
|
||||
$description = $this->libraryItem->excerpt ?? __('An entry in the library of Einundzwanzig.');
|
||||
} else {
|
||||
$description = $this->libraryItem->excerpt ?? __('Here we post important news that is relevant for everyone.');
|
||||
}
|
||||
|
||||
return view('livewire.news.intern-article-view')->layout('layouts.app', [
|
||||
'SEOData' => new SEOData(
|
||||
title: $this->libraryItem->name,
|
||||
|
||||
@@ -683,5 +683,6 @@
|
||||
"Dezentral News": "",
|
||||
"min read": "Minuten Lesedauer",
|
||||
"Here we post important news that is relevant for everyone.": "Hier posten wir wichtige News, die für alle relevant sind.",
|
||||
"Back to overview": "Zurück zur Übersicht"
|
||||
"Back to overview": "Zurück zur Übersicht",
|
||||
"An entry in the library of Einundzwanzig.": "Ein Eintrag in der Bibliothek von Einundzwanzig."
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user