Skip to content

Commit 625ed9c

Browse files
authored
feat: update supporters and partners sections
1 parent edf5259 commit 625ed9c

File tree

6 files changed

+35
-23
lines changed

6 files changed

+35
-23
lines changed

apps/site/components/Common/Supporters/index.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,14 @@ type SupportersProps = {
1010
supporters: Promise<Array<Supporters>>;
1111
};
1212

13+
// TODO: Sort supporters by all time contribution amount and link to their Open Collective page
1314
const SupportersList: FC<SupportersProps> = ({ supporters }) => {
1415
const supportersList = use(supporters);
1516

1617
return (
1718
<div className="flex max-w-full flex-wrap items-center justify-center gap-1">
18-
{supportersList.map(({ name, image, url }, i) => (
19-
<Avatar nickname={name} image={image} url={url} key={`${name}-${i}`} />
19+
{supportersList.map(({ name, image }, i) => (
20+
<Avatar nickname={name} image={image} key={`${name}-${i}`} />
2021
))}
2122
</div>
2223
);

apps/site/components/withSupporters.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const WithSupporters: FC<PropsWithChildren> = () => {
99
const supporters = fetchOpenCollectiveData() as Promise<Array<Supporters>>;
1010

1111
return (
12-
<div className="flex max-w-full flex-wrap items-center justify-center gap-1">
12+
<div className="flex max-w-full flex-wrap items-center gap-1">
1313
<SupportersList supporters={supporters} />
1414
</div>
1515
);

apps/site/layouts/Post.tsx

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -39,18 +39,24 @@ const PostLayout: FC<PropsWithChildren> = ({ children }) => {
3939
<Preview title={frontmatter.title!} type={type} />
4040

4141
{children}
42+
43+
<WithBlogCrossLinks />
4244
{type === 'vulnerability' && (
43-
<section className="flex-col! flex w-full gap-4">
44-
<h2 className="text-center">Thanks by Our Partners</h2>
45-
<p>
46-
We are able to offer security releases proudly due to the
47-
support of these partners
48-
<Link href="/about/partners/"> and more</Link>.
49-
</p>
50-
<PartnersLogoList categories="security" />
51-
</section>
45+
<div className="mt-3">
46+
<hr />
47+
<section className="flex-col! mt-4 flex w-full gap-4">
48+
<h2 className="text-center">
49+
These security releases are possible by:
50+
</h2>
51+
<p>
52+
We are able to offer security releases proudly due to the
53+
support of these partners
54+
<Link href="/about/partners/"> and more</Link>.
55+
</p>
56+
<PartnersLogoList categories="security" />
57+
</section>
58+
</div>
5259
)}
53-
<WithBlogCrossLinks />
5460
</main>
5561
</div>
5662

apps/site/pages/en/about/partners.mdx

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -65,12 +65,13 @@ End-Of-Life versions, please visit [End-Of-Life Node.js Releases](/eol)
6565
6666
<PartnersLogoList categories="esp" maxLength={null} />
6767

68-
<div className="flex justify-center gap-4 flex-col items-center">
69-
7068
## Become a Partner
7169

72-
If you are interested in becoming a partner, please reach out to us
73-
74-
<Button href="https://openjsf.org/partners">Contact</Button>
70+
Become a partner of the Node.js project and help us to continue to develop and maintain
71+
this project. Your support is crucial to ensure that Node.js remains a reliable and secure platform
72+
for developers and organizations around the world. If you are interested in becoming a partner,
73+
please reach out to us through the OpenJS Foundation.
7574

75+
<div>
76+
<Button href="https://openjsf.org/partners">Become an OpenJS partner</Button>
7677
</div>

apps/site/pages/en/download/current.mdx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,10 @@ or the <LinkWithArrow href="https://unofficial-builds.nodejs.org/download/">unof
3535

3636
</section>
3737

38-
<section>
39-
<h2 className='text-center'>Thanks by Our Partners</h2>
38+
---
39+
40+
<section className="mt-3">
41+
<h2 className='text-center'>Proudly supported by the partners below:</h2>
4042

4143
<span className="text-center">
4244
We are able to serve Node.js's downloads and maintain our infrastructure

apps/site/pages/en/download/index.mdx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Or get a prebuilt Node.js® for <Release.OperatingSystemDropdown /> running a <R
1919

2020
</section>
2121

22-
<section>
22+
<section className='mb-2'>
2323

2424
Read the <Release.ChangelogLink>changelog</Release.ChangelogLink> or <Release.BlogPostLink>blog post</Release.BlogPostLink> for this version.
2525

@@ -35,8 +35,10 @@ or the <LinkWithArrow href="https://unofficial-builds.nodejs.org/download/">unof
3535

3636
</section>
3737

38-
<section>
39-
<h2 className='text-center'>Thanks by Our Partners</h2>
38+
---
39+
40+
<section className="mt-3">
41+
<h2 className=''>Proudly supported by the partners below:</h2>
4042

4143
<span className="text-center">
4244
We are able to serve Node.js's downloads and maintain our infrastructure

0 commit comments

Comments
 (0)