Skip to content

Commit be0efdc

Browse files
chore: youtube link added in resource section (#425) (#426)
Co-authored-by: Cody's Dad <[email protected]>
1 parent a3fec5f commit be0efdc

File tree

4 files changed

+18
-2
lines changed

4 files changed

+18
-2
lines changed

components/Venue/venue.js

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ function Venue({ className, city }) {
1717
}} className='w-8 h-8 bg-white rounded-xl flex items-center justify-center ml-auto'>
1818
<Image src='/img/mapIcon.svg' alt='Map Icon' width={24} height={24} />
1919
</button>
20+
<div></div>
2021
</div>
2122
<div></div>
2223
<div className='text-white'>

config/city-lists.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,9 @@
4646
],
4747
"ticket": "https://ticket.apidays.global/event/apidays-london-2024/869eca20-bfb6-4103-b8bb-d0348932e940/",
4848
"isFree": true,
49-
"ended": true
49+
"ended": true,
50+
"recordings":"https://youtube.com/playlist?list=PLbi1gRlP7pig77jJD2ER9wfTxPSzBrLW5&si=YPmjUsj5mU6FpLhB",
51+
"playlist":"https://www.youtube.com/embed/videoseries?si=92z0xOVroBuDUvMR&amp;list=PLbi1gRlP7pig77jJD2ER9wfTxPSzBrLW5"
5052
},
5153
{
5254
"name": "Paris",

config/links.json

+5
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,11 @@
5555
"title": "London Slides",
5656
"ref": "https://drive.google.com/drive/folders/1PsIZSsQmsvSILZ83f9L-2ErV-pXM6PQf?usp=drive_link",
5757
"target": "_blank"
58+
},
59+
{
60+
"title": "London Talks",
61+
"ref": "https://youtube.com/playlist?list=PLbi1gRlP7pig77jJD2ER9wfTxPSzBrLW5&si=YPmjUsj5mU6FpLhB",
62+
"target": "_blank"
5863
}
5964

6065

pages/venue/[id].js

+9-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ function Venue({ city }) {
5656
<Heading typeStyle='lg' className='text-white mt-[24px]'>
5757
{city.date}
5858
</Heading>
59-
{city.ended ? "" : <div className='m-[30px]'>
59+
{city.ended ? (city.playlist && <a href='#recordings'><Button className="w-[250px] h-[50px] m-8">Watch Recordings</Button></a>): <div className='m-[30px]'>
6060
{city.ticket && <a href={city.ticket} target='_blank' rel='noreferrer'>
6161
<Button className="px-8 m-2 w-[250px]">{city.isFree ? "Get Your Ticket" : "Register Now"}</Button>
6262
</a>}
@@ -77,6 +77,14 @@ function Venue({ city }) {
7777
<Agenda city={city} />
7878
</div>}
7979
</div>
80+
<div id="recordings" className='flex justify-center'>
81+
{city.ended ? (city.playlist &&
82+
<div className=' pt-10 mb-24 mx-44 lg:mx-7 flex justify-center flex-col items-center w-[90%] h-[550px] sm:h-72'>
83+
<h1 className='text-white font-bold text-5xl mb-10'>Recordings</h1>
84+
<iframe width="100%" height="100%" src={city.playlist} title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
85+
</div>
86+
) : <div></div>}
87+
</div>
8088
<div
8189
id='sponsors'
8290
>

0 commit comments

Comments
 (0)