Change checkins to posts, add email digest note

This commit is contained in:
Ben Goldsworthy 2023-02-12 14:11:07 +00:00
parent abcfb85da3
commit 51a7e57c91
1 changed files with 4 additions and 2 deletions

View File

@ -30,7 +30,9 @@
<div id="map"></div>
</section>
<section id="checkinList">
<h2 class="section__title">@if ($showAllCheckins) Check-ins @else Recent Check-ins @endif</h2>
<h2 class="section__title">@if ($showAllCheckins) Posts @else Recent Posts @endif</h2>
<p style="font-weight: bold; text-align: center;">Want to receive a regular email digest of updates?</p>
<p style="text-align: center;">Ask me and I'll add you to the list: weekly, fortnightly and monthly options available (or daily if you're really keen).</p>
<ol start="{{ $toCheckin ?? count($trip->checkins) }}" reversed>
@if($showAllCheckins || $toCheckin || $fromCheckin)
@php $checkinsList = array_reverse($trip->checkins) @endphp
@ -41,7 +43,7 @@
@include('partials.checkins-list')
</ol>
@if (!$showAllCheckins)
<p><a id="allCheckinsLink" href="?show=all">Show all checkins</a></p>
<p><a id="allCheckinsLink" href="?show=all">Show all posts</a></p>
@endif
</section>
</main>