Skip to content

Commit

Permalink
Merge pull request #2472 from starknet-io/hp-text-and-links
Browse files Browse the repository at this point in the history
Homepage update text and change js navigation to href link
  • Loading branch information
igalst authored Feb 12, 2024
2 parents 61a1a69 + 448fa85 commit cb8a0f3
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions workspaces/website/src/blocks/HomepageHero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ type Props = {
};
};
import { Intro } from "./Intro";
import { navigate } from "vite-plugin-ssr/client/router";

export const HomepageHero = ({ seo }: Props) => {
return (
Expand Down Expand Up @@ -117,7 +116,7 @@ export const HomepageHero = ({ seo }: Props) => {
zIndex={4}
>
<Button
onClick={() => navigate("/en/developers")}
href="/en/developers"
size="lg"
minW="210px"
variant="primaryHero"
Expand All @@ -127,9 +126,9 @@ export const HomepageHero = ({ seo }: Props) => {
<Button
size="lg"
variant="secondaryHero"
onClick={() => navigate("/en/what-is-starknet")}
href="/en/what-is-starknet"
>
Learn the basics
Explore Starknet
</Button>
</Stack>
</Box>
Expand Down

0 comments on commit cb8a0f3

Please sign in to comment.