Skip to content

Commit

Permalink
chore: improve Apply Now button (#695)
Browse files Browse the repository at this point in the history
  • Loading branch information
shelegdmitriy authored Mar 11, 2024
1 parent d74293f commit 30dc4bc
Showing 1 changed file with 30 additions and 19 deletions.
49 changes: 30 additions & 19 deletions src/NearOrg/FoundersPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,24 @@ const Wrapper = styled.div`
--text-hero: 500 72px/1 "FK Grotesk", "Mona Sans", sans-serif;
margin-top: calc(var(--body-top-padding) * -1);
.darkButton {
color: #fff !important;
background: transparent !important;
border-color: #00ec97 !important;
&:focus {
border-color: var(--violet9) !important;
}
&:hover {
color: #000 !important;
background: #00ec97 !important;
}
&:active {
color: #000 !important;
background: var(--sand3) !important;
border-color: var(--sand3) !important;
}
}
@media (max-width: 900px) {
--section-gap: 80px;
}
Expand Down Expand Up @@ -147,22 +165,6 @@ const IconCircle = styled.div`
}
`;

const TextLink = styled("Link")`
font: var(--text-base);
font-weight: 600;
line-height: 150%;
color: var(--white);
background: transparent;
text-decoration: none;
padding: 16px 24px;
border-radius: 50px;
border: 1px solid var(--green10);
&:hover {
text-decoration: none;
}
`;

const Resource = ({ name, description, icon, url, target }) => (
<Widget
src="${REPL_ACCOUNT}/widget/NearOrg.Card"
Expand Down Expand Up @@ -325,9 +327,18 @@ return (
project to the next level.
</Text>
<Flex>
<TextLink href="https://www.hzn.xyz/hzn" target="_blank">
Apply Now
</TextLink>
<Widget
src="${REPL_ACCOUNT}/widget/DIG.Button"
props={{
href: "https://www.hzn.xyz/hzn",
target: "_blank",
label: "Apply Now",
variant: "affirmative",
fill: "outline",
size: "large",
className: "darkButton",
}}
/>
</Flex>
</Flex>
),
Expand Down

0 comments on commit 30dc4bc

Please sign in to comment.