Skip to content

Commit

Permalink
feat: add know more link
Browse files Browse the repository at this point in the history
  • Loading branch information
EjembiEmmanuel committed Sep 14, 2024
1 parent 8d108bc commit c547f0a
Showing 1 changed file with 31 additions and 29 deletions.
60 changes: 31 additions & 29 deletions src/app/community/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,35 +42,37 @@ const CommunityPage: NextPage<CommunityPage> = () => {
These NFTs unlock future rewards and exclusive incentives.
</Text>

<Button
margin="auto auto 0 0"
variant="outline"
border="1px"
borderRadius="5px"
zIndex={1}
_before={{
content: `""`,
position: 'absolute',
top: 0,
left: 0,
right: 0,
bottom: 0,
borderRadius: 'inherit',
padding: '1.5px',
background: 'linear-gradient(90deg, #6F4FF2 0%, #61FCAE 100%)',
WebkitMask:
'linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0)',
mask: 'linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0)',
WebkitMaskComposite: 'destination-out',
maskComposite: 'exclude',
zIndex: -1,
}}
_hover={{
bg: 'color2_50p',
}}
>
<Text className="theme-gradient-text">Know more</Text>
</Button>
<Link href="https://docs.strkfarm.xyz/p/community" isExternal={true}>
<Button
margin="auto auto 0 0"
variant="outline"
border="1px"
borderRadius="5px"
zIndex={1}
_before={{
content: `""`,
position: 'absolute',
top: 0,
left: 0,
right: 0,
bottom: 0,
borderRadius: 'inherit',
padding: '1.5px',
background: 'linear-gradient(90deg, #6F4FF2 0%, #61FCAE 100%)',
WebkitMask:
'linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0)',
mask: 'linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0)',
WebkitMaskComposite: 'destination-out',
maskComposite: 'exclude',
zIndex: -1,
}}
_hover={{
bg: 'color2_50p',
}}
>
<Text className="theme-gradient-text">Know more</Text>
</Button>
</Link>
</Box>

<Box display="flex" flexDirection="column" flex="3" borderRadius="10px">
Expand Down

0 comments on commit c547f0a

Please sign in to comment.