diff --git a/CHANGELOG.md b/CHANGELOG.md index 109302a79..5a015889f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,9 @@ changes. ### Changed +- Update first CTA on GovTool home page [Issue 3467](https://github.com/IntersectMBO/govtool/issues/3467) +- Change link to docs in learn more about governance [Issue 3494](https://github.com/IntersectMBO/govtool/issues/3494) + ### Removed - Remove additional canonicalization of the metadata [Issue 3591](https://github.com/IntersectMBO/govtool/issues/3591) diff --git a/govtool/frontend/src/components/organisms/Hero.tsx b/govtool/frontend/src/components/organisms/Hero.tsx index e28c0d40a..a69726264 100644 --- a/govtool/frontend/src/components/organisms/Hero.tsx +++ b/govtool/frontend/src/components/organisms/Hero.tsx @@ -1,18 +1,14 @@ import { useMemo } from "react"; -import { useNavigate } from "react-router-dom"; import { Trans } from "react-i18next"; import { Box, Link } from "@mui/material"; +import { ArrowDownward } from "@mui/icons-material"; import { Button, Typography } from "@atoms"; -import { IMAGES, PATHS } from "@consts"; -import { useCardano, useModal } from "@context"; +import { IMAGES } from "@consts"; import { useScreenDimension, useTranslation } from "@hooks"; import { openInNewTab } from "@utils"; export const Hero = () => { - const { isEnabled } = useCardano(); - const { openModal } = useModal(); - const navigate = useNavigate(); const { isMobile, screenWidth } = useScreenDimension(); const { t } = useTranslation(); const IMAGE_SIZE = screenWidth < 640 ? 300 : screenWidth < 860 ? 400 : 600; @@ -33,7 +29,8 @@ export const Hero = () => { return screenWidth / 11; }, [screenWidth]); - const onClickVotingPower = () => openInNewTab("https://docs.gov.tools"); + const onClickVotingPower = () => + openInNewTab("https://docs.cardano.org/about-cardano/governance-overview"); return ( {