Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding Icon to open blank #2789

Open
wants to merge 9 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 9 additions & 6 deletions workspaces/website/src/blocks/HomepageHero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ import { Heading } from "@ui/Typography/Heading";
import { Text } from "@ui/Typography/Text";
import { Intro } from "./Intro";
import ProvisionsPopup from "@ui/ProvisionsPopup/ProvisionsPopup";
import { gtmEvent } from "src/utils/utils";
import { HiArrowTopRightOnSquare } from "react-icons/hi2";
TalBenAvi marked this conversation as resolved.
Show resolved Hide resolved

type Props = {
readonly seo: {
Expand Down Expand Up @@ -120,27 +122,28 @@ export const HomepageHero = ({ seo }: Props) => {
>
<Button
href="/en/developers"
size="lg"
size="xl"
fontSize="lg"
minW="210px"
variant="primaryHero"
>
Build on Starknet
</Button>
<Button
size="lg"
fontSize="lg"
gap={2}
variant="secondaryHero"
href="https://starkgate.starknet.io/"
target="_blank"
onClick={() => gtmEvent("Bridge_button_click")}
>
Bridge
<HiArrowTopRightOnSquare strokeWidth={0.5} />
</Button>
</Stack>
</Box>
<Box
zIndex={0}
order={{ base: 0, lg: 1 }}
// boxSize={{ base: "20", lg: "8" }}
/>
<Box zIndex={0} order={{ base: 0, lg: 1 }} />
<Img
position="relative"
marginRight={{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const NavbarStickyBanner = ({
textAlign={{ base: "left", md: "center" }}
color="white"
_dark={{ color: "snNavy" }}
width={{ base: "245px", sm: "unset" }}
width={{ base: "unset", sm: "245px" }}
>
{text}
</Text>
Expand Down
Loading