Refactor AdventureCard component and remove FeaturedAdventureCard

This commit is contained in:
Sean Morley
2024-04-02 21:33:41 +00:00
parent cde83b35d6
commit f0894a964f
4 changed files with 31 additions and 27 deletions

View File

@@ -148,7 +148,7 @@
<div class="grid xl:grid-cols-3 lg:grid-cols-3 md:grid-cols-2 sm:grid-cols-1 gap-4 mt-4 content-center auto-cols-auto ml-6 mr-6">
{#each adventures as adventure (adventure.id)}
<AdventureCard id={adventure.id} name={adventure.name} location={adventure.location} created={adventure.created} on:remove={triggerRemoveAdventure} on:edit={editAdventure} />
<AdventureCard type="mylog" id={adventure.id} name={adventure.name} location={adventure.location} created={adventure.created} on:remove={triggerRemoveAdventure} on:edit={editAdventure} />
{/each}
</div>