From d96444755e45ff521485075a3a069e265328a7b8 Mon Sep 17 00:00:00 2001 From: Sayo <75541866+SaySayo@users.noreply.github.com> Date: Tue, 22 Aug 2023 10:56:08 +0100 Subject: [PATCH] Component for tutorial block according to Learn Area Redesign (#1387) --- .../components/learn_components.eml | 198 +++++++++++------- .../layouts/learn_layout.eml | 83 ++++++-- src/ocamlorg_frontend/pages/learn.eml | 171 +++++++++------ tailwind.config.js | 3 +- 4 files changed, 308 insertions(+), 147 deletions(-) diff --git a/src/ocamlorg_frontend/components/learn_components.eml b/src/ocamlorg_frontend/components/learn_components.eml index 9030ec5a51..3b96645022 100644 --- a/src/ocamlorg_frontend/components/learn_components.eml +++ b/src/ocamlorg_frontend/components/learn_components.eml @@ -1,71 +1,127 @@ -let skill_tag -difficulty -class_ - = - match difficulty with - | Some "beginner" -> -
- Effortlessly download, install, and set up OCaml!
-- Searchable index of values, types, modules, etc. in Stdlib.
-+ Effortlessly download, install, and set up OCaml!
++ Searchable index of values, types, modules, etc. in Stdlib.
+