This commit is contained in:
Andras Bacsai
2022-04-07 18:51:52 +02:00
parent aae108032c
commit fedb38f2bc
6 changed files with 16 additions and 16 deletions

View File

@@ -63,8 +63,8 @@
</div>
{:else}
<div class="flex flex-col">
{#if $session.teamId === '0' && ownDestinations.length > 0}
<div class="text-xl font-bold pb-5 px-1">Your Team's Destinations</div>
{#if $session.teamId === '0' && ownDestinations.length > 0 && otherDestinations.length > 0}
<div class="text-xl font-bold pb-5 px-6">Current Team</div>
{/if}
<div class="flex flex-col md:flex-row flex-wrap px-2 justify-center">
{#each ownDestinations as destination}
@@ -81,7 +81,7 @@
</div>
{#if otherDestinations.length > 0 && $session.teamId === '0'}
<div class="text-xl font-bold pb-5 px-1 pt-10 px-6">Other Team's Destinations</div>
<div class="text-xl font-bold pb-5 pt-10 px-6">Other Team's</div>
<div class="flex flex-col md:flex-row flex-wrap px-2 justify-center">
{#each otherDestinations as destination}
<a href="/destinations/{destination.id}" class="no-underline p-2 w-96">