Skip to content

Commit 9eb262e

Browse files
committed
Update sponsors
1 parent c234bc9 commit 9eb262e

File tree

2 files changed

+14
-8
lines changed

2 files changed

+14
-8
lines changed

Diff for: components/Page/Sponsors.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export const Sponsors: React.FunctionComponent<ISponsorsProps> = (props: React.P
6767
sponsors && sponsors.companies && sponsors.companies.length > 0 && (
6868
<div className="flex justify-center items-center space-x-8 flex-wrap">
6969
{
70-
sponsors.companies.map((sponsor) => (
70+
sponsors.companies.filter(s => s.active).map((sponsor) => (
7171
<a
7272
key={sponsor.id}
7373
target={`_blank`}

Diff for: sponsors.json

+13-7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
2-
"individuals": [{
2+
"individuals": [
3+
{
34
"url": "https://github.com/timschps",
45
"name": "Tim Schaeps",
56
"avatar": "https://avatars.githubusercontent.com/u/13098307"
@@ -20,33 +21,38 @@
2021
"avatar": "https://avatars.githubusercontent.com/u/1969515"
2122
}
2223
],
23-
"companies": [{
24+
"companies": [
25+
{
2426
"url": "https://run.events/?utm_source=frontmatter&utm_campaign=oss",
2527
"title": "Supported by run.events",
2628
"image": "/assets/sponsors/runevents.svg",
2729
"id": "run.events",
28-
"alt": "run.events - Event Management Platform"
30+
"alt": "run.events - Event Management Platform",
31+
"active": false
2932
},
3033
{
3134
"url": "https://netlify.com?utm_source=vscode-frontmatter&utm_campaign=oss",
3235
"title": "Deploys by Netlify",
3336
"image": "/assets/sponsors/netlify-dark.png",
3437
"id": "Netlify",
35-
"alt": "Netlify"
38+
"alt": "Netlify",
39+
"active": true
3640
},
3741
{
3842
"url": "http://bejs.io",
3943
"title": "Supported by the BEJS Community",
4044
"image": "/assets/sponsors/bejs-community.png",
4145
"id": "BEJS-Community",
42-
"alt": "BEJS Community"
46+
"alt": "BEJS Community",
47+
"active": false
4348
},
4449
{
4550
"url": "http://struyfconsulting.com",
4651
"title": "Hire Elio Struyf via Struyf Consulting",
4752
"image": "/struyf-consulting.webp",
4853
"id": "Struyf-Consulting",
49-
"alt": "Struyf Consulting"
54+
"alt": "Struyf Consulting",
55+
"active": true
5056
}
5157
]
52-
}
58+
}

0 commit comments

Comments
 (0)