From 188f1851d685e95380cd3ac1d1c227370f9f6edc Mon Sep 17 00:00:00 2001 From: pietro-maximoff Date: Tue, 15 Oct 2024 11:53:29 +0200 Subject: [PATCH 01/43] SOV-4445: Add Runes page --- .../3_organisms/Header/Header.constants.tsx | 4 + .../src/app/3_organisms/Header/Header.tsx | 2 +- .../5_pages/RunesPage/RunesPage.constants.ts | 50 ++++++ .../src/app/5_pages/RunesPage/RunesPage.tsx | 154 ++++++++++++++++++ .../app/5_pages/RunesPage/RunesPage.types.ts | 4 + .../app/5_pages/RunesPage/RunesPage.utils.tsx | 66 ++++++++ .../app/5_pages/RunesPage/assets/convert.svg | 27 +++ .../src/app/5_pages/RunesPage/assets/earn.svg | 28 ++++ .../src/app/5_pages/RunesPage/assets/l1.svg | 10 ++ .../src/app/5_pages/RunesPage/assets/l2.svg | 4 + .../src/app/5_pages/RunesPage/assets/l3.svg | 9 + .../src/app/5_pages/RunesPage/assets/l4.svg | 5 + apps/frontend/src/constants/links.ts | 3 + .../frontend/src/locales/en/translations.json | 38 +++++ apps/frontend/src/router.tsx | 6 + 15 files changed, 409 insertions(+), 1 deletion(-) create mode 100644 apps/frontend/src/app/5_pages/RunesPage/RunesPage.constants.ts create mode 100644 apps/frontend/src/app/5_pages/RunesPage/RunesPage.tsx create mode 100644 apps/frontend/src/app/5_pages/RunesPage/RunesPage.types.ts create mode 100644 apps/frontend/src/app/5_pages/RunesPage/RunesPage.utils.tsx create mode 100644 apps/frontend/src/app/5_pages/RunesPage/assets/convert.svg create mode 100644 apps/frontend/src/app/5_pages/RunesPage/assets/earn.svg create mode 100644 apps/frontend/src/app/5_pages/RunesPage/assets/l1.svg create mode 100644 apps/frontend/src/app/5_pages/RunesPage/assets/l2.svg create mode 100644 apps/frontend/src/app/5_pages/RunesPage/assets/l3.svg create mode 100644 apps/frontend/src/app/5_pages/RunesPage/assets/l4.svg diff --git a/apps/frontend/src/app/3_organisms/Header/Header.constants.tsx b/apps/frontend/src/app/3_organisms/Header/Header.constants.tsx index 78e8630e3..b02a6cc3c 100644 --- a/apps/frontend/src/app/3_organisms/Header/Header.constants.tsx +++ b/apps/frontend/src/app/3_organisms/Header/Header.constants.tsx @@ -69,4 +69,8 @@ export const menuItemsMapping: MenuItem[] = [ text: t(translations.header.nav.bitocracy), url: '/bitocracy', }, + { + text: t(translations.header.nav.runes), + url: '/runes', + }, ]; diff --git a/apps/frontend/src/app/3_organisms/Header/Header.tsx b/apps/frontend/src/app/3_organisms/Header/Header.tsx index 7615c068d..890bb6406 100644 --- a/apps/frontend/src/app/3_organisms/Header/Header.tsx +++ b/apps/frontend/src/app/3_organisms/Header/Header.tsx @@ -73,7 +73,7 @@ export const Header: FC = () => {