Add landing page
This commit is contained in:
parent
3fea484585
commit
bce86ee840
47 changed files with 7119 additions and 439 deletions
|
|
@ -103,6 +103,11 @@
|
|||
>
|
||||
Registration
|
||||
</th>
|
||||
<th
|
||||
class="px-4 py-4 text-left text-xs font-medium text-dimmed uppercase tracking-wider"
|
||||
>
|
||||
Tickets
|
||||
</th>
|
||||
<th
|
||||
class="px-6 py-4 text-right text-xs font-medium text-dimmed uppercase tracking-wider"
|
||||
>
|
||||
|
|
@ -258,6 +263,52 @@
|
|||
</div>
|
||||
</td>
|
||||
|
||||
<!-- Tickets Column -->
|
||||
<td class="px-4 py-6 whitespace-nowrap">
|
||||
<div class="space-y-1">
|
||||
<div v-if="event.tickets?.enabled" class="space-y-1">
|
||||
<div class="flex items-center gap-1 text-xs">
|
||||
<Icon
|
||||
name="heroicons:ticket"
|
||||
class="w-3.5 h-3.5 text-blue-600"
|
||||
/>
|
||||
<span class="font-medium text-default">Ticketing On</span>
|
||||
</div>
|
||||
<div
|
||||
v-if="event.tickets?.requiresSeriesTicket"
|
||||
class="text-xs text-purple-600"
|
||||
>
|
||||
Series Pass Required
|
||||
</div>
|
||||
<div v-else class="space-y-0.5">
|
||||
<div
|
||||
v-if="event.tickets.member?.available"
|
||||
class="text-xs text-dimmed"
|
||||
>
|
||||
Member:
|
||||
{{
|
||||
event.tickets.member.isFree
|
||||
? "Free"
|
||||
: `$${event.tickets.member.price}`
|
||||
}}
|
||||
</div>
|
||||
<div
|
||||
v-if="event.tickets.public?.available"
|
||||
class="text-xs text-dimmed"
|
||||
>
|
||||
Public: ${{ event.tickets.public.price || 0 }}
|
||||
<span v-if="event.tickets.public.quantity" class="ml-1">
|
||||
({{ event.tickets.public.sold || 0 }}/{{
|
||||
event.tickets.public.quantity
|
||||
}})
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div v-else class="text-xs text-dimmed">No tickets</div>
|
||||
</div>
|
||||
</td>
|
||||
|
||||
<!-- Actions Column -->
|
||||
<td class="px-6 py-6 whitespace-nowrap text-right">
|
||||
<div class="flex items-center justify-end space-x-2">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue