Skip to content

Commit

Permalink
Update ticketCards.js
Browse files Browse the repository at this point in the history
  • Loading branch information
thulieblack authored Nov 19, 2024
1 parent 771cd39 commit 9bcbb0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/Tickets/ticketCards.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ function TicketCards({ className, city }) {
// Determine card style based on event status
const isEndedOrUpcoming = city.ended || !city.ticket;
const cardOpacity = isEndedOrUpcoming ? 'opacity-40' : 'opacity-100';
const buttonText = city.isFree ? 'Get Your Ticket' : 'Buy Now';
const buttonText = city.isFree ? 'Get Your Free Ticket' : 'Buy Now';

return (
<div className={`w-[300px] lg:w-full ${cardOpacity} hoverEffect h-[400px] cursor-pointer flex flex-col text-white justify-between rounded-lg card bg-white ${className}`}>
Expand Down

0 comments on commit 9bcbb0f

Please sign in to comment.