diff --git a/asset/img/home/ocaml_camel.png b/asset/img/home/ocaml_camel.png new file mode 100644 index 0000000000..585cdabefe Binary files /dev/null and b/asset/img/home/ocaml_camel.png differ diff --git a/src/ocamlorg_frontend/components/learn_components.eml b/src/ocamlorg_frontend/components/learn_components.eml index 1c274d1da1..e638f10460 100644 --- a/src/ocamlorg_frontend/components/learn_components.eml +++ b/src/ocamlorg_frontend/components/learn_components.eml @@ -1,7 +1,4 @@ -let skill_tag -difficulty -class_ - = +let skill_tag difficulty class_ = match difficulty with | Some "beginner" ->
Beginner
@@ -24,9 +21,7 @@ let command_line_icon class_ = -let install_card -latest_version -= +let install_card latest_version = -let standard_lib_card -= +let standard_lib_card = -let api_card_block -latest_version -= +let api_card_block latest_version =
<%s! install_card latest_version %> <%s! standard_lib_card %> @@ -72,63 +64,41 @@ latest_version type link = {href : string; title : string} -let tutorial_block_content -~title -~heading -~description -~(tutorial_links: link list) -~(see_more: link) -= -
-
<%s title %>
-

<%s heading %>

-
<%s description %>
- - - <%s see_more.title %> - <%s! Icons.arrow_small_right "h-6 w-6" %> - -
+let tutorial_block_content ~title ~heading ~description ~(tutorial_links: link list) ~(see_more: link) = +
+
<%s title %>
+

<%s heading %>

+
<%s description %>
+ + + <%s see_more.title %> + <%s! Icons.arrow_small_right "h-6 w-6" %> + +
-let left_tutorial_block -~title -~heading -~description -~(tutorial_links: link list) -~see_more -class_ -= -
-
- <%s! tutorial_block_content ~title ~heading ~description ~tutorial_links ~see_more %> -
+let left_tutorial_block ~title ~heading ~description ~(tutorial_links: link list) ~see_more class_ = +
+
+ <%s! tutorial_block_content ~title ~heading ~description ~tutorial_links ~see_more %>
+
-let right_tutorial_block -~title -~heading -~description -~(tutorial_links: link list) -~see_more -class_ -= -
-
- <%s! tutorial_block_content ~title ~heading ~description ~tutorial_links ~see_more %> -
+let right_tutorial_block ~title ~heading ~description ~(tutorial_links: link list) ~see_more class_ = +
+
+ <%s! tutorial_block_content ~title ~heading ~description ~tutorial_links ~see_more %>
+
-let book_tile -books -= +let book_tile books =
<% books |> List.rev |> List.iteri (fun index (item : Data.Book.t) -> if (index < 2) then ( %>
@@ -146,11 +116,7 @@ books <% ); %>
-let left_books_content_block -books -~title -~(link : link ) -= +let left_books_content_block books ~title ~(link : link) =
BOOKS
@@ -163,11 +129,7 @@ books
-let right_books_content_block -books -~title -~(link : link ) -= +let right_books_content_block books ~title ~(link : link) =
BOOKS
@@ -209,3 +171,16 @@ let contribute_footer ~href =
+ +let lang_manual_banner = +
+
+

GUIDE

+

Language Manual

+

OCaml language manuals are comprehensive guides covering syntax, features, and usage. They assist developers and learners in understanding capabilities, best practices, and exploring functionalities.

+ Take Me There +
+
+ camel image +
+
\ No newline at end of file diff --git a/src/ocamlorg_frontend/pages/learn.eml b/src/ocamlorg_frontend/pages/learn.eml index bcea8a58a9..8a21e7aebf 100644 --- a/src/ocamlorg_frontend/pages/learn.eml +++ b/src/ocamlorg_frontend/pages/learn.eml @@ -47,7 +47,6 @@ Learn_layout.overview_render "bg-[#0E2A49]" %>
-
<%s! Learn_components.left_tutorial_block ~title:"GUIDES" ~heading:"Practical-Minded Tutorials and Guides" ~description:"How to solve real-world problems in OCaml" @@ -77,6 +76,9 @@ Learn_layout.overview_render <%s! Learn_components.left_books_content_block books ~title:"Recommended For Beginners" ~link:{href = Url.books; title = "See More Books"} %> <%s! Learn_components.right_books_content_block intermediate_books ~title:"For Intermediate Users" ~link:{href = Url.books; title = "See More Books"} %>
+ + <%s! Learn_components.lang_manual_banner %> +

Papers

@@ -110,5 +112,4 @@ Learn_layout.overview_render <%s! Icons.chevron_right "h-5 w-5" %>
-
diff --git a/src/ocamlorg_frontend/pages/outreachy.eml b/src/ocamlorg_frontend/pages/outreachy.eml index 489fb10fac..c0484b6bd7 100644 --- a/src/ocamlorg_frontend/pages/outreachy.eml +++ b/src/ocamlorg_frontend/pages/outreachy.eml @@ -10,7 +10,6 @@ Layout.render

This is a record of all past OCaml Community Outreachy Internship Projects.

-
<% metadata |> List.iter (fun (rounds : Data.Outreachy.t) -> %>