Add postcast styling

Add prettyPhoto
This commit is contained in:
Jorit Tijsen
2024-03-18 17:17:54 +01:00
parent 8ce3a1d7b3
commit 742c126a0a
31 changed files with 1284 additions and 361 deletions

View File

@@ -2,12 +2,13 @@
<div class="row">
<div class="post single small_image">
<ul class="post_details clearfix">
<li class="detail date">
<li class="detail date">
<i class="fa-regular fa-clock"></i>
{{Formatter::relativeDate($item->published)}} om {{$item->published->format("H:i")}}
@if($item->edited && ($item->edited->format("d m H i") != $item->published->format("d m H i")))
| <em>bijgewerkt</em>:
@if($item->edited->format("d m") != $item->published->format("d m"))
{{strtolower(Formatter::relativeDate($item->edited))}}
{{strtolower(Formatter::relativeDate($item->edited))}}
@endif
om {{$item->edited->format("H:i")}} uur
@endif
@@ -59,7 +60,7 @@
<p>{!!$item->content!!}</p>
</div>
@endif
@if($item->video)
@include('widgets/mediaplayer')
@php(createVideoElement($item->video))
@@ -77,7 +78,7 @@
<div class="announcement">
<div>
<audio controls>
<source src="{{ $url = url( $apiUrl . "podcast/download" . $item->podcast->url . "?auth=" . $item->podcast->auth )}}" type="audio/mpeg" />
<source src="{{ $url = url( $apiUrl . "podcast/download" . $item->podcast->url . "?auth=" . $item->podcast->auth )}}" type="audio/mpeg" />
</audio>
</div>
</div>