@foreach($checkinsList as $checkin)
{!! $checkin->title ?? "Untitled" !!}
{!! render_date_difference($checkin->date) !!}
@if($checkin->note)
@php
if (preg_match("/\[\[([^\]]+)\]\]/", $checkin->note, $filepath)) {
if (preg_match("/\.webm/", $filepath[1])) {
$embed = '';
} elseif (preg_match("/\.ogg/", $filepath[1])) {
$embed = '';
}
$checkin->note = preg_replace("/\[\[[^\]]+\]\]/", $embed, $checkin->note);
}
@endphp
@if($checkin->id === 3930)
@include('partials.abolition-checkin')
@else
{!! $checkin->note !!}
@endif
@endif
@if($checkin->image_url)
@endif
@endforeach