Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
… into feat/add-testing-framework
  • Loading branch information
ashmit-coder committed Nov 22, 2024
2 parents 492f2ed + 4eeb0ac commit 996952c
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 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 config/speakers.json
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@
{
"time": "5:10 PM CEST - 5:35 PM CEST",
"session": "From Nightmares to Sweet Dreams: Conquering AsyncAPI Testing!",
"speaker": 6,
"speaker": [6,3],
"type": "Technical Speaker"
}
]
Expand Down
5 changes: 3 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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 996952c

Please sign in to comment.