Skip to content

Remove cloudinary references and vendor images #416

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 12, 2021
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
9 changes: 4 additions & 5 deletions _blogposts/2020-08-28-new-rescript-logo.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
author: made_by_betty
date: "2020-08-27"
title: "A New Logo for ReScript"
previewImg: https://res.cloudinary.com/dmm9n7v9f/image/upload/v1598616442/Reason%20Association/rescript-lang.org/Art-3-rescript-launch_ovoibg.jpg
articleImg: https://res.cloudinary.com/dmm9n7v9f/image/upload/v1598616442/Reason%20Association/rescript-lang.org/ReScript-3_by4q2u.jpg
articleImg: /static/blog/rescript-launch/ReScript-3.jpg
description: |
Today, our resident designer Bettina is unveiling to us the fresh new ReScript branding we've been long waiting for. We hope you're as excited about the result as us!
---
Expand All @@ -17,7 +16,7 @@ ReScript is the evolution and fusion of Reason and BuckleScript. As we're a desi
Here it is!


<Image withShadow={false} src="https://res.cloudinary.com/dmm9n7v9f/image/upload/v1598616442/Reason%20Association/rescript-lang.org/ReScript-1_ximg7u.jpg" caption="Comparison between the Reason, BuckleScript and ReScript logos"/>
<Image withShadow={false} src="/static/blog/rescript-launch/ReScript-1.jpg" caption="Comparison between the Reason, BuckleScript and ReScript logos"/>


The old Reason and BuckleScript logo had many limitations:
Expand All @@ -28,14 +27,14 @@ The old Reason and BuckleScript logo had many limitations:

The new logo addresses all these and more:

<Image withShadow={false} src="https://res.cloudinary.com/dmm9n7v9f/image/upload/v1598616442/Reason%20Association/rescript-lang.org/ReScript-2_xp3fu4.jpg" caption="Logo comparison on social media"/>
<Image withShadow={false} src="/static/blog/rescript-launch/ReScript-2.jpg" caption="Logo comparison on social media"/>

## Creating Meaning Through Simple Shapes

A minimal logo design is achieved by putting aside all distractions while focusing on legibility, meaning and small details like clear lines, interesting perspective and depth.


<Image withShadow={false} src="https://res.cloudinary.com/dmm9n7v9f/image/upload/v1598616442/Reason%20Association/rescript-lang.org/ReScript-4_un4vbh.jpg" caption="ReScript logo variations and usage examples"/>
<Image withShadow={false} src="/static/blog/rescript-launch/ReScript-4.jpg" caption="ReScript logo variations and usage examples"/>


**The letter "r"**, composed of two shapes, is inspired by Albers, a german-born American Bauhaus artist and typographer. An object should be simple, beautiful, functional and accessible for everyone - a statement which applies to ReScript's principles perfectly.
Expand Down
6 changes: 3 additions & 3 deletions _blogposts/2020-11-26-editor-support-release-1-0.mdx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
author: rescript-team
date: "2020-11-26"
previewImg: https://res.cloudinary.com/dmm9n7v9f/image/upload/v1606399719/Reason%20Association/rescript-lang.org/editor_support_preview_mcgpfo.jpg
articleImg: https://res.cloudinary.com/dmm9n7v9f/image/upload/v1606399722/Reason%20Association/rescript-lang.org/editor_support_article_rnlmxj.jpg
previewImg: /static/blog/editor_support_preview.jpg
articleImg: /static/blog/editor_support_article.jpg
badge: release
title: "Editor Plugin for VSCode and Vim Officially Released!"
description: |
Expand Down Expand Up @@ -32,4 +32,4 @@ We'll keep on iterating on the polish of the plugins, and release better [Sublim

Happy thanksgiving!

<Image withShadow={false} src="https://res.cloudinary.com/dmm9n7v9f/image/upload/v1606399722/Reason%20Association/rescript-lang.org/editor_support_article_rnlmxj.jpg" caption="ReScript now offers autocompletion for VSCode and neovim (Sublime coming soon)"/>
<Image withShadow={false} src="/static/blog/editor_support_article.jpg" caption="ReScript now offers autocompletion for VSCode and neovim (Sublime coming soon)"/>
2 changes: 1 addition & 1 deletion _blogposts/2021-02-09-release-9-0.mdx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
author: hongbo
date: "2021-02-09"
previewImg: https://res.cloudinary.com/dmm9n7v9f/image/upload/v1612974395/Reason%20Association/rescript-lang.org/compiler_release_9_0_szd11o.jpg
previewImg: /static/blog/compiler_release_9_0.jpg
title: ReScript 9.0
badge: release
description: |
Expand Down
2 changes: 1 addition & 1 deletion _blogposts/2021-03-03-rescript-association-rebranding.mdx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
author: rescript-association
date: "2021-03-03"
previewImg: "https://res.cloudinary.com/dmm9n7v9f/image/upload/v1614782716/Reason%20Association/rescript-lang.org/ReScript_Rename_Header_kf10pl.jpg"
previewImg: /static/blog/rescript_assoc_rename_preview.jpg
title: The ReScript Association
description: |
After the rebranding of ReScript, its Reason Association has now followed through to become the ReScript Association.
Expand Down
2 changes: 1 addition & 1 deletion _blogposts/2021-05-07-release-9-1.mdx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
author: rescript-team
date: "2021-05-07"
previewImg: https://res.cloudinary.com/dmm9n7v9f/image/upload/v1620295955/Reason%20Association/rescript-lang.org/compiler_release_9_1_lu5oac.jpg
previewImg: /static/blog/compiler_release_9_1.jpg
title: ReScript 9.1
badge: release
description: |
Expand Down
2 changes: 0 additions & 2 deletions _blogposts/archive/2020-04-13-bucklescript-release-7-3.mdx
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
---
author: hongbo
date: "2020-04-13"
previewImg: https://res.cloudinary.com/dmm9n7v9f/image/upload/v1587472539/Reason%20Association/reasonml.org/reasonml_art1_1280_zfwnyo.png
articleImg: https://res.cloudinary.com/dmm9n7v9f/image/upload/v1587024325/Reason%20Association/reasonml.org/jessica-knowlden-WVC6iAZHP0k-unsplash_t86jzt.jpg
badge: release
title: Announcing BuckleScript 7.3
description: |
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
author: ryyppy
date: "2020-05-06"
previewImg: https://res.cloudinary.com/dmm9n7v9f/image/upload/v1588759056/Reason%20Association/reasonml.org/state-of-reasonml-org-q2-2020_ngvmtc.jpg
articleImg: https://res.cloudinary.com/dmm9n7v9f/image/upload/v1588599051/Reason%20Association/reasonml.org/state-of-reasonml-pt1-hero_m3n6wy.jpg
previewImg: /static/blog/archive/state-of-reasonml-org-q2-2020.jpg
articleImg: /static/blog/archive/state-of-reasonml-pt1-hero.jpg
title: State of reasonml.org 2020-Q2 / Pt. 1
description: |
A report on recent achievements in the reasonml.org project and what
Expand Down Expand Up @@ -50,7 +50,7 @@ Building a documentation platform for a whole language ecosystem involves a lot
### The Structure and Design
The initial work was mostly about understanding the information architecture, relevant documentation dependencies, and finding all the relevant resources across different websites and blog posts. We have also spent a great amount of time finding a proper design language to visually codify different areas of the platform into a distinctive color scheme.

<Image withShadow={true} src="https://res.cloudinary.com/dmm9n7v9f/image/upload/v1588606133/Reason%20Association/reasonml.org/reasonml-org-color-palette-retina_x4r7ob.jpg" caption="Current state of the reasonml.org color palette"/>
<Image withShadow={true} src="/static/blog/archive/reasonml-org-color-palette-retina.jpg" caption="Current state of the reasonml.org color palette"/>

Surprisingly for us, the navigation and sitemap turned out to be the hardest part to figure out. We had to craft long-lived URLs that would work across multiple versions of the Reason compiler and standard library, had to do research about future localization possibilities, understand the guts and limits of different documentation tools such as docusaurus, find a way to enable component based theming, and then put everything in a layout that actually worked across all sorts of devices without being too cluttered or confusing.

Expand All @@ -70,7 +70,7 @@ We are now working on further automating the process for generating BuckleScript

Our goal is to have a properly curated, well structured and streamlined overview for all core resources of the Reason platform. So we relocated all the information from the ReasonML, BuckleScript, ReasonReact and GenType website to the reasonml.org codebase.

<Image withShadow={true} src="https://res.cloudinary.com/dmm9n7v9f/image/upload/v1588605830/Reason%20Association/reasonml.org/reasonml-org-structure-retina_rjhvta.jpg" caption="First hand-sketches of the reasonml.org structure"/>
<Image withShadow={true} src="/static/blog/archive/reasonml-org-structure-retina.jpg" caption="First hand-sketches of the reasonml.org structure"/>

It didn't take long until we realized that we can't just keep the upstream version in its original form, so we started to make adaptations where it made sense. We also accepted new additions from the community, such as explanations about [function signatures on optional arguments](/docs/manual/latest/function#signatures-and-type-annotations) in the Reason manual, or a new decorator overview in the BuckleScript section.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
author: ryyppy
date: "2020-05-11"
previewImg: https://res.cloudinary.com/dmm9n7v9f/image/upload/v1588759056/Reason%20Association/reasonml.org/state-of-reasonml-org-q2-2020_ngvmtc.jpg
articleImg: https://res.cloudinary.com/dmm9n7v9f/image/upload/v1588865899/Reason%20Association/reasonml.org/state-of-reasonml-2020-q2-pt2-articleimg_rmeaka.jpg
previewImg: /static/blog/archive/state-of-reasonml-org-q2-2020.jpg
articleImg: /static/blog/archive/state-of-reasonml-2020-q2-pt2-articleimg.jpg
title: State of reasonml.org 2020-Q2 / Pt. 2
description: |
A report on recent achievements in the reasonml.org project. This part is all
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
author: ryyppy
date: "2020-05-12"
previewImg: https://res.cloudinary.com/dmm9n7v9f/image/upload/v1588759056/Reason%20Association/reasonml.org/state-of-reasonml-org-q2-2020_ngvmtc.jpg
previewImg: /static/blog/archive/state-of-reasonml-org-q2-2020.jpg
title: State of reasonml.org 2020-Q2 / Pt. 3
description: |
A report on recent achievements in the reasonml.org project. In this part we
Expand Down Expand Up @@ -37,15 +37,15 @@ We don't have any **search functionality** yet, and this will take some more tim

There were some solutions, but still, Algolia turned out to be the best candidate with its smallest pricing tier. We don't want to rely on the Algolia OSS webscraping API, since it doesn't give us enough control on manipulating the search results, and we need more control if we want to be able to design a custom search experience.

<Image src="https://res.cloudinary.com/dmm9n7v9f/image/upload/v1589267400/Reason%20Association/reasonml.org/search-mockup_bdms5r.jpg" withShadow={true} caption="A unified search overlay mockup for prose & API content" />
<Image src="/static/blog/archive/search-mockup.jpg" withShadow={true} caption="A unified search overlay mockup for prose & API content" />

We did the ground work for our search feature and we will get into more detail as soon as we are able to generate API docs with our aforementioned `doc-tools`. Like with the API docs, we'll first need the doc-tools infrastructure so we can generate indexable data for Algolia as well.

## Playground

We also invested a lot of time into thinking about the future of the Reason playground from a UX perspective. Our most important goal is to make it possible to switch BuckleScript versions on demand. We also wanted the relevant Reason version to be part of the playground bundle.

<Image src="https://res.cloudinary.com/dmm9n7v9f/image/upload/v1589268285/Reason%20Association/reasonml.org/playground-mockup_symtzn.jpg" withShadow={true} caption="UI mockup for the new playground (Desktop version)" />
<Image src="/static/blog/archive/playground-mockup.jpg" withShadow={true} caption="UI mockup for the new playground (Desktop version)" />

Users should always know what version of BuckleScript / Reason is running when writing and sharing code, and the code written on a playground should be runnable with an equivalent bs-platform setup on a local machine. Right now, `reasonml.github.io/try` uses different refmt.js / playground bundle versions, which makes it really hard to write reproducible code for the same BuckleScript version.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
---
author: ryyppy
date: "2020-05-15"
previewImg: https://res.cloudinary.com/dmm9n7v9f/image/upload/v1588759056/Reason%20Association/reasonml.org/state-of-reasonml-org-q2-2020_ngvmtc.jpg
articleImg: https://res.cloudinary.com/dmm9n7v9f/image/upload/v1589395424/Reason%20Association/reasonml.org/state-of-reasonml-pt4-articleimg_jnp5mj.jpg
previewImg: /static/blog/archive/state-of-reasonml-org-q2-2020.jpg
title: State of reasonml.org 2020-Q2 / Pt. 4
description: |
A report on recent achievements in the reasonml.org project.
Expand Down Expand Up @@ -48,7 +47,7 @@ In the past few months, we observed more and more newcomers getting into the Buc

Fair enough, the only "real numbers and statistics" we can showcase are vague, but still interesting: Just typing in ["reasonml" on Youtube](https://www.youtube.com/results?search_query=reasonml) shows a list of videos mostly targeted to JS audiences.

<Image src="https://res.cloudinary.com/dmm9n7v9f/image/upload/v1589389901/Reason%20Association/reasonml.org/youtube-search-reasonml_prnsfk.jpg" withShadow={true} caption="Top hits on Youtube for 'reasonml' (not logged in, anonymous browser session)"/>
<Image src="/static/blog/archive/youtube-search-reasonml.jpg" withShadow={true} caption="Top hits on Youtube for 'reasonml' (not logged in, anonymous browser session)"/>

To put this in relation to some "high volume" [ReasonConf](https://www.youtube.com/channel/UCtFP_Hn5nIbZY4Xi47qfHhw?view_as=subscriber) viewing numbers: Our best performing videos are our ReasonConf keynotes (2018: 3.3k, 2019: 4,3k, 2019 US: 18k). These are relatively low numbers in comparison to talks like [ReasonML for skeptics by Eric Shaefer](https://www.youtube.com/watch?v=EmBzyBQU760), ticking in at 6.4k views ([React Day Berlin](https://reactday.berlin/)) and Ken Wheeler's [ReasonML is Serious Business](https://www.youtube.com/watch?v=lzEweA7RPi0) at React Rally 2018, which accumulated a pretty huge number of 15k views.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
author: chenglou
date: "2020-07-01"
previewImg: https://res.cloudinary.com/dmm9n7v9f/image/upload/v1587472539/Reason%20Association/reasonml.org/reasonml_art1_1280_zfwnyo.png
badge: release
title: "A New Syntax for BuckleScript"
description: |
Expand Down
Binary file added public/static/Art-3-rescript-launch.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/static/blog/archive/playground-mockup.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/static/blog/archive/search-mockup.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/static/blog/compiler_release_9_0.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/static/blog/compiler_release_9_1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/static/blog/editor_support_article.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/static/blog/editor_support_preview.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/static/blog/landing_page_figma.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/static/blog/rescript-launch/ReScript-1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/static/blog/rescript-launch/ReScript-2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/static/blog/rescript-launch/ReScript-4.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/Blog.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import * as Navigation from "./components/Navigation.mjs";
import * as Caml_option from "rescript/lib/es6/caml_option.js";
import * as BlogFrontmatter from "./common/BlogFrontmatter.mjs";

var defaultPreviewImg = "https://res.cloudinary.com/dmm9n7v9f/image/upload/v1598616442/Reason%20Association/rescript-lang.org/Art-3-rescript-launch_ovoibg.jpg";
var defaultPreviewImg = "/static/Art-3-rescript-launch.jpg";

var middleDotSpacer = " " + (String.fromCharCode(183) + " ");

Expand Down
5 changes: 1 addition & 4 deletions src/Blog.res
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,7 @@

module Link = Next.Link

let _rescriptDefaultImg = "https://res.cloudinary.com/dmm9n7v9f/image/upload/v1598616442/reason%20association/rescript-lang.org/art-3-rescript-launch_ovoibg.jpg"
let _planetPreviewImg = "https://res.cloudinary.com/dmm9n7v9f/image/upload/v1587479463/Reason%20Association/reasonml.org/reasonml_art2_1280_vhzxnz.png"

let defaultPreviewImg = "https://res.cloudinary.com/dmm9n7v9f/image/upload/v1598616442/Reason%20Association/rescript-lang.org/Art-3-rescript-launch_ovoibg.jpg"
let defaultPreviewImg = "/static/Art-3-rescript-launch.jpg"

// For encoding reasons, see https://shripadk.github.io/react/docs/jsx-gotchas.html
let middleDotSpacer = " " ++ (Js.String.fromCharCode(183) ++ " ")
Expand Down
2 changes: 1 addition & 1 deletion src/common/BlogFrontmatter.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ var authors = [
username: "made_by_betty",
fullname: "Bettina Steinbrecher",
role: "Brand / UI / UX",
imgUrl: "https://res.cloudinary.com/dmm9n7v9f/image/upload/v1598547954/Reason%20Association/betty-blog-img_rmckam.jpg",
imgUrl: "https://pbs.twimg.com/profile_images/1366785342704136195/3IGyRhV1_400x400.jpg",
twitter: "made_by_betty"
},
{
Expand Down
2 changes: 1 addition & 1 deletion src/common/BlogFrontmatter.res
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ let authors = [
username: "made_by_betty",
fullname: "Bettina Steinbrecher",
role: "Brand / UI / UX",
imgUrl: "https://res.cloudinary.com/dmm9n7v9f/image/upload/v1598547954/Reason%20Association/betty-blog-img_rmckam.jpg",
imgUrl: "https://pbs.twimg.com/profile_images/1366785342704136195/3IGyRhV1_400x400.jpg",
twitter: "made_by_betty",
},
{
Expand Down
2 changes: 1 addition & 1 deletion src/layouts/LandingPageLayout.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,7 @@ function LandingPageLayout(Props) {
],
description: "Fast, Simple, Fully Typed JavaScript from the Future",
title: "The ReScript Programming Language",
ogImage: "https://res.cloudinary.com/dmm9n7v9f/image/upload/v1598616442/Reason%20Association/rescript-lang.org/Art-3-rescript-launch_ovoibg.jpg"
ogImage: "/static/Art-3-rescript-launch.jpg"
}), React.createElement("div", {
className: "mt-4 xs:mt-16"
}, React.createElement("div", {
Expand Down
2 changes: 1 addition & 1 deletion src/layouts/LandingPageLayout.res
Original file line number Diff line number Diff line change
Expand Up @@ -742,7 +742,7 @@ let make = (~components=Markdown.default, ~children) => {
title="The ReScript Programming Language"
description="Fast, Simple, Fully Typed JavaScript from the Future"
keywords=["ReScript", "rescriptlang", "JavaScript", "JS", "TypeScript"]
ogImage="https://res.cloudinary.com/dmm9n7v9f/image/upload/v1598616442/Reason%20Association/rescript-lang.org/Art-3-rescript-launch_ovoibg.jpg"
ogImage="/static/Art-3-rescript-launch.jpg"
/>
<div className="mt-4 xs:mt-16">
<div className="text-gray-80 text-18">
Expand Down