Skip to content

Commit

Permalink
feat: add open-in-new-tab icon in subtitle
Browse files Browse the repository at this point in the history
  • Loading branch information
Keith-CY committed Oct 13, 2023
1 parent 1959c39 commit edca2ab
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
3 changes: 3 additions & 0 deletions src/pages/roadmap/Section.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@
background: linear-gradient(268deg, #1d61f0 0%, #18efb1 100%);
background-clip: text;
-webkit-text-fill-color: transparent;
svg {
color: #1d61f0;
}
}

.descriptionText {
Expand Down
8 changes: 3 additions & 5 deletions src/pages/roadmap/index.page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ const Roadmap: NextPage = () => {
},
iconPosition: 'left' as const,
subtitle: (
<a href="https://github.com/nervosnetwork/ckb/discussions/3827" target="_blank" rel="noopener noreferrer">
<StyledLink href="https://github.com/nervosnetwork/ckb/discussions/3827">
{t('in_progress.subtitle')}
</a>
</StyledLink>
),
descriptionText: t('in_progress.description'),
descriptionLink: t('in_progress.link'),
Expand Down Expand Up @@ -60,9 +60,7 @@ const Roadmap: NextPage = () => {
},
iconPosition: 'right' as const,
subtitle: (
<a href="https://github.com/nervosnetwork/ckb/discussions/3827" target="_blank" rel="noopener noreferrer">
{t('upcoming.subtitle')}
</a>
<StyledLink href="https://github.com/nervosnetwork/ckb/discussions/3827">{t('upcoming.subtitle')}</StyledLink>
),
descriptionText: t('upcoming.description'),
descriptionLink: t('upcoming.link'),
Expand Down

0 comments on commit edca2ab

Please sign in to comment.