diff --git a/.gitignore b/.gitignore index 0944c34..5ca2fab 100644 --- a/.gitignore +++ b/.gitignore @@ -34,3 +34,4 @@ e2e/.auth/ # Worktrees .worktrees/ .claude/worktrees/ +.superpowers/ diff --git a/app/components/EventTicketCard.vue b/app/components/EventTicketCard.vue index a392620..bf06fdf 100644 --- a/app/components/EventTicketCard.vue +++ b/app/components/EventTicketCard.vue @@ -1,72 +1,42 @@ @@ -164,13 +113,11 @@ const formatDeadline = (deadline) => { const now = new Date(); const diff = date - now; - // If less than 24 hours, show hours if (diff < 24 * 60 * 60 * 1000) { const hours = Math.floor(diff / (60 * 60 * 1000)); return `in ${hours} hour${hours !== 1 ? "s" : ""}`; } - // Otherwise show date return `on ${date.toLocaleDateString("en-US", { month: "short", day: "numeric", @@ -187,6 +134,103 @@ const formatPrice = (amount) => { diff --git a/app/components/EventTicketPurchase.vue b/app/components/EventTicketPurchase.vue index 4a201ed..1738dca 100644 --- a/app/components/EventTicketPurchase.vue +++ b/app/components/EventTicketPurchase.vue @@ -1,76 +1,58 @@