Skip to content

Commit

Permalink
feat: update Ticket Description (asyncapi#473)
Browse files Browse the repository at this point in the history
  • Loading branch information
thulieblack authored Nov 19, 2024
1 parent 771cd39 commit 08d6050
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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
2 changes: 1 addition & 1 deletion pages/venue/[id].js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ function Venue({ city }) {
</Heading>
{city.ended ? (city.playlist && <a href='#recordings'><Button className="w-[250px] h-[50px] m-8">Watch Recordings</Button></a>): <div className='m-[30px]'>
{city.ticket && <a href={city.ticket} target='_blank' rel='noreferrer'>
<Button className="px-8 m-2 w-[250px]">{city.isFree ? "Get Your Ticket" : "Register Now"}</Button>
<Button className="px-8 m-2 w-[250px]">{city.isFree ? "Get Your Free Ticket" : "Register Now"}</Button>
</a>}
{(!eventEnded && city.cfp) && <a href={city.name === 'online'? "/venue/online/register" :city.cfp}target={city.name=='Online'?"":'_blank'} rel='noreferrer'>
<Button className="px-8 m-2 w-[250px]">Apply to be a speaker</Button>
Expand Down

0 comments on commit 08d6050

Please sign in to comment.