Skip to content

Commit c5df2d3

Browse files
Add pages about the ReScript Association and donations
1 parent 8281e31 commit c5df2d3

File tree

5 files changed

+96
-8
lines changed

5 files changed

+96
-8
lines changed

data/sidebar_community.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,9 @@
55
"roadmap",
66
"code-of-conduct",
77
"translations"
8+
],
9+
"ReScript Association": [
10+
"association",
11+
"donate"
812
]
913
}

pages/community/association.mdx

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
---
2+
title: "About"
3+
description: "The ReScript Association is dedicated to the development and support of the ReScript programming language."
4+
canonical: "community/association"
5+
---
6+
7+
# The ReScript Association
8+
9+
The ReScript Association is dedicated to the development and support of the ReScript programming language
10+
11+
ReScript is a programming language for building complex JavaScript applications and user interfaces. It was designed for professional JavaScript and TypeScript developers, and integrates seamlessly in existing JavaScript projects for gradual adoption.
12+
13+
Goal of ReScript is to provide a viable alternative to gradually typed languages, such as TypeScript. The type system was derived from the OCaml programming language, and refined for JavaScript usage.
14+
15+
It provides one of the fastest compile-to-JS compilation and build toolchain in the JavaScript ecosystem available today.
16+
17+
> ReScript is a robustly typed language that compiles to efficient and human-readable JavaScript.
18+
19+
The ReScript Association provides a legal and financial foundation for Open Source related work within the ReScript project. It takes ownership of essential language infrastructure and is responsible for outside communication to industrial ReScript users, partners and donors.
20+
21+
The organization is non-profit oriented. All its work is independently funded by industrial partners / research institutions / individuals, and openly accessible to the public.
22+
23+
## Board
24+
25+
<div class="text-center">
26+
Board (TODO)
27+
</div>
28+
29+
## Our Actions
30+
31+
The ReScript Association is responsible for the rescript-lang.org documentation platform and its server infrastructure.
32+
33+
Individual ReScript Association members are also contributing to the syntax, compiler, IDE support and standard library.
34+
35+
Apart from technical tasks, the ReScript Association is supporting the ReScript core team by organizing community events (conferences / meetups), managing the ReScript brand / marketing assets, creating yearly donor reports, and promoting the ReScript platform.
36+

pages/community/donate.mdx

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
title: "Donate"
3+
description: "How to donate to the ReScript Association."
4+
canonical: "/community/donate"
5+
---
6+
7+
# Donate
8+
9+
Donations will help the ReScript project to maintain and improve the platform and to provide our users with a more accessible ReScript ecosystem.
10+
11+
The ReScript language, its tooling and docmentation, are fully developed by the community. Thus, we rely on donations from organizations and individuals to stay independent. Additional financial resources help us to maintain essential language infrastructure (e.g. rescript-lang.org, syntax, editor-tooling), and to organize events, like the [annual ReScript Retreat](/blog/retreats).
12+
13+
It also enables us to fund important Open Source projects within the ReScript ecosystem.
14+
15+
## How to Donate?
16+
17+
TODO:
18+
* Add stripe payment link: https://stripe.com/at/payments/payment-links
19+
* Add open collective link?

src/components/Footer.res

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,14 @@ let make = () => {
5151
</Next.Link>
5252
</li>
5353
<li>
54-
<a href="https://rescript-association.org" className=linkClass>
54+
<Next.Link href="/community/association" className={linkClass}>
5555
{React.string("ReScript Association")}
56-
</a>
56+
</Next.Link>
57+
</li>
58+
<li>
59+
<Next.Link href="/community/donate" className={linkClass}>
60+
{React.string("Donate")}
61+
</Next.Link>
5762
</li>
5863
</ul>
5964
</Section>

src/layouts/LandingPageLayout.res

Lines changed: 30 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -682,15 +682,38 @@ module CuratedResources = {
682682
}
683683
}
684684

685-
/*
686685
module Sponsors = {
687686
@react.component
688-
let make = () =>
689-
<div className="mt-24">
690-
<h2 className="hl-1 text-center"> {React.string("Sponsors")} </h2>
691-
</div>
687+
let make = () => {
688+
<section className="mt-20 flex flex-col items-center">
689+
<h3 className="hl-1 text-gray-80 text-center max-w-576 mx-auto">
690+
{React.string("From the community, for the community")}
691+
</h3>
692+
<div
693+
className="flex flex-wrap mx-4 gap-8 justify-center items-center max-w-md lg:mx-auto mt-16 mb-16">
694+
<p className="leading-4">
695+
{React.string(
696+
"We rely on donations from organizations and individuals to stay independent. ",
697+
)}
698+
</p>
699+
<p className="leading-4">
700+
{<>
701+
{React.string(
702+
"Additional financial resources help us to maintain essential language infrastructure, and to organize events, like the ",
703+
)}
704+
<Next.Link href="/blog/retreats" className="no-underline text-fire hover:underline">
705+
{React.string("annual ReScript Retreat")}
706+
</Next.Link>
707+
{React.string(".")}
708+
</>}
709+
</p>
710+
</div>
711+
<Next.Link href="/community/donate">
712+
<Button> {React.string("Donate")} </Button>
713+
</Next.Link>
714+
</section>
715+
}
692716
}
693-
*/
694717

695718
@react.component
696719
let make = (~components=MarkdownComponents.default, ~children) => {
@@ -721,6 +744,7 @@ let make = (~components=MarkdownComponents.default, ~children) => {
721744
<OtherSellingPoints />
722745
<TrustedBy />
723746
<CuratedResources />
747+
<Sponsors />
724748
children
725749
</div>
726750
</div>

0 commit comments

Comments
 (0)