Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion data/communityPartners.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export const COMMUNITY_PARTNERS_INFO = {
title: 'Community Partners',
description:
'Join PyConf Hyderabad’s Community Partner Program and support the vibrant Python community in India. Become a partner and contribute to the growth of Python enthusiasts.',
'Join PyConf Hyderabad Community Partner Program and support the vibrant Python community in India. Become a partner and contribute to the growth of Python enthusiasts.',
};

export const COMMUNITY_PARTNERS = [];
6 changes: 3 additions & 3 deletions data/conference.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ export const KEY_LINKS = {
konfHubEventPageLabel: 'KonfHub event page',
konfHubEventPage: '',
CommunityPartnersProspectusLabel: 'PROSPECTUS',
CommunityPartnersProspectusUrl: '',
CommunityPartnersProspectusRegisterFormLabel: 'REGISTER',
CommunityPartnersProspectusRegisterFormUrl: '',
CommunityPartnersProspectusUrl: '/docs/community-partners-prospectus.pdf',
CommunityPartnersProspectusRegisterFormLabel: 'APPLY AS A COMMUNITY PARTNER',
CommunityPartnersProspectusRegisterFormUrl: 'https://forms.gle/a6YuXQG6t7kkywNo8',
};

export const SOCIALS = [
Expand Down
Binary file added public/docs/community-partners-prospectus.pdf
Binary file not shown.
31 changes: 29 additions & 2 deletions src/components/CommunityPartners.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@ import React from 'react';
import Link from 'next/link';
import Image from 'next/image';

import { Heading } from '@/components/Typography';
import { Heading, Paragraph } from '@/components/Typography';
import {
COMMUNITY_PARTNERS_INFO,
COMMUNITY_PARTNERS,
} from '@/communityPartners';
import CTAButton from './CTAButton';
import { KEY_LINKS } from '@/conference';

const PartnerLogo = ({ imgUrl, imgAlt }) => {
return (
Expand Down Expand Up @@ -41,6 +43,30 @@ const PartnerCard = (details) => {
);
};

const CommunityDescription = () => {
return (
<>
<Paragraph className="text-center text-gray-800 dark:text-gray-300 lg:w-11/12">
{COMMUNITY_PARTNERS_INFO.description}
</Paragraph>
<div className="flex flex-col sm:flex-row items-center mt-4">
<CTAButton
href={KEY_LINKS.CommunityPartnersProspectusUrl}
label={KEY_LINKS.CommunityPartnersProspectusLabel}
iconSize={20}
variant="secondary"
/>
<CTAButton
href={KEY_LINKS.CommunityPartnersProspectusRegisterFormUrl}
label={KEY_LINKS.CommunityPartnersProspectusRegisterFormLabel}
iconSize={20}
variant="accent"
/>
</div>
</>
);
};

const CommunityPartners = () => {
return (
<section
Expand All @@ -50,10 +76,11 @@ const CommunityPartners = () => {
<Heading
tagLevel={2}
level={1}
className="text-center mt-8 mb-10 text-secondary-600 dark:text-secondary-400"
className="text-center mt-8 mb-10 text-primary-600 dark:text-primary-400"
>
{COMMUNITY_PARTNERS_INFO.title}
</Heading>
<CommunityDescription />
<div className="flex flex-wrap items-center justify-center gap-4 lg:gap-10">
{COMMUNITY_PARTNERS &&
COMMUNITY_PARTNERS.map((partner, index) => (
Expand Down
2 changes: 1 addition & 1 deletion src/config/featureFlags.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
export const FEATURE_FLAGS = {
KEYNOTE_SPEAKERS: true,
SPONSORS: true,
COMMUNITY_PARTNERS: false,
COMMUNITY_PARTNERS: true,
MEET_ORGANIZERS: true,
SPEAKERS_PAGE: false,
TICKETS: true,
Expand Down