|
9 | 9 | class="gap-x-20 gap-y-8 space-y-8 px-8 pb-8 pt-6 md:grid md:grid-cols-2 md:space-y-0 md:px-16 xl:px-20"
|
10 | 10 | >
|
11 | 11 | <!-- state info banner -->
|
12 |
| - <section v-if="state" class="sticky left-4 right-4 top-14 col-start-2 -mx-4 md:static xl:mx-0"> |
13 |
| - <div class="overflow-hidden rounded-2xl bg-white"> |
14 |
| - <div :class="state.color"> |
15 |
| - <div class="flex items-center space-x-4 px-4 py-4 lg:px-8"> |
16 |
| - <i :class="state.icon" class="fa-solid" /> |
17 |
| - <!-- eslint-disable-next-line vue/no-v-html --> |
18 |
| - <p class="text-sm font-bold" v-html="state.text"></p> |
19 |
| - </div> |
| 12 | + <section |
| 13 | + v-if="event.signedInUserAssignedPosition" |
| 14 | + class="sticky left-4 right-4 top-14 col-start-2 -mx-4 md:static xl:mx-0" |
| 15 | + > |
| 16 | + <div class="overflow-hidden rounded-2xl bg-green-100 text-green-800"> |
| 17 | + <div class="flex items-center space-x-4 px-4 py-4 lg:px-8"> |
| 18 | + <i class="fa-solid fa-check" /> |
| 19 | + <p class="text-sm font-bold">Du bist für diese Reise eingeplant</p> |
| 20 | + </div> |
| 21 | + </div> |
| 22 | + </section> |
| 23 | + <section |
| 24 | + v-else-if="event.signedInUserWaitingListPosition" |
| 25 | + class="sticky left-4 right-4 top-14 col-start-2 -mx-4 md:static xl:mx-0" |
| 26 | + > |
| 27 | + <div class="overflow-hidden rounded-2xl bg-yellow-100 text-yellow-800"> |
| 28 | + <div class="flex items-center space-x-4 px-4 py-4 lg:px-8"> |
| 29 | + <i class="fa-solid fa-hourglass-half" /> |
| 30 | + <p class="text-sm font-bold">Du stehst für diese Reise auf der Warteliste</p> |
20 | 31 | </div>
|
21 | 32 | </div>
|
22 | 33 | </section>
|
|
39 | 50 | <i class="fa-solid fa-clock w-4 text-gray-700" />
|
40 | 51 | <span>Crew an Board: 16:00 Uhr</span>
|
41 | 52 | </p>
|
42 |
| - <!-- <p class="flex items-center space-x-4">--> |
43 |
| - <!-- <i class="fa-solid fa-route w-4 text-gray-700" />--> |
44 |
| - <!-- <span>300 Seemeilen (geschätzt)</span>--> |
45 |
| - <!-- </p>--> |
46 | 53 | <p class="flex items-center space-x-4">
|
47 | 54 | <i class="fa-solid fa-users w-4 text-gray-700" />
|
48 | 55 | <span v-if="event.assignedUserCount && waitingListCount">
|
|
66 | 73 | </h2>
|
67 | 74 | <div class="space-y-1 rounded-2xl bg-primary-100 p-4 lg:px-8">
|
68 | 75 | <p v-if="event.locations.length === 0" class="text-sm">
|
69 |
| - Für diese Reise wurde noch keine Reiseroute angegeben. |
| 76 | + Für diese Reise wurde noch keine Reiseroute bekannt gegeben. Sobald diese Informationen |
| 77 | + verfügbar sind, kannst du sie hier sehen. |
70 | 78 | </p>
|
71 | 79 | <div
|
72 | 80 | v-for="(stop, portIndex) in event.locations"
|
|
109 | 117 | <span>Anmeldungen</span>
|
110 | 118 | </h2>
|
111 | 119 | <div
|
112 |
| - v-if="team.length === 0" |
| 120 | + v-if="team.length === 0 && waitingListCount === 0" |
113 | 121 | class="rounded-2xl bg-primary-100 px-4 md:-mx-4 md:-mt-4 lg:-mx-8 lg:px-8"
|
114 | 122 | >
|
115 | 123 | <div class="flex items-center py-8">
|
116 | 124 | <div class="mr-4">
|
117 | 125 | <h3 class="mb-4 text-base">
|
118 | 126 | <i class="fa-solid fa-trophy opacity-75"></i>
|
119 |
| - Du könntest der erste sein! |
| 127 | + <span class="ml-4">Du könntest der erste sein!</span> |
120 | 128 | </h3>
|
121 | 129 | <p class="text-sm">
|
122 | 130 | Für diese Reise hat sich bisher noch niemand angemeldet. Du kannst den Anfang machen
|
|
127 | 135 | <div></div>
|
128 | 136 | </div>
|
129 | 137 | <ul class="pb-8 opacity-20">
|
130 |
| - <li v-for="i in 5" :key="i" class="flex items-center space-x-4 rounded-xl py-2"> |
| 138 | + <li v-for="i in 10" :key="i" class="flex items-center space-x-4 rounded-xl py-1"> |
131 | 139 | <i class="fa-solid fa-circle text-gray-400"></i>
|
132 | 140 | <span class="mx-2 inline-block h-4 w-64 rounded-full bg-gray-400"> </span>
|
133 | 141 | <span class="flex-grow"></span>
|
|
0 commit comments