Skip to content

Commit 6625b8f

Browse files
committed
Add tickets info and add volunteers
1 parent 4d46b89 commit 6625b8f

File tree

4 files changed

+22
-20
lines changed

4 files changed

+22
-20
lines changed

data/people.jsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -215,10 +215,6 @@ export const ALL_SPEAKER_VOLUNTEER_IMAGES = [
215215
imgUrl: 'images/people/sarabjot-singh.png',
216216
imgAlt: "Dr. Sarabjot Singh Anand's picture",
217217
},
218-
{
219-
imgUrl: 'images/people/zainab.jpg',
220-
imgAlt: "Zainab Bawa's picture",
221-
},
222218
{
223219
imgUrl: 'images/people/jaidev-deshpande.jpg',
224220
imgAlt: "Jaidev Deshpande's picture",
@@ -261,6 +257,10 @@ export const ALL_SPEAKER_VOLUNTEER_IMAGES = [
261257
imgAlt: "Paul Ganssle's picture",
262258
imgUrl: '/images/people/paul-ganssle.jpg',
263259
},
260+
{
261+
imgAlt: "Snehith Allamrajule's picture",
262+
imgUrl: '/images/volunteers/snehith-allamraju.jpeg',
263+
},
264264
];
265265

266266
export const ALL_SPONSORS = [

src/app/page.jsx

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ import SponsorsSection from '@/components/Sponsors';
99
import CommunityPartners from '@/components/CommunityPartners';
1010

1111
import { SPEAKERS } from '@/speakers';
12-
import { CONFERENCE } from '@/conference';
12+
import { Span } from '@/components/Typography';
13+
import Link from 'next/link';
1314

1415
const getKeynoteSpeakers = (SPEAKERS) => {
1516
const speakers = new Map();
@@ -39,7 +40,14 @@ export default function Home() {
3940

4041
return (
4142
<>
42-
<InfoAlert />
43+
<InfoAlert>
44+
<Span>
45+
We are now accepting proposals for lightning talks{' '}
46+
</Span>
47+
<Link href="https://forms.gle/vSZcUh9CoR6PvPN79" target="_blank">
48+
<Span className="underline">here.</Span>
49+
</Link>
50+
</InfoAlert>
4351
<Hero />
4452
<KeynoteSpeakers speakers={getKeynoteSpeakers(SPEAKERS)} />
4553
<SponsorsSection />

src/app/tickets/page.jsx

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
import { Heading } from '@/components/Typography';
1+
import { Heading, Span } from '@/components/Typography';
22
import InfoAlert from '@/components/InfoAlert';
33

44
import Tickets from '@/components/Tickets';
5-
import { CONFERENCE } from '@/conference';
65

76
export const metadata = {
87
title: 'Tickets',
@@ -16,7 +15,11 @@ export const metadata = {
1615
export default function Page() {
1716
return (
1817
<div>
19-
<InfoAlert />
18+
<InfoAlert>
19+
<Span>
20+
We are sold out. There are not on spot tickets.
21+
</Span>
22+
</InfoAlert>
2023
<section className="flex flex-col items-center py-6 w-11/12 lg:w-5/6 mx-auto">
2124
<Heading
2225
tagLevel={1}

src/components/InfoAlert.jsx

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,10 @@
1-
import Link from 'next/link';
2-
import { Span } from '@/components/Typography';
3-
4-
5-
export default function InfoAlert({ text }) {
1+
export default function InfoAlert({ children }) {
62
return (
73
<div
84
className="text-center p-4 rounded-lg text-blue-800 bg-blue-50 dark:bg-gray-800 dark:text-blue-400"
95
role="alert"
106
>
11-
<Span className=''>We are now accepting proposals for lightning talks </Span>
12-
<Link href="https://forms.gle/vSZcUh9CoR6PvPN79" target="_blank">
13-
<Span className='underline'>
14-
here.
15-
</Span>
16-
</Link>
7+
{children}
178
</div>
189
);
1910
}

0 commit comments

Comments
 (0)