From e50ce4a50170761b5436b6df2f8663ba9dc74d0d Mon Sep 17 00:00:00 2001 From: voenkomatiwe Date: Wed, 17 Jan 2024 15:04:28 +0200 Subject: [PATCH] feat: As a user, I want to see a link to my attestations in the front page jumbotron for quick navigation --- explorer/src/assets/locales/en/en.json | 3 +- .../pages/Home/components/Jumbotron/index.tsx | 43 +++++++++++-------- 2 files changed, 27 insertions(+), 19 deletions(-) diff --git a/explorer/src/assets/locales/en/en.json b/explorer/src/assets/locales/en/en.json index 02329064..431ff20c 100644 --- a/explorer/src/assets/locales/en/en.json +++ b/explorer/src/assets/locales/en/en.json @@ -16,7 +16,8 @@ "previous": "Previous", "next": "Next", "learnMore": "Learn More", - "getStarted": "Get Started" + "getStarted": "Get Started", + "viewMyAttestations": "View My Attestations" }, "messages": { "empty": "Empty", diff --git a/explorer/src/pages/Home/components/Jumbotron/index.tsx b/explorer/src/pages/Home/components/Jumbotron/index.tsx index b8dddb84..f1d10ba0 100644 --- a/explorer/src/pages/Home/components/Jumbotron/index.tsx +++ b/explorer/src/pages/Home/components/Jumbotron/index.tsx @@ -1,39 +1,46 @@ import { t } from "i18next"; -import { ArrowUpRight } from "lucide-react"; +import { ArrowUpRight, ChevronRight } from "lucide-react"; import { Trans } from "react-i18next"; import { Button } from "@/components/Buttons"; import { EButtonType } from "@/components/Buttons/enum"; +import { Link } from "@/components/Link"; import { SearchInput } from "@/components/SearchInput"; import { veraxLink } from "@/constants"; +import { APP_ROUTES } from "@/routes/constants"; export const Jumbotron: React.FC = () => { return ( -
-

+

+

{t("home.title")}

-

+

{t("home.description")}

-
-
-
+
+
+ + {t("common.actions.viewMyAttestations")} + +
); };