Update trips

This commit is contained in:
2023-05-10 20:39:22 +10:00
parent c4223aab31
commit 2fce0d3967
12 changed files with 384 additions and 63 deletions

View File

@@ -1,11 +1,13 @@
div class="mb-2 h-entry"
div class="mb-2 h-entry relative"
- if !first
div class="rounded-full bg-orange-100 p-2 w-1 h-4 inline-block mb-2 dark:bg-orange-400"
div class="-top-4 absolute rounded-full border-2 bg-orange-100 border-orange-200 p-1 w-1 h-2 inline-block dark:border-orange-400 dark:bg-orange-400"
- if first
div class="w-2 h-2 inline-block mb-6"
= "🛬"
div class="inline-block mb-2"
span class="mr-2"
= "🛬"
= trip.start_date
div class="ml-[7] pl-6 border-solid border-l-2 border-orange-100 dark:border-orange-400"
div class="ml-[5] #{ last ? '' : 'mb-[20]'} pl-6 border-solid border-l-2 border-orange-200 dark:border-orange-400"
h3 class="text-xl font-semibold text-blue-600"
a class="border-b-2 border-transparent hover:border-blue-600 hover:border-b-2" href="/post/#{post.slug}"
= post.name
@@ -20,5 +22,7 @@ div class="mb-2 h-entry"
time class="dt-published" datetime=post.machine_published_at
= post.display_published_at
- if last
div class="w-2 h-2 inline-block mb-6"
= "🛫"
div class="inline-block mb-6"
span class="mr-2"
= "🛫"
= trip.end_date