Skip to content

Commit

Permalink
fix: make links go to new page
Browse files Browse the repository at this point in the history
  • Loading branch information
teodorus-nathaniel committed Dec 26, 2023
1 parent 885213f commit d59cda1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/components/creators/MobileIncreaseSubRewards.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ export default function MobileIncreaseSubRewards(props: MobileIncreaseSubRewards
<div {...props} className={clsx(props.className, styles.MobileIncreaseSubRewards)}>
<span className={styles.Title}>Increase SUB rewards</span>
<Link href='https://polkaverse.com' passHref>
<a className={styles.Link}>Learn more</a>
<a target='_blank' className={styles.Link}>
Learn more
</a>
</Link>
<div className={styles.Gradient} />
</div>
Expand Down
4 changes: 3 additions & 1 deletion src/components/creators/cards/SupportCreatorCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ export default function SupportCreatorsCard() {
Generate rewards for both you and this creator by staking towards them
</span>
<DfImage src='/images/creators/subsocial-tokens-pink.png' className={clsx(styles.Image)} />
<Button href={getSubIdCreatorsLink()}>Stake</Button>
<Button href={getSubIdCreatorsLink()} target='_blank'>
Stake
</Button>
</div>

<div className={styles.Gradient1} />
Expand Down

0 comments on commit d59cda1

Please sign in to comment.