Skip to content

Commit

Permalink
fix: discord link
Browse files Browse the repository at this point in the history
  • Loading branch information
fricoben committed Aug 25, 2023
1 parent 29f2297 commit 30d44f9
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
12 changes: 5 additions & 7 deletions components/UI/actions/clickable/clickableDiscordIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,11 @@ const ClickableDiscordIcon: FunctionComponent<ClickableDiscordIconProps> = ({
discordId,
}) => {
return discordId ? (
<Tooltip title={`Check ${minifyDomain(domain ?? "")} discord`} arrow>
<div
className={styles.clickableIconDiscord}
onClick={() =>
window.open(`https://discord.com/channels/@me/${discordId}`)
}
>
<Tooltip
title={`${minifyDomain(domain ?? "")} discord's is verified`}
arrow
>
<div className={styles.clickableIconDiscord}>
<div className={styles.verifiedIcon}>
<VerifiedIcon width={"18"} color={theme.palette.primary.main} />
</div>
Expand Down
6 changes: 6 additions & 0 deletions styles/components/icons.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,13 @@

.clickableIconDiscord {
background-color: #7289d9;
cursor: pointer;
}

.clickableIconTwitter {
cursor: pointer;
}

.button_icon {
width: 24px;
margin-right: 12px;
Expand Down

0 comments on commit 30d44f9

Please sign in to comment.