Refactor AdventureCard component and add CardCarousel
- Refactor AdventureCard component to remove unused variable and add meta tags for shared collections page - Add CardCarousel component to display a carousel of adventure images in AdventureCard
This commit is contained in:
@@ -57,11 +57,7 @@
|
||||
class="card w-full max-w-xs sm:max-w-sm md:max-w-md lg:max-w-md xl:max-w-md bg-neutral text-neutral-content shadow-xl overflow-hidden"
|
||||
>
|
||||
<div class="card-body">
|
||||
{#if region.name_en && region.name !== region.name_en}
|
||||
<h2 class="card-title overflow-ellipsis">{region.name} ({region.name_en})</h2>
|
||||
{:else}
|
||||
<h2 class="card-title overflow-ellipsis">{region.name}</h2>
|
||||
{/if}
|
||||
<h2 class="card-title overflow-ellipsis">{region.name}</h2>
|
||||
<p>{region.id}</p>
|
||||
<div class="card-actions justify-end">
|
||||
<!-- <button class="btn btn-info" on:click={moreInfo}>More Info</button> -->
|
||||
|
||||
Reference in New Issue
Block a user