-
Curated Resources
+
Curated Resources
Get up to speed quickly to enjoy the benefits of the OCaml programming language across your projects.
diff --git a/src/ocamlorg_frontend/pages/industrial_users.eml b/src/ocamlorg_frontend/pages/industrial_users.eml
index d472092ac1..f89d63ee19 100644
--- a/src/ocamlorg_frontend/pages/industrial_users.eml
+++ b/src/ocamlorg_frontend/pages/industrial_users.eml
@@ -11,11 +11,11 @@ the community and learn more about how they use OCaml."
-
What Our Users Say About OCaml
+
What Our Users Say About OCaml
Read our success stories to learn how OCaml helped our users
achieve their goals.
-
Read What Some Industry Users Say About OCaml.
-
@@ -198,7 +198,7 @@ the community and learn more about how they use OCaml."
<% users |> List.iter (fun (item : Data.Industrial_user.t) -> let logo = match item.logo with | Some x -> Ocamlorg_static.Media.url x | None -> "" in %>
-
+
<%s item.name %>
@@ -213,7 +213,7 @@ the community and learn more about how they use OCaml."
-
Industrial Resources
+
Industrial Resources
Here are some of the resources that may be helpful to you
diff --git a/src/ocamlorg_frontend/pages/install.eml b/src/ocamlorg_frontend/pages/install.eml
index fdfd853398..dab045768a 100644
--- a/src/ocamlorg_frontend/pages/install.eml
+++ b/src/ocamlorg_frontend/pages/install.eml
@@ -11,8 +11,8 @@ Layout.render
Install OCaml
- Linux, macOS or *BSD
- <%s! Icons.microsoft_windows "w-6 h-6" %> Windows
+ Linux, macOS or *BSD
+ <%s! Icons.microsoft_windows "w-6 h-6" %> Windows
diff --git a/src/ocamlorg_frontend/pages/learn.eml b/src/ocamlorg_frontend/pages/learn.eml
index faf11ea3dd..33780fb3f3 100644
--- a/src/ocamlorg_frontend/pages/learn.eml
+++ b/src/ocamlorg_frontend/pages/learn.eml
@@ -210,7 +210,7 @@ Learn_layout.single_column_layout
<% ); %>
-
+
View all papers
<%s! Icons.chevron_right "h-5 w-5" %>
diff --git a/src/ocamlorg_frontend/pages/local_blog.eml b/src/ocamlorg_frontend/pages/local_blog.eml
index a8a15c6479..57eca50ea7 100644
--- a/src/ocamlorg_frontend/pages/local_blog.eml
+++ b/src/ocamlorg_frontend/pages/local_blog.eml
@@ -23,7 +23,7 @@ Layout.render
<%s item.title %>
+ class="block text-xl font-semibold hover:text-primary"><%s item.title %>
<%s Option.value ~default:"" item.description %>
diff --git a/src/ocamlorg_frontend/pages/news.eml b/src/ocamlorg_frontend/pages/news.eml
index 4bfed75c5b..ac8ff0f955 100644
--- a/src/ocamlorg_frontend/pages/news.eml
+++ b/src/ocamlorg_frontend/pages/news.eml
@@ -8,7 +8,7 @@ Layout.render
+ class="flex justify-start space-x-3 items-center text-primary hover:underline font-semibold mb-4 h-12">
<%s! Icons.arrow_left "h-5 w-5" %>
Back to Blog
@@ -23,7 +23,7 @@ Layout.render
<%s item.title %>
+ class="block text-xl font-semibold hover:text-primary"><%s item.title %>
<%s item.description %>
@@ -43,7 +43,7 @@ Layout.render
<% (for i = 1 to (pages_number - 1) do
if i = page then ( %>
+ class="w-10 h-10 lg:w-14 lg:h-14 border-2 border-current rounded-lg flex items-center justify-center text-primary">
<%i i %>
<% ) else ( %>
diff --git a/src/ocamlorg_frontend/pages/news_post.eml b/src/ocamlorg_frontend/pages/news_post.eml
index 97b59df6a3..fbc04f326f 100644
--- a/src/ocamlorg_frontend/pages/news_post.eml
+++ b/src/ocamlorg_frontend/pages/news_post.eml
@@ -8,7 +8,7 @@ Layout.render
+ class="flex justify-start space-x-3 items-center text-primary hover:underline font-semibold mb-4 h-12">
<%s! Icons.arrow_left "h-5 w-5" %>
Back to Blog
diff --git a/src/ocamlorg_frontend/pages/not_found.eml b/src/ocamlorg_frontend/pages/not_found.eml
index 205f7e83e5..f370bc8d0b 100644
--- a/src/ocamlorg_frontend/pages/not_found.eml
+++ b/src/ocamlorg_frontend/pages/not_found.eml
@@ -4,7 +4,7 @@ Layout.render
~description:"This page does not exist." @@
-
+
diff --git a/src/ocamlorg_frontend/pages/package_documentation_not_found.eml b/src/ocamlorg_frontend/pages/package_documentation_not_found.eml
index c68aeb5aa9..899b54e50e 100644
--- a/src/ocamlorg_frontend/pages/package_documentation_not_found.eml
+++ b/src/ocamlorg_frontend/pages/package_documentation_not_found.eml
@@ -15,7 +15,7 @@ Package_layout.render
~right_sidebar_html:"" @@
let version = Package.url_version package in
-
+
diff --git a/src/ocamlorg_frontend/pages/package_overview.eml b/src/ocamlorg_frontend/pages/package_overview.eml
index c90e89a5c8..f75b6c1618 100644
--- a/src/ocamlorg_frontend/pages/package_overview.eml
+++ b/src/ocamlorg_frontend/pages/package_overview.eml
@@ -1,5 +1,5 @@
let side_box_link ~href ~title ~icon_html =
-
+
<%s! icon_html %>
<%s title %>
@@ -50,7 +50,7 @@ in
- <%s! Icons.command_line "mr-4 h-6 w-6 text-legacy-primary-600" %>
+ <%s! Icons.command_line "mr-4 h-6 w-6 text-primary" %>
Install
@@ -83,13 +83,13 @@ in
| Some (uri, checksums) -> %>
Sources
-
<%s Filename.basename uri %>
-
+
<%s! Icons.download "h-6 w-6" %>
@@ -101,10 +101,10 @@ in
'); copied = true; setTimeout(() => copied = false, 2000)"
- x-show="!copied" title="copy checksum to clipboard" class="p-1 text-legacy-primary-600 rounded">
+ x-show="!copied" title="copy checksum to clipboard" class="p-1 text-primary rounded">
<%s! Icons.copy "h-6 w-6" %>
-
+
<%s! Icons.copied_to_clipboard "h-6 w-6" %>
@@ -141,7 +141,7 @@ let render
(package : Package.package) =
let render_dependency ~name ~cstr ~version =
-
+
<%s name %>
<% match cstr with None -> () | Some cstr -> %>
@@ -202,7 +202,7 @@ Package_layout.render
Tags
<% package.tags |> List.iter (fun tag -> %>
+ class="hover:underline px-2 text-legacy-primary-700 border border-primary font-medium bg-legacy-primary-100 rounded">
<%s tag %>
<% ); %>
diff --git a/src/ocamlorg_frontend/pages/packages.eml b/src/ocamlorg_frontend/pages/packages.eml
index cf5ef14134..c8cab0a213 100644
--- a/src/ocamlorg_frontend/pages/packages.eml
+++ b/src/ocamlorg_frontend/pages/packages.eml
@@ -9,7 +9,7 @@ Layout.render
let search_dropdown () =
-
+
Standard Library API
<%s! Icons.arrow_top_right_on_square "w-6 h-6"%>
@@ -42,14 +42,14 @@ in
-
Opam: The OCaml Package Manager
+
Opam: The OCaml Package Manager
Opam is a source-based package manager for OCaml. It supports
multiple simultaneous compiler installations, flexible package constraints, and a Git-friendly
development workflow.
% let render_number_stat ?(first=false) label number =
">
-
<%d number %>
+
<%d number %>
<%s label %>
% in
@@ -66,7 +66,7 @@ in
-
+
Featured Packages
@@ -145,7 +145,7 @@ in
-
STABLE ECOSYSTEM
+
STABLE ECOSYSTEM
Focus on Your Code, and opam Takes Care of Distributing It.
Our users have the highest standards for the OCaml ecosystem to run
mission-critical applications across a variety of operating systems, and they expect that a package that
@@ -153,7 +153,7 @@ in
-
+
<%s! Icons.beaker "h-6 w-6 text-white" %>
Continuous Integration
@@ -162,7 +162,7 @@ in
never break the rest of the ecosystem.
-
+
<%s! Icons.refresh "h-6 w-6 text-white" %>
State of the Art
@@ -172,7 +172,7 @@ in
metadata format, and an easy access to the package manager logic via OCaml libraries.
-
+
<%s! Icons.shield_check "h-6 w-6 text-white" %>
Stability
@@ -188,7 +188,7 @@ in
If you want to learn about the OCaml packages, check out the
Contributing Guide on GitHub.
-
+
Start Contributing
diff --git a/src/ocamlorg_frontend/pages/packages_autocomplete_fragment.eml b/src/ocamlorg_frontend/pages/packages_autocomplete_fragment.eml
index 34f494747c..90c5c73ea8 100644
--- a/src/ocamlorg_frontend/pages/packages_autocomplete_fragment.eml
+++ b/src/ocamlorg_frontend/pages/packages_autocomplete_fragment.eml
@@ -43,7 +43,7 @@ let render
<% packages |> List.iteri (fun i (package : Package.package) -> %>
- -
+
-
<% if total > 5 then ( %>
-
see more...
+
see more...
<% ); %>
Or go to
diff --git a/src/ocamlorg_frontend/pages/packages_search.eml b/src/ocamlorg_frontend/pages/packages_search.eml
index c49d273433..064e72054b 100644
--- a/src/ocamlorg_frontend/pages/packages_search.eml
+++ b/src/ocamlorg_frontend/pages/packages_search.eml
@@ -73,7 +73,7 @@ let render ~total ~search ~page ~number_of_pages (packages : Package.package lis
<% package.tags |> List.iter (fun (tag : string) -> %>
<%s! Search.highlight_search_terms ~class_:"bg-legacy-search-term-highlight" ~search tag %>
diff --git a/src/ocamlorg_frontend/pages/papers.eml b/src/ocamlorg_frontend/pages/papers.eml
index e8c5efdc06..5e90a041b7 100644
--- a/src/ocamlorg_frontend/pages/papers.eml
+++ b/src/ocamlorg_frontend/pages/papers.eml
@@ -19,7 +19,7 @@ Layout.render
-
Recommended Papers
+ Recommended Papers
<% recommended_papers |> List.iter (fun (paper : Data.Paper.t) -> %>
@@ -111,7 +111,7 @@ Layout.render
<% paper.links |> List.iter (fun (link : Data.Paper.link) -> %>
-
+
<%s link.description %>
<% ); %>
diff --git a/src/ocamlorg_frontend/pages/platform.eml b/src/ocamlorg_frontend/pages/platform.eml
index 8ea9785ccd..235e96486c 100644
--- a/src/ocamlorg_frontend/pages/platform.eml
+++ b/src/ocamlorg_frontend/pages/platform.eml
@@ -8,16 +8,16 @@ let render_sidebar
let render_package_cards ~(item: Data.Tool.t) =
-
+
- <%s! Icons.tools "h-5 w-5 text-legacy-primary-600" %>
- <%s item.name %>
+ <%s! Icons.tools "h-5 w-5 text-primary" %>
+ <%s item.name %>
- <%s! Icons.arrow_small_right "h-5 w-5 text-legacy-primary-600 rotate-45 place-self-end" %>
+ <%s! Icons.arrow_small_right "h-5 w-5 text-primary rotate-45 place-self-end" %>
let render
@@ -41,11 +41,11 @@ Learn_layout.three_column_layout
Detailed instructions to install OCaml and the
- Platform tools are available in "Installing OCaml".
If you want to use the simpler, but experimental way to install the
- Platform, you can use the OCaml
Platform Installer. To download it, run:
@@ -95,7 +95,7 @@ Learn_layout.three_column_layout
<%s! Icons.play "h-9 w-9" %>
diff --git a/src/ocamlorg_frontend/pages/playground.eml b/src/ocamlorg_frontend/pages/playground.eml
index ed1656f0fe..a29fe5fc49 100644
--- a/src/ocamlorg_frontend/pages/playground.eml
+++ b/src/ocamlorg_frontend/pages/playground.eml
@@ -62,12 +62,12 @@ let render ~default_code =
<%s! Icons.playground_share "h-6 w-6 stroke-current" %>
Share
-
+
Run
⌘⏎
@@ -92,13 +92,13 @@ let render ~default_code =
Editor
@@ -106,7 +106,7 @@ let render ~default_code =
Clear output
<%s! Icons.close_x "h-4 w-4" %>
diff --git a/src/ocamlorg_frontend/pages/release.eml b/src/ocamlorg_frontend/pages/release.eml
index a773dfe874..2d67b7017b 100644
--- a/src/ocamlorg_frontend/pages/release.eml
+++ b/src/ocamlorg_frontend/pages/release.eml
@@ -8,7 +8,7 @@ Layout.render
+ class="flex justify-start space-x-3 items-center text-primary hover:underline font-semibold mb-4 h-12">
<%s! Icons.arrow_left "h-5 w-5 inline-block" %>
All Releases
diff --git a/src/ocamlorg_frontend/pages/releases.eml b/src/ocamlorg_frontend/pages/releases.eml
index e6ccb756ac..cc1d972280 100644
--- a/src/ocamlorg_frontend/pages/releases.eml
+++ b/src/ocamlorg_frontend/pages/releases.eml
@@ -62,16 +62,16 @@ Layout.render
<%s release.date %>
diff --git a/src/ocamlorg_frontend/pages/success_story.eml b/src/ocamlorg_frontend/pages/success_story.eml
index 50e1678376..cb9494955e 100644
--- a/src/ocamlorg_frontend/pages/success_story.eml
+++ b/src/ocamlorg_frontend/pages/success_story.eml
@@ -8,7 +8,7 @@ Layout.render
-
+
<%s! Icons.arrow_left "h-5 w-5" %>
Back to Success Stories
diff --git a/src/ocamlorg_frontend/pages/workshop.eml b/src/ocamlorg_frontend/pages/workshop.eml
index 5fb783fc67..42fde3ab31 100644
--- a/src/ocamlorg_frontend/pages/workshop.eml
+++ b/src/ocamlorg_frontend/pages/workshop.eml
@@ -21,9 +21,9 @@ Layout.render
| true when not !seen_upcoming -> (
seen_upcoming := true; %>
- <%s Utils.human_date date.date %>
-
-
+ <%s Utils.human_date date.date %>
+
+
UPCOMING
<%s date.info %>
@@ -32,8 +32,8 @@ Layout.render
<% ) | _ -> %>
- <%s Utils.human_date date.date %>
-
+ <%s Utils.human_date date.date %>
+
<%s date.info %>
@@ -68,15 +68,15 @@ Layout.render
<%s Fmt.(str "%a" (list ~sep:comma string) presentation.authors) %> |
<% (match presentation.link with None -> () | Some link -> %>
- Link
+ Link
<% ); %>
<% (match presentation.video with None -> () | Some link -> %>
- Video
+ Video
<% ); %>
<% (match presentation.slides with None -> () | Some link -> %>
- Slides
+ Slides
<% ); %>
|
@@ -92,7 +92,7 @@ Layout.render
- Workshop Details
+ Workshop Details
<% (match List.length workshop.organising_committee with | 0 -> () | _ -> %>
Organising Committee
@@ -159,7 +159,7 @@ workshop.presentations in (match List.length videos with | 0 -> () | _ -> %>
<% ); %>
|