Skip to content

Commit 04878da

Browse files
committed
feat: add community
1 parent ff7a49d commit 04878da

3 files changed

Lines changed: 26 additions & 10 deletions

File tree

src/Components/Sponsors.tsx

Lines changed: 25 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ import logoAWS from '../assets/sponsors/aws-white.svg';
66
// import logoCodecrafters from '../assets/sponsors/codecrafters-logo.png';
77
// import logoTAG from '../assets/sponsors/TAG-logo.svg';
88
// import logoAmpt from '../assets/sponsors/ampt-logo.svg';
9-
// import logoOBN from '../assets/sponsors/off-by-none-logo.svg';
9+
import logoOBN from '../assets/sponsors/off-by-none-logo.svg';
10+
import logoImproove from '../assets/sponsors/logo_improove.png';
1011
import logoEleva from '../assets/sponsors/eleva-logo.svg';
1112
import logoOvernet from '../assets/sponsors/OverNet_payoff_white.svg';
1213
import { cn } from '@/lib/utils';
@@ -43,13 +44,6 @@ const Sponsors = () => {
4344
type: 'single',
4445
},
4546
// {
46-
// image: logoOBN,
47-
// url: 'https://offbynone.io/',
48-
// sponsorType: 'Headline',
49-
// imageClassName: 'h-24 md:h-32',
50-
// type: 'single',
51-
// },
52-
// {
5347
// image: logoServerlessGuru,
5448
// url: 'https://www.serverlessguru.com/',
5549
// sponsorType: 'Gold',
@@ -66,10 +60,24 @@ const Sponsors = () => {
6660
{
6761
image: logoOvernet,
6862
url: 'https://overnet.education/',
69-
sponsorType: 'Partner',
63+
sponsorType: 'Organization Partner',
7064
imageClassName: 'h-12 md:h-16',
7165
type: 'single',
7266
},
67+
{
68+
image: logoOBN,
69+
url: 'https://offbynone.io/',
70+
sponsorType: 'Community',
71+
imageClassName: 'h-24 md:h-32',
72+
type: 'single',
73+
},
74+
{
75+
image: logoImproove,
76+
url: 'https://www.improove.tech/',
77+
sponsorType: 'Community',
78+
imageClassName: 'h-24 md:h-32',
79+
type: 'single',
80+
},
7381
// {
7482
// image: logoServerlessDark,
7583
// url: 'https://www.serverless.com/',
@@ -97,6 +105,7 @@ const Sponsors = () => {
97105
Headline: sponsors.filter((sponsor) => sponsor.sponsorType === 'Headline'),
98106
Gold: sponsors.filter((sponsor) => sponsor.sponsorType === 'Gold'),
99107
Partner: sponsors.filter((sponsor) => sponsor.sponsorType === 'Partner'),
108+
OrganizationPartner: sponsors.filter((sponsor) => sponsor.sponsorType === 'Organization Partner'),
100109
Community: sponsors.filter(
101110
(sponsor) => sponsor.sponsorType === 'Community'
102111
),
@@ -200,6 +209,13 @@ const Sponsors = () => {
200209
containerClass="h-20 md:h-24 w-full"
201210
/>
202211

212+
<SponsorSection
213+
title="Organization Partners"
214+
sponsors={sponsorsByType.OrganizationPartner}
215+
gridCols="grid-cols-2 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-5"
216+
containerClass="h-20 md:h-24 w-full"
217+
/>
218+
203219
<SponsorSection
204220
title="Community Sponsors"
205221
sponsors={sponsorsByType.Community}
4.63 KB
Loading

src/types/sponsors.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ export type Image = {
22
image: string | string[];
33
imageClassName?: string | string[];
44
url: string | string[];
5-
sponsorType: 'Gold' | 'Headline' | 'Community' | 'Partner';
5+
sponsorType: 'Gold' | 'Headline' | 'Community' | 'Partner' | 'Organization Partner';
66
type: 'single' | 'multiple';
77
};

0 commit comments

Comments
 (0)