From 8f818183a076bc56f79ec7fcaf632383d5bd880d Mon Sep 17 00:00:00 2001 From: Sayo <75541866+SaySayo@users.noreply.github.com> Date: Wed, 2 Aug 2023 08:41:28 +0100 Subject: [PATCH] Skill Tag Component [Learn Area Redesign] (#1427) --- .../components/learn_components.eml | 15 +++++++++++++++ src/ocamlorg_frontend/dune | 8 ++++++++ src/ocamlorg_frontend/pages/books.eml | 19 ++++++------------- 3 files changed, 29 insertions(+), 13 deletions(-) create mode 100644 src/ocamlorg_frontend/components/learn_components.eml diff --git a/src/ocamlorg_frontend/components/learn_components.eml b/src/ocamlorg_frontend/components/learn_components.eml new file mode 100644 index 0000000000..2377dc1d85 --- /dev/null +++ b/src/ocamlorg_frontend/components/learn_components.eml @@ -0,0 +1,15 @@ +let skill_tag +difficulty +class_ + = + match difficulty with + | Some "beginner" -> +