Skip to content

Commit

Permalink
added banner to learn page and renamed component file
Browse files Browse the repository at this point in the history
  • Loading branch information
SaySayo committed Sep 5, 2023
1 parent fce738d commit b239bab
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
1 change: 0 additions & 1 deletion src/ocamlorg_frontend/components/learn_components.eml
Original file line number Diff line number Diff line change
Expand Up @@ -194,4 +194,3 @@ let lang_manual_banner =
<img src="../img/home/ocaml_camel.png" alt="camel image" class="rounded-full h-40 w-40 md:h-52 md:w-52 lg:h-72 lg:w-72 object-cover">
</div>
</div>
</a>
8 changes: 3 additions & 5 deletions src/ocamlorg_frontend/pages/learn.eml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ Learn_layout.overview_render
"bg-[#0E2A49]"
%>
</div>

<div class="grid md:grid-cols-2">
<%s! Learn_components.left_tutorial_block ~title:"GUIDES" ~heading:"Practical-Minded Tutorials and Guides"
~description:"How to solve real-world problems in OCaml"
Expand Down Expand Up @@ -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"} %>
</div>

<%s! Learn_components.lang_manual_banner %>

<div class="container-fluid">
<div class="mt-10 lg:mt-20 border-b border-gray-200 pb-10">
<h3 class="font-bold">Papers</h3>
Expand Down Expand Up @@ -111,7 +113,3 @@ Learn_layout.overview_render
</a>
</div>
</div>

<div>
<%s! Learn_components.lang_manual_banner %>
</div>

0 comments on commit b239bab

Please sign in to comment.