Skip to content

Commit 7746bde

Browse files
authored
Remove cloudinary references and vendor images (#416)
* Remove cloudinary references and vendor images * Fix breaking images
1 parent 25a2b2b commit 7746bde

37 files changed

+27
-35
lines changed

_blogposts/2020-08-28-new-rescript-logo.mdx

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
author: made_by_betty
33
date: "2020-08-27"
44
title: "A New Logo for ReScript"
5-
previewImg: https://res.cloudinary.com/dmm9n7v9f/image/upload/v1598616442/Reason%20Association/rescript-lang.org/Art-3-rescript-launch_ovoibg.jpg
6-
articleImg: https://res.cloudinary.com/dmm9n7v9f/image/upload/v1598616442/Reason%20Association/rescript-lang.org/ReScript-3_by4q2u.jpg
5+
articleImg: /static/blog/rescript-launch/ReScript-3.jpg
76
description: |
87
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!
98
---
@@ -17,7 +16,7 @@ ReScript is the evolution and fusion of Reason and BuckleScript. As we're a desi
1716
Here it is!
1817

1918

20-
<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"/>
19+
<Image withShadow={false} src="/static/blog/rescript-launch/ReScript-1.jpg" caption="Comparison between the Reason, BuckleScript and ReScript logos"/>
2120

2221

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

2928
The new logo addresses all these and more:
3029

31-
<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"/>
30+
<Image withShadow={false} src="/static/blog/rescript-launch/ReScript-2.jpg" caption="Logo comparison on social media"/>
3231

3332
## Creating Meaning Through Simple Shapes
3433

3534
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.
3635

3736

38-
<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"/>
37+
<Image withShadow={false} src="/static/blog/rescript-launch/ReScript-4.jpg" caption="ReScript logo variations and usage examples"/>
3938

4039

4140
**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.

_blogposts/2020-11-26-editor-support-release-1-0.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
author: rescript-team
33
date: "2020-11-26"
4-
previewImg: https://res.cloudinary.com/dmm9n7v9f/image/upload/v1606399719/Reason%20Association/rescript-lang.org/editor_support_preview_mcgpfo.jpg
5-
articleImg: https://res.cloudinary.com/dmm9n7v9f/image/upload/v1606399722/Reason%20Association/rescript-lang.org/editor_support_article_rnlmxj.jpg
4+
previewImg: /static/blog/editor_support_preview.jpg
5+
articleImg: /static/blog/editor_support_article.jpg
66
badge: release
77
title: "Editor Plugin for VSCode and Vim Officially Released!"
88
description: |
@@ -32,4 +32,4 @@ We'll keep on iterating on the polish of the plugins, and release better [Sublim
3232

3333
Happy thanksgiving!
3434

35-
<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)"/>
35+
<Image withShadow={false} src="/static/blog/editor_support_article.jpg" caption="ReScript now offers autocompletion for VSCode and neovim (Sublime coming soon)"/>

_blogposts/2021-02-09-release-9-0.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
author: hongbo
33
date: "2021-02-09"
4-
previewImg: https://res.cloudinary.com/dmm9n7v9f/image/upload/v1612974395/Reason%20Association/rescript-lang.org/compiler_release_9_0_szd11o.jpg
4+
previewImg: /static/blog/compiler_release_9_0.jpg
55
title: ReScript 9.0
66
badge: release
77
description: |

_blogposts/2021-03-03-rescript-association-rebranding.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
author: rescript-association
33
date: "2021-03-03"
4-
previewImg: "https://res.cloudinary.com/dmm9n7v9f/image/upload/v1614782716/Reason%20Association/rescript-lang.org/ReScript_Rename_Header_kf10pl.jpg"
4+
previewImg: /static/blog/rescript_assoc_rename_preview.jpg
55
title: The ReScript Association
66
description: |
77
After the rebranding of ReScript, its Reason Association has now followed through to become the ReScript Association.

_blogposts/2021-05-07-release-9-1.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
author: rescript-team
33
date: "2021-05-07"
4-
previewImg: https://res.cloudinary.com/dmm9n7v9f/image/upload/v1620295955/Reason%20Association/rescript-lang.org/compiler_release_9_1_lu5oac.jpg
4+
previewImg: /static/blog/compiler_release_9_1.jpg
55
title: ReScript 9.1
66
badge: release
77
description: |

_blogposts/archive/2020-04-13-bucklescript-release-7-3.mdx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
---
22
author: hongbo
33
date: "2020-04-13"
4-
previewImg: https://res.cloudinary.com/dmm9n7v9f/image/upload/v1587472539/Reason%20Association/reasonml.org/reasonml_art1_1280_zfwnyo.png
5-
articleImg: https://res.cloudinary.com/dmm9n7v9f/image/upload/v1587024325/Reason%20Association/reasonml.org/jessica-knowlden-WVC6iAZHP0k-unsplash_t86jzt.jpg
64
badge: release
75
title: Announcing BuckleScript 7.3
86
description: |

_blogposts/archive/2020-05-06-state-of-reasonml-org-2020-q2-pt1.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
author: ryyppy
33
date: "2020-05-06"
4-
previewImg: https://res.cloudinary.com/dmm9n7v9f/image/upload/v1588759056/Reason%20Association/reasonml.org/state-of-reasonml-org-q2-2020_ngvmtc.jpg
5-
articleImg: https://res.cloudinary.com/dmm9n7v9f/image/upload/v1588599051/Reason%20Association/reasonml.org/state-of-reasonml-pt1-hero_m3n6wy.jpg
4+
previewImg: /static/blog/archive/state-of-reasonml-org-q2-2020.jpg
5+
articleImg: /static/blog/archive/state-of-reasonml-pt1-hero.jpg
66
title: State of reasonml.org 2020-Q2 / Pt. 1
77
description: |
88
A report on recent achievements in the reasonml.org project and what
@@ -50,7 +50,7 @@ Building a documentation platform for a whole language ecosystem involves a lot
5050
### The Structure and Design
5151
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.
5252

53-
<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"/>
53+
<Image withShadow={true} src="/static/blog/archive/reasonml-org-color-palette-retina.jpg" caption="Current state of the reasonml.org color palette"/>
5454

5555
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.
5656

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

7171
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.
7272

73-
<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"/>
73+
<Image withShadow={true} src="/static/blog/archive/reasonml-org-structure-retina.jpg" caption="First hand-sketches of the reasonml.org structure"/>
7474

7575
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.
7676

_blogposts/archive/2020-05-11-state-of-reasonml-org-2020-q2-pt2.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
author: ryyppy
33
date: "2020-05-11"
4-
previewImg: https://res.cloudinary.com/dmm9n7v9f/image/upload/v1588759056/Reason%20Association/reasonml.org/state-of-reasonml-org-q2-2020_ngvmtc.jpg
5-
articleImg: https://res.cloudinary.com/dmm9n7v9f/image/upload/v1588865899/Reason%20Association/reasonml.org/state-of-reasonml-2020-q2-pt2-articleimg_rmeaka.jpg
4+
previewImg: /static/blog/archive/state-of-reasonml-org-q2-2020.jpg
5+
articleImg: /static/blog/archive/state-of-reasonml-2020-q2-pt2-articleimg.jpg
66
title: State of reasonml.org 2020-Q2 / Pt. 2
77
description: |
88
A report on recent achievements in the reasonml.org project. This part is all

_blogposts/archive/2020-05-12-state-of-reasonml-org-2020-q2-pt3.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
author: ryyppy
33
date: "2020-05-12"
4-
previewImg: https://res.cloudinary.com/dmm9n7v9f/image/upload/v1588759056/Reason%20Association/reasonml.org/state-of-reasonml-org-q2-2020_ngvmtc.jpg
4+
previewImg: /static/blog/archive/state-of-reasonml-org-q2-2020.jpg
55
title: State of reasonml.org 2020-Q2 / Pt. 3
66
description: |
77
A report on recent achievements in the reasonml.org project. In this part we
@@ -37,15 +37,15 @@ We don't have any **search functionality** yet, and this will take some more tim
3737

3838
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.
3939

40-
<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" />
40+
<Image src="/static/blog/archive/search-mockup.jpg" withShadow={true} caption="A unified search overlay mockup for prose & API content" />
4141

4242
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.
4343

4444
## Playground
4545

4646
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.
4747

48-
<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)" />
48+
<Image src="/static/blog/archive/playground-mockup.jpg" withShadow={true} caption="UI mockup for the new playground (Desktop version)" />
4949

5050
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.
5151

_blogposts/archive/2020-05-15-state-of-reasonml-org-2020-q2-pt4.mdx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
---
22
author: ryyppy
33
date: "2020-05-15"
4-
previewImg: https://res.cloudinary.com/dmm9n7v9f/image/upload/v1588759056/Reason%20Association/reasonml.org/state-of-reasonml-org-q2-2020_ngvmtc.jpg
5-
articleImg: https://res.cloudinary.com/dmm9n7v9f/image/upload/v1589395424/Reason%20Association/reasonml.org/state-of-reasonml-pt4-articleimg_jnp5mj.jpg
4+
previewImg: /static/blog/archive/state-of-reasonml-org-q2-2020.jpg
65
title: State of reasonml.org 2020-Q2 / Pt. 4
76
description: |
87
A report on recent achievements in the reasonml.org project.
@@ -48,7 +47,7 @@ In the past few months, we observed more and more newcomers getting into the Buc
4847

4948
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.
5049

51-
<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)"/>
50+
<Image src="/static/blog/archive/youtube-search-reasonml.jpg" withShadow={true} caption="Top hits on Youtube for 'reasonml' (not logged in, anonymous browser session)"/>
5251

5352
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.
5453

_blogposts/archive/2020-07-01-bucklescript-8-1-new-syntax.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
---
22
author: chenglou
33
date: "2020-07-01"
4-
previewImg: https://res.cloudinary.com/dmm9n7v9f/image/upload/v1587472539/Reason%20Association/reasonml.org/reasonml_art1_1280_zfwnyo.png
54
badge: release
65
title: "A New Syntax for BuckleScript"
76
description: |
327 KB
Loading
91.6 KB
Loading
Loading
Loading
46.3 KB
Loading
Loading
Loading
Loading
Loading
Loading
79.1 KB
Loading
74.1 KB
Loading
135 KB
Loading
105 KB
Loading
207 KB
Loading
Loading
Loading
Loading
Loading
Loading

src/Blog.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import * as Navigation from "./components/Navigation.mjs";
1616
import * as Caml_option from "rescript/lib/es6/caml_option.js";
1717
import * as BlogFrontmatter from "./common/BlogFrontmatter.mjs";
1818

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

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

src/Blog.res

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,7 @@
1515

1616
module Link = Next.Link
1717

18-
let _rescriptDefaultImg = "https://res.cloudinary.com/dmm9n7v9f/image/upload/v1598616442/reason%20association/rescript-lang.org/art-3-rescript-launch_ovoibg.jpg"
19-
let _planetPreviewImg = "https://res.cloudinary.com/dmm9n7v9f/image/upload/v1587479463/Reason%20Association/reasonml.org/reasonml_art2_1280_vhzxnz.png"
20-
21-
let defaultPreviewImg = "https://res.cloudinary.com/dmm9n7v9f/image/upload/v1598616442/Reason%20Association/rescript-lang.org/Art-3-rescript-launch_ovoibg.jpg"
18+
let defaultPreviewImg = "/static/Art-3-rescript-launch.jpg"
2219

2320
// For encoding reasons, see https://shripadk.github.io/react/docs/jsx-gotchas.html
2421
let middleDotSpacer = " " ++ (Js.String.fromCharCode(183) ++ " ")

src/common/BlogFrontmatter.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ var authors = [
4747
username: "made_by_betty",
4848
fullname: "Bettina Steinbrecher",
4949
role: "Brand / UI / UX",
50-
imgUrl: "https://res.cloudinary.com/dmm9n7v9f/image/upload/v1598547954/Reason%20Association/betty-blog-img_rmckam.jpg",
50+
imgUrl: "https://pbs.twimg.com/profile_images/1366785342704136195/3IGyRhV1_400x400.jpg",
5151
twitter: "made_by_betty"
5252
},
5353
{

src/common/BlogFrontmatter.res

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ let authors = [
4646
username: "made_by_betty",
4747
fullname: "Bettina Steinbrecher",
4848
role: "Brand / UI / UX",
49-
imgUrl: "https://res.cloudinary.com/dmm9n7v9f/image/upload/v1598547954/Reason%20Association/betty-blog-img_rmckam.jpg",
49+
imgUrl: "https://pbs.twimg.com/profile_images/1366785342704136195/3IGyRhV1_400x400.jpg",
5050
twitter: "made_by_betty",
5151
},
5252
{

src/layouts/LandingPageLayout.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -580,7 +580,7 @@ function LandingPageLayout(Props) {
580580
],
581581
description: "Fast, Simple, Fully Typed JavaScript from the Future",
582582
title: "The ReScript Programming Language",
583-
ogImage: "https://res.cloudinary.com/dmm9n7v9f/image/upload/v1598616442/Reason%20Association/rescript-lang.org/Art-3-rescript-launch_ovoibg.jpg"
583+
ogImage: "/static/Art-3-rescript-launch.jpg"
584584
}), React.createElement("div", {
585585
className: "mt-4 xs:mt-16"
586586
}, React.createElement("div", {

src/layouts/LandingPageLayout.res

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -742,7 +742,7 @@ let make = (~components=Markdown.default, ~children) => {
742742
title="The ReScript Programming Language"
743743
description="Fast, Simple, Fully Typed JavaScript from the Future"
744744
keywords=["ReScript", "rescriptlang", "JavaScript", "JS", "TypeScript"]
745-
ogImage="https://res.cloudinary.com/dmm9n7v9f/image/upload/v1598616442/Reason%20Association/rescript-lang.org/Art-3-rescript-launch_ovoibg.jpg"
745+
ogImage="/static/Art-3-rescript-launch.jpg"
746746
/>
747747
<div className="mt-4 xs:mt-16">
748748
<div className="text-gray-80 text-18">

0 commit comments

Comments
 (0)