Skip to content

Commit 7ebc9d8

Browse files
committed
add volunteer form CTA on Hero Banner
1 parent 79eabfe commit 7ebc9d8

File tree

3 files changed

+19
-6
lines changed

3 files changed

+19
-6
lines changed

data/conference.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ export const ASSETS = {
4747
};
4848

4949
export const KEY_LINKS = {
50-
volunteerFormLabel: 'BECOME A VOLUNTEER',
51-
volunteerFormUrl: '',
50+
volunteerFormLabel: 'SIGN UP TO VOLUNTEER',
51+
volunteerFormUrl: 'https://forms.gle/XKpdqSX12husAXBB6',
5252
cfpLabel: 'SUBMIT YOUR PROPOSAL',
5353
cfpUrl: '',
5454
interestedInSponsoringLabel: 'INTERESTED IN SPONSORING',

data/schedule.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@ export const SCHEDULE = {
2525
speakers: [getSpeaker('pyconf-hyderabad-team')],
2626
},
2727
],
28-
]
28+
],
2929
},
30-
};
30+
};

src/components/Hero.jsx

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import Image from 'next/image';
22

3-
import { Heading, Paragraph, Span } from '@/components/Typography';
3+
import { Heading, Span } from '@/components/Typography';
44
import Icon from '@/components/Icon';
5-
import { CONFERENCE, ASSETS } from '@/conference';
5+
import { CONFERENCE, ASSETS, KEY_LINKS } from '@/conference';
66
import Link from 'next/link';
77

88
const Hero = () => {
@@ -81,6 +81,19 @@ const Hero = () => {
8181
<Span level={3}>{CONFERENCE.workshopVenue}</Span>
8282
</Link>
8383
</div> */}
84+
<div className="flex flex-col sm:flex-row pt-4">
85+
<Link
86+
href={KEY_LINKS.volunteerFormUrl}
87+
target="_blank"
88+
className="flex justify-center"
89+
rel="noopener noreferrer"
90+
>
91+
<button className="inline-flex mt-2 sm:mr-4 items-center bg-secondary-600 px-5 py-3 font-medium hover:bg-secondary-700 text-gray-50 border rounded-lg">
92+
<Icon name="VolunteerActivism" size={20} />
93+
<Span className="ml-2">{KEY_LINKS.volunteerFormLabel}</Span>
94+
</button>
95+
</Link>
96+
</div>
8497
</div>
8598
</section>
8699
);

0 commit comments

Comments
 (0)