news twitter

This commit is contained in:
Benjamin Takats
2023-01-20 15:14:17 +01:00
parent fafb78bc29
commit f5a9616f09

View File

@@ -18,7 +18,7 @@ class InternArticleView extends Component
title: $this->libraryItem->name, title: $this->libraryItem->name,
description: $this->libraryItem->excerpt ?? __('Here we post important news that is relevant for everyone.'), description: $this->libraryItem->excerpt ?? __('Here we post important news that is relevant for everyone.'),
author: $this->libraryItem->lecturer->name, author: $this->libraryItem->lecturer->name,
image: asset('img/einundzwanzig-wallpaper-benrath.png'), image: $this->libraryItem->getFirstMedia('main') ? $this->libraryItem->getFirstMediaUrl('main') : asset('img/einundzwanzig-wallpaper-benrath.png'),
published_time: Carbon::parse($this->libraryItem->created_at), published_time: Carbon::parse($this->libraryItem->created_at),
type: 'article', type: 'article',
) )