Refactor adventure page layout and add dynamic content

This commit is contained in:
Sean Morley
2024-04-28 16:03:38 +00:00
parent c09028ae40
commit d4f94b436d
9 changed files with 165 additions and 78 deletions

View File

@@ -33,7 +33,7 @@
{/if}
{#if adventure.date}
<p class="text-center text-lg mt-4 pl-16 pr-16">
Visited on: {new Date(adventure.date).toLocaleDateString()}
Visited on: {adventure.date}
</p>
{/if}
{#if adventure.rating !== undefined && adventure.rating !== null}