update logo icon; modify title

This commit is contained in:
padreug 2025-07-29 21:26:01 +02:00
parent 90b59dfe13
commit f5e01c31f4
12 changed files with 16 additions and 20 deletions

View file

@ -55,6 +55,7 @@ function handlePurchaseClick(event: {
</div>
<TabsContent value="upcoming">
{{ upcomingEvents }}
<ScrollArea class="h-[600px] w-full pr-4" v-if="upcomingEvents.length">
<div class="grid gap-4 md:grid-cols-2 lg:grid-cols-3">
<Card v-for="event in upcomingEvents" :key="event.id" class="flex flex-col">
@ -83,12 +84,8 @@ function handlePurchaseClick(event: {
</div>
</CardContent>
<CardFooter>
<Button
class="w-full"
variant="default"
:disabled="event.amount_tickets <= event.sold"
@click="handlePurchaseClick(event)"
>
<Button class="w-full" variant="default" :disabled="event.amount_tickets <= event.sold"
@click="handlePurchaseClick(event)">
Buy Ticket
</Button>
</CardFooter>
@ -137,10 +134,6 @@ function handlePurchaseClick(event: {
</TabsContent>
</Tabs>
<PurchaseTicketDialog
v-if="selectedEvent"
:event="selectedEvent"
v-model:is-open="showPurchaseDialog"
/>
<PurchaseTicketDialog v-if="selectedEvent" :event="selectedEvent" v-model:is-open="showPurchaseDialog" />
</div>
</template>
</template>