Skip to content

Commit

Permalink
add-ticket-link (#358)
Browse files Browse the repository at this point in the history
  • Loading branch information
thulieblack authored Aug 21, 2024
1 parent 60252e3 commit f913fcb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion components/announcement.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import Link from 'next/link';

export default function Announcement() {
return (
<Link href="/venue/London">
<Link href="/venue/Paris">
<div className='cursor-pointer border text-white min-w-[300px] rounded-lg p-1 text-center text-lg'>Call for Speakers for Paris is now open!</div>
</Link>
)
Expand Down
2 changes: 1 addition & 1 deletion config/city-lists.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"sponsors": [
"/img/apidays.png"
],
"ticket": false,
"ticket": "https://ticket.apidays.global/event/apidays-london-2024/869eca20-bfb6-4103-b8bb-d0348932e940/cart?coupon=GUESTOFASYNCAPILONDON2024",
"isFree": true,
"ended": false
},
Expand Down
2 changes: 1 addition & 1 deletion pages/venue/[id].js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ function Venue({ city }) {
</Heading>
{city.ended ? "" : <div className='m-[30px]'>
{city.ticket && <a href={city.ticket} target='_blank' rel='noreferrer'>
<Button className="px-8 m-2 w-[250px]">{city.isFree ? "Register for free" : "Register now"}</Button>
<Button className="px-8 m-2 w-[250px]">{city.isFree ? "Get Your Ticket" : "Register Now"}</Button>
</a>}
{city.cfp && <a href={city.cfp} target='_blank' rel='noreferrer'>
<Button className="px-8 m-2 w-[250px]">Apply to be a speaker</Button>
Expand Down

0 comments on commit f913fcb

Please sign in to comment.