diff --git a/app/routes/TryRoute.res b/app/routes/TryRoute.res
index 799a83423..d3636e6f6 100644
--- a/app/routes/TryRoute.res
+++ b/app/routes/TryRoute.res
@@ -55,7 +55,7 @@ let default = () => {
let data = ReactRouter.useLoaderData()
<>
{switch data {
diff --git a/image-converter.config.mjs b/image-converter.config.mjs
new file mode 100644
index 000000000..4b1a9ecf1
--- /dev/null
+++ b/image-converter.config.mjs
@@ -0,0 +1,9 @@
+export default {
+ dir: "public", // Directory to scan for images
+ converted: "*.{png,jpg,jpeg}", // Glob pattern for source image files to convert
+ format: "avif", // Output image format: 'webp' or 'avif'
+ quality: 80, // Quality of output images (0–100)
+ recursive: true, // Whether to search subdirectories recursively
+ removeOriginal: true, // Delete original files after successful conversion
+ ignoreOnStart: false, // If true, ignore existing files on watcher startup
+};
diff --git a/markdown-pages/blog/archived/bucklescript-release-3-1-0.mdx b/markdown-pages/blog/archived/bucklescript-release-3-1-0.mdx
index 2e42738ca..417c242f6 100644
--- a/markdown-pages/blog/archived/bucklescript-release-3-1-0.mdx
+++ b/markdown-pages/blog/archived/bucklescript-release-3-1-0.mdx
@@ -20,14 +20,14 @@ A picture's worth a thousand words:
**Before:**
**After:**
diff --git a/markdown-pages/blog/archived/bucklescript-release-4-0-17.mdx b/markdown-pages/blog/archived/bucklescript-release-4-0-17.mdx
index 001bcc61a..54b3c6b5f 100644
--- a/markdown-pages/blog/archived/bucklescript-release-4-0-17.mdx
+++ b/markdown-pages/blog/archived/bucklescript-release-4-0-17.mdx
@@ -17,7 +17,7 @@ A picture is worth a thousand words, below is a large monorepo which contains
4096 modules, changing the root node which has more than 3000 dependents, it
finished building within 400ms.
-
+
We will write a dedicated article explaining how we achieve this incredible
build performance.
diff --git a/markdown-pages/blog/archived/bucklescript-release-5-1-0.mdx b/markdown-pages/blog/archived/bucklescript-release-5-1-0.mdx
index 250206a28..70016eac9 100644
--- a/markdown-pages/blog/archived/bucklescript-release-5-1-0.mdx
+++ b/markdown-pages/blog/archived/bucklescript-release-5-1-0.mdx
@@ -80,11 +80,11 @@ can be loaded into chrome via `chrome://tracing`.
Below is a profile image that shows the tracing graph for a large project:
-
+
And you can zoom-in to see more details:
-
+
## Support of ppx with arguments
@@ -128,10 +128,10 @@ using `bstracing` to show a comparison of clean building a large project around
Version 5.0.6 (around 4.8s)
-
+
Version 5.1.0 (around 4.2s)
-
+
Happy hacking!
diff --git a/markdown-pages/blog/archived/bucklescript-release-5-2-0.mdx b/markdown-pages/blog/archived/bucklescript-release-5-2-0.mdx
index 34b57722a..5d5a8592d 100644
--- a/markdown-pages/blog/archived/bucklescript-release-5-2-0.mdx
+++ b/markdown-pages/blog/archived/bucklescript-release-5-2-0.mdx
@@ -38,7 +38,7 @@ system more valuable to JS target.
Below is an image showing the diff in this release
-
+
As you can see, the `id` module changed from an array into an JS object.
@@ -57,7 +57,7 @@ annotate the generated JS code with its names.
Below is an image showing the diff in this release
-
+
In the future, we will explore if we can produce such annotation in the runtime without losing efficiency.
@@ -72,7 +72,7 @@ including lazy evaluation, if branches and pattern match.
In particular, we added a data-flow pass to eliminate non-necessary staticfail
case.
-
+
## Important bug fixes
diff --git a/markdown-pages/blog/archived/generalize-uncurry.mdx b/markdown-pages/blog/archived/generalize-uncurry.mdx
index 3214783ca..63e292ae2 100644
--- a/markdown-pages/blog/archived/generalize-uncurry.mdx
+++ b/markdown-pages/blog/archived/generalize-uncurry.mdx
@@ -53,17 +53,17 @@ message leaks the underlying encoding -- now all those limitations are gone!
**Previously:**
@@ -72,11 +72,14 @@ The error messages above are cryptic and hard to understand. And the limitation
Now those limitations are all gone, you can have polymorphic uncurried recursive functions and it support labels.
-
+
The error message is also enhanced significantly
diff --git a/markdown-pages/blog/archived/state-of-reasonml-org-2020-q2-pt1.mdx b/markdown-pages/blog/archived/state-of-reasonml-org-2020-q2-pt1.mdx
index 526534f71..be24d356a 100644
--- a/markdown-pages/blog/archived/state-of-reasonml-org-2020-q2-pt1.mdx
+++ b/markdown-pages/blog/archived/state-of-reasonml-org-2020-q2-pt1.mdx
@@ -1,8 +1,8 @@
---
author: ryyppy
date: "2020-05-06"
-previewImg: /blog/archive/state-of-reasonml-org-q2-2020.jpg
-articleImg: /blog/archive/state-of-reasonml-pt1-hero.jpg
+previewImg: /blog/archive/state-of-reasonml-org-q2-2020.avif
+articleImg: /blog/archive/state-of-reasonml-pt1-hero.avif
title: State of reasonml.org 2020-Q2 / Pt. 1
description: |
A report on recent achievements in the reasonml.org project and what
@@ -51,7 +51,7 @@ The initial work was mostly about understanding the information architecture, re
@@ -75,7 +75,7 @@ Our goal is to have a properly curated, well structured and streamlined overview
diff --git a/markdown-pages/blog/archived/state-of-reasonml-org-2020-q2-pt2.mdx b/markdown-pages/blog/archived/state-of-reasonml-org-2020-q2-pt2.mdx
index a33eaf65b..7407d8204 100644
--- a/markdown-pages/blog/archived/state-of-reasonml-org-2020-q2-pt2.mdx
+++ b/markdown-pages/blog/archived/state-of-reasonml-org-2020-q2-pt2.mdx
@@ -1,8 +1,8 @@
---
author: ryyppy
date: "2020-05-11"
-previewImg: /blog/archive/state-of-reasonml-org-q2-2020.jpg
-articleImg: /blog/archive/state-of-reasonml-2020-q2-pt2-articleimg.jpg
+previewImg: /blog/archive/state-of-reasonml-org-q2-2020.avif
+articleImg: /blog/archive/state-of-reasonml-2020-q2-pt2-articleimg.avif
title: State of reasonml.org 2020-Q2 / Pt. 2
description: |
A report on recent achievements in the reasonml.org project. This part is all
diff --git a/markdown-pages/blog/archived/state-of-reasonml-org-2020-q2-pt3.mdx b/markdown-pages/blog/archived/state-of-reasonml-org-2020-q2-pt3.mdx
index bda4c9b65..14bfb3dad 100644
--- a/markdown-pages/blog/archived/state-of-reasonml-org-2020-q2-pt3.mdx
+++ b/markdown-pages/blog/archived/state-of-reasonml-org-2020-q2-pt3.mdx
@@ -1,7 +1,7 @@
---
author: ryyppy
date: "2020-05-12"
-previewImg: /blog/archive/state-of-reasonml-org-q2-2020.jpg
+previewImg: /blog/archive/state-of-reasonml-org-q2-2020.avif
title: State of reasonml.org 2020-Q2 / Pt. 3
description: |
A report on recent achievements in the reasonml.org project. In this part we
@@ -35,7 +35,7 @@ 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.
@@ -47,7 +47,7 @@ We did the ground work for our search feature and we will get into more detail a
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.
diff --git a/markdown-pages/blog/archived/state-of-reasonml-org-2020-q2-pt4.mdx b/markdown-pages/blog/archived/state-of-reasonml-org-2020-q2-pt4.mdx
index a9e0d5de3..4a5972534 100644
--- a/markdown-pages/blog/archived/state-of-reasonml-org-2020-q2-pt4.mdx
+++ b/markdown-pages/blog/archived/state-of-reasonml-org-2020-q2-pt4.mdx
@@ -1,7 +1,7 @@
---
author: ryyppy
date: "2020-05-15"
-previewImg: /blog/archive/state-of-reasonml-org-q2-2020.jpg
+previewImg: /blog/archive/state-of-reasonml-org-q2-2020.avif
title: State of reasonml.org 2020-Q2 / Pt. 4
description: |
A report on recent achievements in the reasonml.org project.
@@ -45,7 +45,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.
diff --git a/markdown-pages/blog/editor-support-release-1-0.mdx b/markdown-pages/blog/editor-support-release-1-0.mdx
index 03623287d..59b272282 100644
--- a/markdown-pages/blog/editor-support-release-1-0.mdx
+++ b/markdown-pages/blog/editor-support-release-1-0.mdx
@@ -1,8 +1,8 @@
---
author: rescript-team
date: "2020-11-26"
-previewImg: /blog/editor_support_preview.jpg
-articleImg: /blog/editor_support_article.jpg
+previewImg: /blog/editor_support_preview.avif
+articleImg: /blog/editor_support_article.avif
badge: release
title: "Editor Plugin for VSCode and Vim Officially Released!"
description: |
@@ -34,6 +34,6 @@ Happy thanksgiving!
diff --git a/markdown-pages/blog/new-rescript-logo.mdx b/markdown-pages/blog/new-rescript-logo.mdx
index 1eaf93ec9..4e70c70ef 100644
--- a/markdown-pages/blog/new-rescript-logo.mdx
+++ b/markdown-pages/blog/new-rescript-logo.mdx
@@ -2,7 +2,7 @@
author: made_by_betty
date: "2020-08-27"
title: "A New Logo for ReScript"
-articleImg: /blog/rescript-launch/ReScript-3.jpg
+articleImg: /blog/rescript-launch/ReScript-3.avif
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!
---
@@ -15,7 +15,7 @@ Here it is!
@@ -30,7 +30,7 @@ The new logo addresses all these and more:
@@ -40,7 +40,7 @@ A minimal logo design is achieved by putting aside all distractions while focusi
diff --git a/markdown-pages/blog/release-10-0-0.mdx b/markdown-pages/blog/release-10-0-0.mdx
index 1403ffe70..34009e174 100644
--- a/markdown-pages/blog/release-10-0-0.mdx
+++ b/markdown-pages/blog/release-10-0-0.mdx
@@ -1,7 +1,7 @@
---
author: rescript-team
date: "2022-08-25"
-previewImg: /blog/grid_0.jpeg
+previewImg: /blog/grid_0.avif
title: ReScript 10.0
badge: release
description: |
diff --git a/markdown-pages/blog/release-11-0-0.mdx b/markdown-pages/blog/release-11-0-0.mdx
index 955d6dba5..8cdf56518 100644
--- a/markdown-pages/blog/release-11-0-0.mdx
+++ b/markdown-pages/blog/release-11-0-0.mdx
@@ -1,7 +1,7 @@
---
author: rescript-team
date: "2024-01-11"
-previewImg: /blog/compiler_release_11_0.jpg
+previewImg: /blog/compiler_release_11_0.avif
title: ReScript 11.0
badge: release
description: |
diff --git a/markdown-pages/blog/release-11-1-0.mdx b/markdown-pages/blog/release-11-1-0.mdx
index d032b6138..fe5526384 100644
--- a/markdown-pages/blog/release-11-1-0.mdx
+++ b/markdown-pages/blog/release-11-1-0.mdx
@@ -1,7 +1,7 @@
---
author: rescript-team
date: "2024-04-19"
-previewImg: /blog/compiler_release_11_1.jpg
+previewImg: /blog/compiler_release_11_1.avif
title: ReScript 11.1
badge: release
description: |
diff --git a/markdown-pages/blog/release-9-0.mdx b/markdown-pages/blog/release-9-0.mdx
index 9f9b31561..b13d54359 100644
--- a/markdown-pages/blog/release-9-0.mdx
+++ b/markdown-pages/blog/release-9-0.mdx
@@ -1,7 +1,7 @@
---
author: hongbo
date: "2021-02-09"
-previewImg: /blog/compiler_release_9_0.jpg
+previewImg: /blog/compiler_release_9_0.avif
title: ReScript 9.0
badge: release
description: |
diff --git a/markdown-pages/blog/release-9-1.mdx b/markdown-pages/blog/release-9-1.mdx
index 105400ecf..489f81dd5 100644
--- a/markdown-pages/blog/release-9-1.mdx
+++ b/markdown-pages/blog/release-9-1.mdx
@@ -1,7 +1,7 @@
---
author: rescript-team
date: "2021-05-07"
-previewImg: /blog/compiler_release_9_1.jpg
+previewImg: /blog/compiler_release_9_1.avif
title: ReScript 9.1
badge: release
description: |
diff --git a/markdown-pages/blog/rescript-association-rebranding.mdx b/markdown-pages/blog/rescript-association-rebranding.mdx
index 550ed3edf..ecd8bc8e8 100644
--- a/markdown-pages/blog/rescript-association-rebranding.mdx
+++ b/markdown-pages/blog/rescript-association-rebranding.mdx
@@ -1,7 +1,7 @@
---
author: rescript-association
date: "2021-03-03"
-previewImg: /blog/rescript_assoc_rename_preview.jpg
+previewImg: /blog/rescript_assoc_rename_preview.avif
title: The ReScript Association
description: |
After the rebranding of ReScript, its Reason Association has now followed through to become the ReScript Association.
diff --git a/markdown-pages/blog/retreats.mdx b/markdown-pages/blog/retreats.mdx
index 385d08d97..b43c5f0e9 100644
--- a/markdown-pages/blog/retreats.mdx
+++ b/markdown-pages/blog/retreats.mdx
@@ -1,8 +1,8 @@
---
author: rescript-association
date: "2025-03-17"
-previewImg: /blog/rescript_retreat_2024.jpg
-articleImg: /blog/rescript_retreat_2024.jpg
+previewImg: /blog/rescript_retreat_2024.avif
+articleImg: /blog/rescript_retreat_2024.avif
title: ReScript Retreat
description: |
Accelerating ReScript development through meeting in-person.
@@ -17,7 +17,7 @@ Last year, from the 23rd to the 26th of May, the ReScript Association invited ma
## Talks
@@ -32,7 +32,7 @@ Not everybody is on the same level of knowledge about the parser, compiler or ot
## Group work
@@ -71,7 +71,7 @@ After every hard working day, we finished the day with a nice dinner.
For instance, one day we gathered together at a viennese winery in the evening.
diff --git a/markdown-pages/blog/roadmap-2021-and-new-landing-page.mdx b/markdown-pages/blog/roadmap-2021-and-new-landing-page.mdx
index 4ef058a71..036e73c85 100644
--- a/markdown-pages/blog/roadmap-2021-and-new-landing-page.mdx
+++ b/markdown-pages/blog/roadmap-2021-and-new-landing-page.mdx
@@ -41,7 +41,7 @@ The detailed roadmap with all our planned changes (and definition of our release
After several iterations, we are happy to announce our new [landing page](/).
diff --git a/markdown-pages/docs/manual/build-performance.mdx b/markdown-pages/docs/manual/build-performance.mdx
index 918b4600e..3f743a400 100644
--- a/markdown-pages/docs/manual/build-performance.mdx
+++ b/markdown-pages/docs/manual/build-performance.mdx
@@ -23,7 +23,7 @@ Run the above command at your ReScript project's root; it'll spit out a JSON fil
diff --git a/package.json b/package.json
index 99a544f7c..106eebf84 100644
--- a/package.json
+++ b/package.json
@@ -22,7 +22,8 @@
"generate-llms": "node scripts/generate_llms.mjs",
"format": "prettier . --write --experimental-cli && rescript format",
"ci:format": "prettier . --check --experimental-cli",
- "preview": "yarn build && static-server build/client"
+ "preview": "yarn build && static-server build/client",
+ "convert-images": "auto-convert-images"
},
"dependencies": {
"@babel/generator": "^7.24.7",
@@ -77,6 +78,7 @@
"@tailwindcss/vite": "^4.1.13",
"@types/react": "^19.2.2",
"@vitejs/plugin-react": "^4.7.0",
+ "auto-image-converter": "^2.1.2",
"chokidar": "^4.0.3",
"dotenv": "^16.4.7",
"jsdom": "^26.1.0",
diff --git a/public/Art-3-rescript-launch.avif b/public/Art-3-rescript-launch.avif
new file mode 100644
index 000000000..b521ba624
Binary files /dev/null and b/public/Art-3-rescript-launch.avif differ
diff --git a/public/Art-3-rescript-launch.jpg b/public/Art-3-rescript-launch.jpg
deleted file mode 100644
index dc70c167b..000000000
Binary files a/public/Art-3-rescript-launch.jpg and /dev/null differ
diff --git a/public/blog/archive/label-error.avif b/public/blog/archive/label-error.avif
new file mode 100644
index 000000000..4c6c414d3
Binary files /dev/null and b/public/blog/archive/label-error.avif differ
diff --git a/public/blog/archive/label-error.png b/public/blog/archive/label-error.png
deleted file mode 100644
index b74794db5..000000000
Binary files a/public/blog/archive/label-error.png and /dev/null differ
diff --git a/public/blog/archive/playground-mockup.avif b/public/blog/archive/playground-mockup.avif
new file mode 100644
index 000000000..310eacb11
Binary files /dev/null and b/public/blog/archive/playground-mockup.avif differ
diff --git a/public/blog/archive/playground-mockup.jpg b/public/blog/archive/playground-mockup.jpg
deleted file mode 100644
index 0cee9f45c..000000000
Binary files a/public/blog/archive/playground-mockup.jpg and /dev/null differ
diff --git a/public/blog/archive/poly-error.avif b/public/blog/archive/poly-error.avif
new file mode 100644
index 000000000..411b37bc3
Binary files /dev/null and b/public/blog/archive/poly-error.avif differ
diff --git a/public/blog/archive/poly-error.png b/public/blog/archive/poly-error.png
deleted file mode 100644
index 18b5855a4..000000000
Binary files a/public/blog/archive/poly-error.png and /dev/null differ
diff --git a/public/blog/archive/reasonml-org-color-palette-retina.avif b/public/blog/archive/reasonml-org-color-palette-retina.avif
new file mode 100644
index 000000000..f23f71532
Binary files /dev/null and b/public/blog/archive/reasonml-org-color-palette-retina.avif differ
diff --git a/public/blog/archive/reasonml-org-color-palette-retina.jpg b/public/blog/archive/reasonml-org-color-palette-retina.jpg
deleted file mode 100644
index 1ccb93e07..000000000
Binary files a/public/blog/archive/reasonml-org-color-palette-retina.jpg and /dev/null differ
diff --git a/public/blog/archive/reasonml-org-structure-retina.avif b/public/blog/archive/reasonml-org-structure-retina.avif
new file mode 100644
index 000000000..025b337ad
Binary files /dev/null and b/public/blog/archive/reasonml-org-structure-retina.avif differ
diff --git a/public/blog/archive/reasonml-org-structure-retina.jpg b/public/blog/archive/reasonml-org-structure-retina.jpg
deleted file mode 100644
index 1c56d49e6..000000000
Binary files a/public/blog/archive/reasonml-org-structure-retina.jpg and /dev/null differ
diff --git a/public/blog/archive/recursive-error.avif b/public/blog/archive/recursive-error.avif
new file mode 100644
index 000000000..0f8292439
Binary files /dev/null and b/public/blog/archive/recursive-error.avif differ
diff --git a/public/blog/archive/recursive-error.png b/public/blog/archive/recursive-error.png
deleted file mode 100644
index d8cdcd5a6..000000000
Binary files a/public/blog/archive/recursive-error.png and /dev/null differ
diff --git a/public/blog/archive/recursive.avif b/public/blog/archive/recursive.avif
new file mode 100644
index 000000000..f7a5b1423
Binary files /dev/null and b/public/blog/archive/recursive.avif differ
diff --git a/public/blog/archive/recursive.png b/public/blog/archive/recursive.png
deleted file mode 100644
index f7ba165ff..000000000
Binary files a/public/blog/archive/recursive.png and /dev/null differ
diff --git a/public/blog/archive/search-mockup.avif b/public/blog/archive/search-mockup.avif
new file mode 100644
index 000000000..465e3cd10
Binary files /dev/null and b/public/blog/archive/search-mockup.avif differ
diff --git a/public/blog/archive/search-mockup.jpg b/public/blog/archive/search-mockup.jpg
deleted file mode 100644
index 3314744cb..000000000
Binary files a/public/blog/archive/search-mockup.jpg and /dev/null differ
diff --git a/public/blog/archive/state-of-reasonml-2020-q2-pt2-articleimg.avif b/public/blog/archive/state-of-reasonml-2020-q2-pt2-articleimg.avif
new file mode 100644
index 000000000..b2e76b1a3
Binary files /dev/null and b/public/blog/archive/state-of-reasonml-2020-q2-pt2-articleimg.avif differ
diff --git a/public/blog/archive/state-of-reasonml-2020-q2-pt2-articleimg.jpg b/public/blog/archive/state-of-reasonml-2020-q2-pt2-articleimg.jpg
deleted file mode 100644
index a7e2c138f..000000000
Binary files a/public/blog/archive/state-of-reasonml-2020-q2-pt2-articleimg.jpg and /dev/null differ
diff --git a/public/blog/archive/state-of-reasonml-org-q2-2020.avif b/public/blog/archive/state-of-reasonml-org-q2-2020.avif
new file mode 100644
index 000000000..cee24edf8
Binary files /dev/null and b/public/blog/archive/state-of-reasonml-org-q2-2020.avif differ
diff --git a/public/blog/archive/state-of-reasonml-org-q2-2020.jpg b/public/blog/archive/state-of-reasonml-org-q2-2020.jpg
deleted file mode 100644
index b15543e88..000000000
Binary files a/public/blog/archive/state-of-reasonml-org-q2-2020.jpg and /dev/null differ
diff --git a/public/blog/archive/state-of-reasonml-pt1-hero.avif b/public/blog/archive/state-of-reasonml-pt1-hero.avif
new file mode 100644
index 000000000..ad528c32b
Binary files /dev/null and b/public/blog/archive/state-of-reasonml-pt1-hero.avif differ
diff --git a/public/blog/archive/state-of-reasonml-pt1-hero.jpg b/public/blog/archive/state-of-reasonml-pt1-hero.jpg
deleted file mode 100644
index 603ad1c40..000000000
Binary files a/public/blog/archive/state-of-reasonml-pt1-hero.jpg and /dev/null differ
diff --git a/public/blog/archive/state-of-reasonml-q1-2020-card.avif b/public/blog/archive/state-of-reasonml-q1-2020-card.avif
new file mode 100644
index 000000000..1ad594127
Binary files /dev/null and b/public/blog/archive/state-of-reasonml-q1-2020-card.avif differ
diff --git a/public/blog/archive/state-of-reasonml-q1-2020-card.jpg b/public/blog/archive/state-of-reasonml-q1-2020-card.jpg
deleted file mode 100644
index b098e55f5..000000000
Binary files a/public/blog/archive/state-of-reasonml-q1-2020-card.jpg and /dev/null differ
diff --git a/public/blog/archive/uncurry-label.avif b/public/blog/archive/uncurry-label.avif
new file mode 100644
index 000000000..96eb35e3d
Binary files /dev/null and b/public/blog/archive/uncurry-label.avif differ
diff --git a/public/blog/archive/uncurry-label.png b/public/blog/archive/uncurry-label.png
deleted file mode 100644
index d64c0d74c..000000000
Binary files a/public/blog/archive/uncurry-label.png and /dev/null differ
diff --git a/public/blog/archive/youtube-search-reasonml.avif b/public/blog/archive/youtube-search-reasonml.avif
new file mode 100644
index 000000000..3e1e8a2de
Binary files /dev/null and b/public/blog/archive/youtube-search-reasonml.avif differ
diff --git a/public/blog/archive/youtube-search-reasonml.jpg b/public/blog/archive/youtube-search-reasonml.jpg
deleted file mode 100644
index debb7e8e5..000000000
Binary files a/public/blog/archive/youtube-search-reasonml.jpg and /dev/null differ
diff --git a/public/blog/compiler_release_11_0.avif b/public/blog/compiler_release_11_0.avif
new file mode 100644
index 000000000..25fed5667
Binary files /dev/null and b/public/blog/compiler_release_11_0.avif differ
diff --git a/public/blog/compiler_release_11_0.jpg b/public/blog/compiler_release_11_0.jpg
deleted file mode 100644
index b6f86a211..000000000
Binary files a/public/blog/compiler_release_11_0.jpg and /dev/null differ
diff --git a/public/blog/compiler_release_11_1.avif b/public/blog/compiler_release_11_1.avif
new file mode 100644
index 000000000..55e5ba4e7
Binary files /dev/null and b/public/blog/compiler_release_11_1.avif differ
diff --git a/public/blog/compiler_release_11_1.jpg b/public/blog/compiler_release_11_1.jpg
deleted file mode 100644
index efece79a7..000000000
Binary files a/public/blog/compiler_release_11_1.jpg and /dev/null differ
diff --git a/public/blog/compiler_release_9_0.avif b/public/blog/compiler_release_9_0.avif
new file mode 100644
index 000000000..dd9ea985c
Binary files /dev/null and b/public/blog/compiler_release_9_0.avif differ
diff --git a/public/blog/compiler_release_9_0.jpg b/public/blog/compiler_release_9_0.jpg
deleted file mode 100644
index f5e500852..000000000
Binary files a/public/blog/compiler_release_9_0.jpg and /dev/null differ
diff --git a/public/blog/compiler_release_9_1.avif b/public/blog/compiler_release_9_1.avif
new file mode 100644
index 000000000..46115d6a5
Binary files /dev/null and b/public/blog/compiler_release_9_1.avif differ
diff --git a/public/blog/compiler_release_9_1.jpg b/public/blog/compiler_release_9_1.jpg
deleted file mode 100644
index 74910b5cf..000000000
Binary files a/public/blog/compiler_release_9_1.jpg and /dev/null differ
diff --git a/public/blog/editor_support_article.avif b/public/blog/editor_support_article.avif
new file mode 100644
index 000000000..6c7d51791
Binary files /dev/null and b/public/blog/editor_support_article.avif differ
diff --git a/public/blog/editor_support_article.jpg b/public/blog/editor_support_article.jpg
deleted file mode 100644
index bcfc3ecf7..000000000
Binary files a/public/blog/editor_support_article.jpg and /dev/null differ
diff --git a/public/blog/editor_support_preview.avif b/public/blog/editor_support_preview.avif
new file mode 100644
index 000000000..a62f81f1a
Binary files /dev/null and b/public/blog/editor_support_preview.avif differ
diff --git a/public/blog/editor_support_preview.jpg b/public/blog/editor_support_preview.jpg
deleted file mode 100644
index 904915822..000000000
Binary files a/public/blog/editor_support_preview.jpg and /dev/null differ
diff --git a/public/blog/grid_0.avif b/public/blog/grid_0.avif
new file mode 100644
index 000000000..dec21e030
Binary files /dev/null and b/public/blog/grid_0.avif differ
diff --git a/public/blog/grid_0.jpeg b/public/blog/grid_0.jpeg
deleted file mode 100644
index d0f00dc15..000000000
Binary files a/public/blog/grid_0.jpeg and /dev/null differ
diff --git a/public/blog/grid_0.jpeg:Zone.Identifier b/public/blog/grid_0.jpeg:Zone.Identifier
deleted file mode 100644
index 9e0b7a1b1..000000000
--- a/public/blog/grid_0.jpeg:Zone.Identifier
+++ /dev/null
@@ -1,4 +0,0 @@
-[ZoneTransfer]
-ZoneId=3
-ReferrerUrl=https://rescript-lang.org/blog
-HostUrl=https://rescript-lang.org/blog/grid_0.jpeg
diff --git a/public/blog/landing_page_figma.avif b/public/blog/landing_page_figma.avif
new file mode 100644
index 000000000..ff692ec24
Binary files /dev/null and b/public/blog/landing_page_figma.avif differ
diff --git a/public/blog/landing_page_figma.png b/public/blog/landing_page_figma.png
deleted file mode 100644
index b68b859bf..000000000
Binary files a/public/blog/landing_page_figma.png and /dev/null differ
diff --git a/public/blog/rescript-launch/ReScript-1.avif b/public/blog/rescript-launch/ReScript-1.avif
new file mode 100644
index 000000000..2787b04a8
Binary files /dev/null and b/public/blog/rescript-launch/ReScript-1.avif differ
diff --git a/public/blog/rescript-launch/ReScript-1.jpg b/public/blog/rescript-launch/ReScript-1.jpg
deleted file mode 100644
index 01cb7273d..000000000
Binary files a/public/blog/rescript-launch/ReScript-1.jpg and /dev/null differ
diff --git a/public/blog/rescript-launch/ReScript-2.avif b/public/blog/rescript-launch/ReScript-2.avif
new file mode 100644
index 000000000..278b1cfc0
Binary files /dev/null and b/public/blog/rescript-launch/ReScript-2.avif differ
diff --git a/public/blog/rescript-launch/ReScript-2.jpg b/public/blog/rescript-launch/ReScript-2.jpg
deleted file mode 100644
index d042543d2..000000000
Binary files a/public/blog/rescript-launch/ReScript-2.jpg and /dev/null differ
diff --git a/public/blog/rescript-launch/ReScript-3.avif b/public/blog/rescript-launch/ReScript-3.avif
new file mode 100644
index 000000000..ed2ddfc5a
Binary files /dev/null and b/public/blog/rescript-launch/ReScript-3.avif differ
diff --git a/public/blog/rescript-launch/ReScript-3.jpg b/public/blog/rescript-launch/ReScript-3.jpg
deleted file mode 100644
index dde261fe7..000000000
Binary files a/public/blog/rescript-launch/ReScript-3.jpg and /dev/null differ
diff --git a/public/blog/rescript-launch/ReScript-4.avif b/public/blog/rescript-launch/ReScript-4.avif
new file mode 100644
index 000000000..731d95c26
Binary files /dev/null and b/public/blog/rescript-launch/ReScript-4.avif differ
diff --git a/public/blog/rescript-launch/ReScript-4.jpg b/public/blog/rescript-launch/ReScript-4.jpg
deleted file mode 100644
index 03681942f..000000000
Binary files a/public/blog/rescript-launch/ReScript-4.jpg and /dev/null differ
diff --git a/public/blog/rescript_assoc_rename_preview.avif b/public/blog/rescript_assoc_rename_preview.avif
new file mode 100644
index 000000000..0988225c5
Binary files /dev/null and b/public/blog/rescript_assoc_rename_preview.avif differ
diff --git a/public/blog/rescript_assoc_rename_preview.jpg b/public/blog/rescript_assoc_rename_preview.jpg
deleted file mode 100644
index 349b3c9d4..000000000
Binary files a/public/blog/rescript_assoc_rename_preview.jpg and /dev/null differ
diff --git a/public/blog/rescript_retreat_2024.avif b/public/blog/rescript_retreat_2024.avif
new file mode 100644
index 000000000..478f1afda
Binary files /dev/null and b/public/blog/rescript_retreat_2024.avif differ
diff --git a/public/blog/rescript_retreat_2024.jpg b/public/blog/rescript_retreat_2024.jpg
deleted file mode 100644
index bf3d888bb..000000000
Binary files a/public/blog/rescript_retreat_2024.jpg and /dev/null differ
diff --git a/public/blog/rescript_retreat_2024_group_work.avif b/public/blog/rescript_retreat_2024_group_work.avif
new file mode 100644
index 000000000..e473a69f8
Binary files /dev/null and b/public/blog/rescript_retreat_2024_group_work.avif differ
diff --git a/public/blog/rescript_retreat_2024_group_work.jpg b/public/blog/rescript_retreat_2024_group_work.jpg
deleted file mode 100644
index aac2fb2e8..000000000
Binary files a/public/blog/rescript_retreat_2024_group_work.jpg and /dev/null differ
diff --git a/public/blog/rescript_retreat_2024_talk_parser.avif b/public/blog/rescript_retreat_2024_talk_parser.avif
new file mode 100644
index 000000000..125578ba5
Binary files /dev/null and b/public/blog/rescript_retreat_2024_talk_parser.avif differ
diff --git a/public/blog/rescript_retreat_2024_talk_parser.jpg b/public/blog/rescript_retreat_2024_talk_parser.jpg
deleted file mode 100644
index 12799842a..000000000
Binary files a/public/blog/rescript_retreat_2024_talk_parser.jpg and /dev/null differ
diff --git a/public/blog/rescript_retreat_2024_winery.avif b/public/blog/rescript_retreat_2024_winery.avif
new file mode 100644
index 000000000..0b56937f5
Binary files /dev/null and b/public/blog/rescript_retreat_2024_winery.avif differ
diff --git a/public/blog/rescript_retreat_2024_winery.jpg b/public/blog/rescript_retreat_2024_winery.jpg
deleted file mode 100644
index ca3b266c4..000000000
Binary files a/public/blog/rescript_retreat_2024_winery.jpg and /dev/null differ
diff --git a/public/blog/wizard_typing_on_a_keyboard_in_a_sea_of_lava_flowing_54e33c58-aa14-4f1d-8249-dae636dfc0e9.avif b/public/blog/wizard_typing_on_a_keyboard_in_a_sea_of_lava_flowing_54e33c58-aa14-4f1d-8249-dae636dfc0e9.avif
new file mode 100644
index 000000000..1a3b88425
Binary files /dev/null and b/public/blog/wizard_typing_on_a_keyboard_in_a_sea_of_lava_flowing_54e33c58-aa14-4f1d-8249-dae636dfc0e9.avif differ
diff --git a/public/blog/wizard_typing_on_a_keyboard_in_a_sea_of_lava_flowing_54e33c58-aa14-4f1d-8249-dae636dfc0e9.png b/public/blog/wizard_typing_on_a_keyboard_in_a_sea_of_lava_flowing_54e33c58-aa14-4f1d-8249-dae636dfc0e9.png
deleted file mode 100644
index 99b7fe58c..000000000
Binary files a/public/blog/wizard_typing_on_a_keyboard_in_a_sea_of_lava_flowing_54e33c58-aa14-4f1d-8249-dae636dfc0e9.png and /dev/null differ
diff --git a/public/brand/rescript-brandmark.avif b/public/brand/rescript-brandmark.avif
new file mode 100644
index 000000000..9482cfea9
Binary files /dev/null and b/public/brand/rescript-brandmark.avif differ
diff --git a/public/brand/rescript-brandmark.png b/public/brand/rescript-brandmark.png
deleted file mode 100644
index 945502e51..000000000
Binary files a/public/brand/rescript-brandmark.png and /dev/null differ
diff --git a/public/brand/rescript-logo-white.avif b/public/brand/rescript-logo-white.avif
new file mode 100644
index 000000000..b5204b277
Binary files /dev/null and b/public/brand/rescript-logo-white.avif differ
diff --git a/public/brand/rescript-logo-white.png b/public/brand/rescript-logo-white.png
deleted file mode 100644
index 7390a761a..000000000
Binary files a/public/brand/rescript-logo-white.png and /dev/null differ
diff --git a/public/brand/rescript-logo.avif b/public/brand/rescript-logo.avif
new file mode 100644
index 000000000..8870bc5ad
Binary files /dev/null and b/public/brand/rescript-logo.avif differ
diff --git a/public/brand/rescript-logo.png b/public/brand/rescript-logo.png
deleted file mode 100644
index 23391629e..000000000
Binary files a/public/brand/rescript-logo.png and /dev/null differ
diff --git a/public/favicon/android-chrome-192x192.avif b/public/favicon/android-chrome-192x192.avif
new file mode 100644
index 000000000..dff997210
Binary files /dev/null and b/public/favicon/android-chrome-192x192.avif differ
diff --git a/public/favicon/android-chrome-192x192.png b/public/favicon/android-chrome-192x192.png
deleted file mode 100644
index 22e3559ba..000000000
Binary files a/public/favicon/android-chrome-192x192.png and /dev/null differ
diff --git a/public/favicon/android-chrome-512x512.avif b/public/favicon/android-chrome-512x512.avif
new file mode 100644
index 000000000..01d37b8aa
Binary files /dev/null and b/public/favicon/android-chrome-512x512.avif differ
diff --git a/public/favicon/android-chrome-512x512.png b/public/favicon/android-chrome-512x512.png
deleted file mode 100644
index 71811f450..000000000
Binary files a/public/favicon/android-chrome-512x512.png and /dev/null differ
diff --git a/public/favicon/apple-touch-icon.avif b/public/favicon/apple-touch-icon.avif
new file mode 100644
index 000000000..9f9451506
Binary files /dev/null and b/public/favicon/apple-touch-icon.avif differ
diff --git a/public/favicon/apple-touch-icon.png b/public/favicon/apple-touch-icon.png
deleted file mode 100644
index 2bdc82e8f..000000000
Binary files a/public/favicon/apple-touch-icon.png and /dev/null differ
diff --git a/public/favicon/favicon-16x16.avif b/public/favicon/favicon-16x16.avif
new file mode 100644
index 000000000..5f65bdf8f
Binary files /dev/null and b/public/favicon/favicon-16x16.avif differ
diff --git a/public/favicon/favicon-16x16.png b/public/favicon/favicon-16x16.png
deleted file mode 100644
index 757dda58b..000000000
Binary files a/public/favicon/favicon-16x16.png and /dev/null differ
diff --git a/public/favicon/favicon-32x32.avif b/public/favicon/favicon-32x32.avif
new file mode 100644
index 000000000..38332222f
Binary files /dev/null and b/public/favicon/favicon-32x32.avif differ
diff --git a/public/favicon/favicon-32x32.png b/public/favicon/favicon-32x32.png
deleted file mode 100644
index 346e3c326..000000000
Binary files a/public/favicon/favicon-32x32.png and /dev/null differ
diff --git a/public/favicon/site.webmanifest b/public/favicon/site.webmanifest
index fa99de77d..a42721302 100644
--- a/public/favicon/site.webmanifest
+++ b/public/favicon/site.webmanifest
@@ -3,12 +3,12 @@
"short_name": "",
"icons": [
{
- "src": "/android-chrome-192x192.png",
+ "src": "/android-chrome-192x192.avif",
"sizes": "192x192",
"type": "image/png"
},
{
- "src": "/android-chrome-512x512.png",
+ "src": "/android-chrome-512x512.avif",
"sizes": "512x512",
"type": "image/png"
}
diff --git a/public/hero.avif b/public/hero.avif
new file mode 100644
index 000000000..a07a3d462
Binary files /dev/null and b/public/hero.avif differ
diff --git a/public/hero.jpg b/public/hero.jpg
deleted file mode 100644
index 40d350c6a..000000000
Binary files a/public/hero.jpg and /dev/null differ
diff --git a/public/ic_gentype@2x.avif b/public/ic_gentype@2x.avif
new file mode 100644
index 000000000..00b8d29fa
Binary files /dev/null and b/public/ic_gentype@2x.avif differ
diff --git a/public/ic_gentype@2x.png b/public/ic_gentype@2x.png
deleted file mode 100644
index 9ac357fe8..000000000
Binary files a/public/ic_gentype@2x.png and /dev/null differ
diff --git a/public/ic_manual@2x.avif b/public/ic_manual@2x.avif
new file mode 100644
index 000000000..e9b318478
Binary files /dev/null and b/public/ic_manual@2x.avif differ
diff --git a/public/ic_manual@2x.png b/public/ic_manual@2x.png
deleted file mode 100644
index ccbdc91d7..000000000
Binary files a/public/ic_manual@2x.png and /dev/null differ
diff --git a/public/ic_reanalyze@2x.avif b/public/ic_reanalyze@2x.avif
new file mode 100644
index 000000000..f122ed75e
Binary files /dev/null and b/public/ic_reanalyze@2x.avif differ
diff --git a/public/ic_reanalyze@2x.png b/public/ic_reanalyze@2x.png
deleted file mode 100644
index d19b35289..000000000
Binary files a/public/ic_reanalyze@2x.png and /dev/null differ
diff --git a/public/ic_rescript_react@2x.avif b/public/ic_rescript_react@2x.avif
new file mode 100644
index 000000000..f0df325e6
Binary files /dev/null and b/public/ic_rescript_react@2x.avif differ
diff --git a/public/ic_rescript_react@2x.png b/public/ic_rescript_react@2x.png
deleted file mode 100644
index 2c8ff6663..000000000
Binary files a/public/ic_rescript_react@2x.png and /dev/null differ
diff --git a/public/illu_index_rescript@2x.avif b/public/illu_index_rescript@2x.avif
new file mode 100644
index 000000000..09707779a
Binary files /dev/null and b/public/illu_index_rescript@2x.avif differ
diff --git a/public/illu_index_rescript@2x.png b/public/illu_index_rescript@2x.png
deleted file mode 100644
index 4b310dff3..000000000
Binary files a/public/illu_index_rescript@2x.png and /dev/null differ
diff --git a/public/img/bstracing.avif b/public/img/bstracing.avif
new file mode 100644
index 000000000..ae9d7207e
Binary files /dev/null and b/public/img/bstracing.avif differ
diff --git a/public/img/bstracing.png b/public/img/bstracing.png
deleted file mode 100644
index 9c6dd4aa9..000000000
Binary files a/public/img/bstracing.png and /dev/null differ
diff --git a/public/img/debugger-after.avif b/public/img/debugger-after.avif
new file mode 100644
index 000000000..c5a953adc
Binary files /dev/null and b/public/img/debugger-after.avif differ
diff --git a/public/img/debugger-after.png b/public/img/debugger-after.png
deleted file mode 100644
index 9392ffef3..000000000
Binary files a/public/img/debugger-after.png and /dev/null differ
diff --git a/public/img/debugger-before.avif b/public/img/debugger-before.avif
new file mode 100644
index 000000000..f6971cbd0
Binary files /dev/null and b/public/img/debugger-before.avif differ
diff --git a/public/img/debugger-before.png b/public/img/debugger-before.png
deleted file mode 100644
index d5440c9f5..000000000
Binary files a/public/img/debugger-before.png and /dev/null differ
diff --git a/public/img/debugger-inspector.avif b/public/img/debugger-inspector.avif
new file mode 100644
index 000000000..e78bbad83
Binary files /dev/null and b/public/img/debugger-inspector.avif differ
diff --git a/public/img/debugger-inspector.png b/public/img/debugger-inspector.png
deleted file mode 100644
index 99dc21782..000000000
Binary files a/public/img/debugger-inspector.png and /dev/null differ
diff --git a/public/img/landing_page_figma.avif b/public/img/landing_page_figma.avif
new file mode 100644
index 000000000..4485c1ff4
Binary files /dev/null and b/public/img/landing_page_figma.avif differ
diff --git a/public/img/landing_page_figma.png b/public/img/landing_page_figma.png
deleted file mode 100644
index 4e148e28b..000000000
Binary files a/public/img/landing_page_figma.png and /dev/null differ
diff --git a/public/lp/community-1.avif b/public/lp/community-1.avif
new file mode 100644
index 000000000..3204cef3b
Binary files /dev/null and b/public/lp/community-1.avif differ
diff --git a/public/lp/community-1.jpg b/public/lp/community-1.jpg
deleted file mode 100644
index 9056ff6fb..000000000
Binary files a/public/lp/community-1.jpg and /dev/null differ
diff --git a/public/lp/community-2.avif b/public/lp/community-2.avif
new file mode 100644
index 000000000..732542a32
Binary files /dev/null and b/public/lp/community-2.avif differ
diff --git a/public/lp/community-2.jpg b/public/lp/community-2.jpg
deleted file mode 100644
index b99d36faf..000000000
Binary files a/public/lp/community-2.jpg and /dev/null differ
diff --git a/public/lp/community-3.avif b/public/lp/community-3.avif
new file mode 100644
index 000000000..3b2e43a9a
Binary files /dev/null and b/public/lp/community-3.avif differ
diff --git a/public/lp/community-3.jpg b/public/lp/community-3.jpg
deleted file mode 100644
index af13fb251..000000000
Binary files a/public/lp/community-3.jpg and /dev/null differ
diff --git a/public/lp/easy-to-unadopt.avif b/public/lp/easy-to-unadopt.avif
new file mode 100644
index 000000000..c12c233d4
Binary files /dev/null and b/public/lp/easy-to-unadopt.avif differ
diff --git a/public/lp/easy-to-unadopt.jpg b/public/lp/easy-to-unadopt.jpg
deleted file mode 100644
index fd2265834..000000000
Binary files a/public/lp/easy-to-unadopt.jpg and /dev/null differ
diff --git a/public/lp/editor-tooling-1.avif b/public/lp/editor-tooling-1.avif
new file mode 100644
index 000000000..36936f9dd
Binary files /dev/null and b/public/lp/editor-tooling-1.avif differ
diff --git a/public/lp/editor-tooling-1.jpg b/public/lp/editor-tooling-1.jpg
deleted file mode 100644
index 8064eadc6..000000000
Binary files a/public/lp/editor-tooling-1.jpg and /dev/null differ
diff --git a/public/lp/fast-build-preview.avif b/public/lp/fast-build-preview.avif
new file mode 100644
index 000000000..6bf96e806
Binary files /dev/null and b/public/lp/fast-build-preview.avif differ
diff --git a/public/lp/fast-build-preview.jpg b/public/lp/fast-build-preview.jpg
deleted file mode 100644
index 6c3d0c492..000000000
Binary files a/public/lp/fast-build-preview.jpg and /dev/null differ
diff --git a/public/lp/illu_left.avif b/public/lp/illu_left.avif
new file mode 100644
index 000000000..29905fae6
Binary files /dev/null and b/public/lp/illu_left.avif differ
diff --git a/public/lp/illu_left.png b/public/lp/illu_left.png
deleted file mode 100644
index 950d9a698..000000000
Binary files a/public/lp/illu_left.png and /dev/null differ
diff --git a/public/lp/illu_right.avif b/public/lp/illu_right.avif
new file mode 100644
index 000000000..75261a0dd
Binary files /dev/null and b/public/lp/illu_right.avif differ
diff --git a/public/lp/illu_right.png b/public/lp/illu_right.png
deleted file mode 100644
index b65c179ae..000000000
Binary files a/public/lp/illu_right.png and /dev/null differ
diff --git a/public/lp/instapainting.avif b/public/lp/instapainting.avif
new file mode 100644
index 000000000..5f5c1360c
Binary files /dev/null and b/public/lp/instapainting.avif differ
diff --git a/public/lp/instapainting.png b/public/lp/instapainting.png
deleted file mode 100644
index 7c57c6e2e..000000000
Binary files a/public/lp/instapainting.png and /dev/null differ
diff --git a/public/lp/interop-example-preview.avif b/public/lp/interop-example-preview.avif
new file mode 100644
index 000000000..6fb2c30f3
Binary files /dev/null and b/public/lp/interop-example-preview.avif differ
diff --git a/public/lp/interop-example-preview.jpg b/public/lp/interop-example-preview.jpg
deleted file mode 100644
index ef261b6ee..000000000
Binary files a/public/lp/interop-example-preview.jpg and /dev/null differ
diff --git a/public/lp/type-better-preview.avif b/public/lp/type-better-preview.avif
new file mode 100644
index 000000000..e9d934629
Binary files /dev/null and b/public/lp/type-better-preview.avif differ
diff --git a/public/lp/type-better-preview.jpg b/public/lp/type-better-preview.jpg
deleted file mode 100644
index 70ce020a4..000000000
Binary files a/public/lp/type-better-preview.jpg and /dev/null differ
diff --git a/public/messenger-logo-64@2x.avif b/public/messenger-logo-64@2x.avif
new file mode 100644
index 000000000..e99fa320b
Binary files /dev/null and b/public/messenger-logo-64@2x.avif differ
diff --git a/public/messenger-logo-64@2x.png b/public/messenger-logo-64@2x.png
deleted file mode 100644
index 310f91bc7..000000000
Binary files a/public/messenger-logo-64@2x.png and /dev/null differ
diff --git a/public/nav-logo-full@2x.avif b/public/nav-logo-full@2x.avif
new file mode 100644
index 000000000..d6d391106
Binary files /dev/null and b/public/nav-logo-full@2x.avif differ
diff --git a/public/nav-logo-full@2x.png b/public/nav-logo-full@2x.png
deleted file mode 100644
index a330c9a7b..000000000
Binary files a/public/nav-logo-full@2x.png and /dev/null differ
diff --git a/public/nav-logo@2x.avif b/public/nav-logo@2x.avif
new file mode 100644
index 000000000..fef08bb3e
Binary files /dev/null and b/public/nav-logo@2x.avif differ
diff --git a/public/nav-logo@2x.png b/public/nav-logo@2x.png
deleted file mode 100644
index e8c20a30a..000000000
Binary files a/public/nav-logo@2x.png and /dev/null differ
diff --git a/public/og/try.avif b/public/og/try.avif
new file mode 100644
index 000000000..a047f7301
Binary files /dev/null and b/public/og/try.avif differ
diff --git a/public/og/try.png b/public/og/try.png
deleted file mode 100644
index 3a3a5d2f3..000000000
Binary files a/public/og/try.png and /dev/null differ
diff --git a/public/pupilfirst-logo.avif b/public/pupilfirst-logo.avif
new file mode 100644
index 000000000..cc59dadf3
Binary files /dev/null and b/public/pupilfirst-logo.avif differ
diff --git a/public/pupilfirst-logo.png b/public/pupilfirst-logo.png
deleted file mode 100644
index dad9b277f..000000000
Binary files a/public/pupilfirst-logo.png and /dev/null differ
diff --git a/public/vitejs_starter_logo.avif b/public/vitejs_starter_logo.avif
new file mode 100644
index 000000000..f7f0b2e28
Binary files /dev/null and b/public/vitejs_starter_logo.avif differ
diff --git a/public/vitejs_starter_logo.png b/public/vitejs_starter_logo.png
deleted file mode 100644
index 33a66d9f4..000000000
Binary files a/public/vitejs_starter_logo.png and /dev/null differ
diff --git a/public/vitejs_starter_logo@2x.avif b/public/vitejs_starter_logo@2x.avif
new file mode 100644
index 000000000..81b46907d
Binary files /dev/null and b/public/vitejs_starter_logo@2x.avif differ
diff --git a/public/vitejs_starter_logo@2x.png b/public/vitejs_starter_logo@2x.png
deleted file mode 100644
index 1b6166429..000000000
Binary files a/public/vitejs_starter_logo@2x.png and /dev/null differ
diff --git a/src/Blog.res b/src/Blog.res
index b2b56e3d5..f8016be31 100644
--- a/src/Blog.res
+++ b/src/Blog.res
@@ -1,6 +1,6 @@
module Link = ReactRouter.Link
-let defaultPreviewImg = "/Art-3-rescript-launch.jpg"
+let defaultPreviewImg = "/Art-3-rescript-launch.avif"
// For encoding reasons, see https://shripadk.github.io/react/docs/jsx-gotchas.html
let middleDotSpacer = " " ++ (String.fromCharCode(183) ++ " ")
diff --git a/src/CommunityContent.res b/src/CommunityContent.res
index b307e789a..cc79fe3d7 100644
--- a/src/CommunityContent.res
+++ b/src/CommunityContent.res
@@ -35,7 +35,7 @@ module LinkCards = {
{CommunityResources.resources
->Array.map(link =>
switch link.image {
- | "" => {...link, image: "/Art-3-rescript-launch.jpg"}
+ | "" => {...link, image: "/Art-3-rescript-launch.avif"}
| _ => link
}
)
diff --git a/src/CommunityResources.res b/src/CommunityResources.res
index 2e9053f2a..f4bec35a8 100644
--- a/src/CommunityResources.res
+++ b/src/CommunityResources.res
@@ -10,19 +10,19 @@ let resources: array = [
{
title: "YouTube Videos by @nojaf",
description: "Talks, tutorials, and deep dives into the ReScript programming language — covering syntax, tooling, and real‑world use cases.",
- image: "https://img.youtube.com/vi/xGN3d6hPSC0/maxresdefault.jpg",
+ image: "https://img.youtube.com/vi/xGN3d6hPSC0/maxresdefault.avif",
url: "https://www.youtube.com/playlist?list=PLvw_J2kfZCX0u_27-uIoalSPR6TOMPmuD",
},
{
title: "JavaScript schema library from the Future 🧬",
description: "ReScript Schema - The fastest parser in the entire JavaScript ecosystem with a focus on small bundle...",
- image: "https://media2.dev.to/dynamic/image/width=1000,height=500,fit=cover,gravity=auto,format=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fn102ksd9w1xo5ysgxbur.png",
+ image: "https://media2.dev.to/dynamic/image/width=1000,height=500,fit=cover,gravity=auto,format=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fn102ksd9w1xo5ysgxbur.avif",
url: "https://dev.to/dzakh/javascript-schema-library-from-the-future-5420",
},
{
title: "ReScript: A Better Typed JavaScript? (with Gabriel Nordeborn)",
description: "ReScript is a strongly-typed programming language that compiles to JavaScript, and that puts it squarely in competition with TypeScript. So why would a JavaS...",
- image: "https://i.ytimg.com/vi/yKl2fSdnw7w/maxresdefault.jpg",
+ image: "https://i.ytimg.com/vi/yKl2fSdnw7w/maxresdefault.avif",
url: "https://www.youtube.com/watch?v=yKl2fSdnw7w",
},
{
@@ -34,55 +34,55 @@ let resources: array = [
{
title: "An early look at @rescript/webapi",
description: "Here's an early look at the new ReScript Web API bindings I've been working on.For more information, visit https://rescript-lang.github.io/experimental-rescr...",
- image: "https://i.ytimg.com/vi/MC-dbM-GEuw/maxresdefault.jpg",
+ image: "https://i.ytimg.com/vi/MC-dbM-GEuw/maxresdefault.avif",
url: "https://www.youtube.com/watch?v=MC-dbM-GEuw",
},
{
title: "ReScript has come a long way, maybe it's time to switch from TypeScript?",
description: "ReScript, the \"Fast, Simple, Fully Typed JavaScript from the Future\", has been around for awhile now....",
- image: "https://media2.dev.to/dynamic/image/width=1000,height=500,fit=cover,gravity=auto,format=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5jrqcbteob11bc7nvwz9.jpg",
+ image: "https://media2.dev.to/dynamic/image/width=1000,height=500,fit=cover,gravity=auto,format=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5jrqcbteob11bc7nvwz9.avif",
url: "https://dev.to/jderochervlk/rescript-has-come-a-long-way-maybe-its-time-to-switch-from-typescript-29he",
},
{
title: "Create a Snake Game in ReScript",
description: "Let's create a simple snake game in ReScript without using any framework.Full code here https://github.com/Exegetech/snake-rescript00:00 Getting started03:20...",
- image: "https://i.ytimg.com/vi/f0gDMjuaCZo/maxresdefault.jpg",
+ image: "https://i.ytimg.com/vi/f0gDMjuaCZo/maxresdefault.avif",
url: "https://www.youtube.com/watch?v=f0gDMjuaCZo",
},
{
title: "ReScript and EdgeDB | Gel Blog",
description: "Learn how together ReScript and EdgeDB achieve full type safety with less busy work. This post shows you the benefits and how you can get started with this pairing today!",
- image: "https://www.geldata.com/_images/_blog/ab9848d310c94bb25e21f219ee74b7f24ca16baa.jpg",
+ image: "https://www.geldata.com/_images/_blog/ab9848d310c94bb25e21f219ee74b7f24ca16baa.avif",
url: "https://www.geldata.com/blog/rescript-and-edgedb",
},
{
title: "Building and consuming REST API in ReScript with rescript-rest and Fastify",
description: "In the video, I show how you can use my ReScript Rest library to create an HTTP server with Fastify, generate OpenAPI for it, and then consume it on the clie...",
- image: "https://i.ytimg.com/vi/37FY6a-zY20/maxresdefault.jpg?sqp=-oaymwEmCIAKENAF8quKqQMa8AEB-AH-CYAC0AWKAgwIABABGEsgXShlMA8=&rs=AOn4CLBrz-ZJf8pcr_1_YZCfiMUwFKqj6A",
+ image: "https://i.ytimg.com/vi/37FY6a-zY20/maxresdefault.avif?sqp=-oaymwEmCIAKENAF8quKqQMa8AEB-AH-CYAC0AWKAgwIABABGEsgXShlMA8=&rs=AOn4CLBrz-ZJf8pcr_1_YZCfiMUwFKqj6A",
url: "https://www.youtube.com/watch?v=37FY6a-zY20",
},
{
title: "When and Where to use ReScript? The ReScript happy path",
description: "Are you ever hesitant about adopting ReScript, or have you tried it and been frustrated? I will give you a realistic guide for adopting ReScript in the project. (Hint: Review your project architecture first)",
- image: "https://media2.dev.to/dynamic/image/width=1000,height=500,fit=cover,gravity=auto,format=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fool4835vdaqw8vueb9b5.png",
+ image: "https://media2.dev.to/dynamic/image/width=1000,height=500,fit=cover,gravity=auto,format=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fool4835vdaqw8vueb9b5.avif",
url: "https://dev.to/cometkim/when-and-where-to-use-rescript-the-rescript-happy-path-47ni",
},
{
title: "Getting rid of your dead code in ReScript",
description: "Exploring ReScript's tools for eliminating dead code, keeping your repository clean and without...",
- image: "https://media2.dev.to/dynamic/image/width=1000,height=500,fit=cover,gravity=auto,format=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F12lsasc06v1a355i6rfk.jpeg",
+ image: "https://media2.dev.to/dynamic/image/width=1000,height=500,fit=cover,gravity=auto,format=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F12lsasc06v1a355i6rfk.avif",
url: "https://dev.to/zth/getting-rid-of-your-dead-code-in-rescript-3mba",
},
{
title: "ReScript: digitalising a hospital with the JavaScript from the Future - MAXIM VALCKE",
description: "",
- image: "https://i.ytimg.com/vi/KDL-kRgilkQ/maxresdefault.jpg",
+ image: "https://i.ytimg.com/vi/KDL-kRgilkQ/maxresdefault.avif",
url: "https://www.youtube.com/watch?v=KDL-kRgilkQ",
},
{
title: "Rescript React Error boundary usage",
description: "Hi I was trying to capture the react errors. I had to write the bindings for the ErrorBoundary and...",
- image: "https://dev-to-uploads.s3.amazonaws.com/uploads/articles/3otvb2z646ytpt1hl2rv.jpg",
+ image: "https://dev-to-uploads.s3.amazonaws.com/uploads/articles/3otvb2z646ytpt1hl2rv.avif",
url: "https://dev.to/srikanthkyatham/rescript-react-error-boundary-usage-3b05",
},
{
@@ -94,7 +94,7 @@ let resources: array = [
{
title: "ReScript for React Development",
description: "Looking for ReScript for React Development information? In this article, I highlight the development & business advantages of ReScript.",
- image: "https://scalac.io/wp-content/uploads/2021/08/ReScript-for-React-Development-FB.png",
+ image: "https://scalac.io/wp-content/uploads/2021/08/ReScript-for-React-Development-FB.avif",
url: "https://scalac.io/blog/rescript-for-react-development/",
},
{
@@ -112,7 +112,7 @@ let resources: array = [
{
title: "ReScript records, NextJS, undefined and getStaticProps",
description: "NextJS, a pretty solid framework for building React based websites and web-applications, offers a nic...",
- image: "https://dev-to-uploads.s3.amazonaws.com/uploads/articles/3otvb2z646ytpt1hl2rv.jpg",
+ image: "https://dev-to-uploads.s3.amazonaws.com/uploads/articles/3otvb2z646ytpt1hl2rv.avif",
url: "https://dev.to/ryyppy/rescript-records-nextjs-undefined-and-getstaticprops-4890",
},
]
diff --git a/src/common/BlogFrontmatter.res b/src/common/BlogFrontmatter.res
index 7182f6cdd..5f083ab45 100644
--- a/src/common/BlogFrontmatter.res
+++ b/src/common/BlogFrontmatter.res
@@ -34,21 +34,21 @@ let authors = [
username: "ryyppy",
fullname: "Patrick Ecker",
role: "Documentation",
- imgUrl: "https://pbs.twimg.com/profile_images/1388426717006544897/B_a7D4GF_400x400.jpg",
+ imgUrl: "https://pbs.twimg.com/profile_images/1388426717006544897/B_a7D4GF_400x400.avif",
social: X("ryyppy"),
},
{
username: "rickyvetter",
fullname: "Ricky Vetter",
role: "ReScript & React",
- imgUrl: "https://pbs.twimg.com/profile_images/541111032207273984/DGsZmmfr_400x400.jpeg",
+ imgUrl: "https://pbs.twimg.com/profile_images/541111032207273984/DGsZmmfr_400x400.avif",
social: X("rickyvetter"),
},
{
username: "made_by_betty",
fullname: "Bettina Steinbrecher",
role: "Brand / UI / UX",
- imgUrl: "https://pbs.twimg.com/profile_images/1366785342704136195/3IGyRhV1_400x400.jpg",
+ imgUrl: "https://pbs.twimg.com/profile_images/1366785342704136195/3IGyRhV1_400x400.avif",
social: X("made_by_betty"),
},
{
@@ -62,7 +62,7 @@ let authors = [
username: "rescript-association",
fullname: "ReScript Association",
role: "Foundation",
- imgUrl: "https://pbs.twimg.com/profile_images/1045362176117100545/MioTQoTp_400x400.jpg",
+ imgUrl: "https://pbs.twimg.com/profile_images/1045362176117100545/MioTQoTp_400x400.avif",
social: X("ReScriptAssoc"),
},
{
diff --git a/src/common/OurUsers.res b/src/common/OurUsers.res
index 404ea07c0..a10c6e01d 100644
--- a/src/common/OurUsers.res
+++ b/src/common/OurUsers.res
@@ -142,7 +142,7 @@ let companies = [
Logo({
name: "Instapainting.com",
url: "https://www.instapainting.com/",
- path: "/lp/instapainting.png",
+ path: "/lp/instapainting.avif",
}),
Logo({
name: "Juspay",
diff --git a/src/components/Meta.res b/src/components/Meta.res
index 39cabf96f..d6db82716 100644
--- a/src/components/Meta.res
+++ b/src/components/Meta.res
@@ -12,7 +12,7 @@ let make = (
~ogSiteName=siteName,
~ogDescription=description,
~ogTitle=?,
- ~ogImage="/Art-3-rescript-launch.jpg",
+ ~ogImage="/Art-3-rescript-launch.avif",
) => {
let title = switch title {
| None
@@ -38,9 +38,9 @@ let make = (
| Some(href) =>
| None => React.null
}}
-
-
-
+
+
+
/* OG link preview meta data */
diff --git a/src/components/Navigation.res b/src/components/Navigation.res
index 933053bce..4563626c3 100644
--- a/src/components/Navigation.res
+++ b/src/components/Navigation.res
@@ -123,8 +123,8 @@ let make = (~fixed=true, ~isOverlayOpen: bool, ~setOverlayOpen: (bool => bool) =
to="/"
className="block hover:cursor-pointer w-full h-full flex justify-center items-center font-bold"
>
-
-
+
+
diff --git a/src/layouts/LandingPageLayout.res b/src/layouts/LandingPageLayout.res
index 4e68f7eac..6b33052dc 100644
--- a/src/layouts/LandingPageLayout.res
+++ b/src/layouts/LandingPageLayout.res
@@ -115,14 +115,14 @@ export {
//