Add page titles

This commit is contained in:
2023-05-17 20:12:07 +10:00
parent 0f832d8eaf
commit 4bccc2ea5a
18 changed files with 34 additions and 3 deletions

View File

@@ -1,3 +1,5 @@
- context.content_for(:title, "#{trip.name} | ")
div class="mb-4 prose dark:prose-invert max-w-prose mx-auto text-gray-800 dark:text-gray-200"
h1 class="mb-0" #{trip.name}
/ p class="mt-2" class="text-gray-600 dark:text-gray-200 text-sm" (#{trip.start_date} - #{trip.end_date})