Skip to content

Commit

Permalink
Merge pull request #20 from ai16zpartners/feature/refactor_profile_so…
Browse files Browse the repository at this point in the history
…cial_button

Refactor social connect button
  • Loading branch information
awidearray authored Nov 6, 2024
2 parents 968bb43 + ef3d318 commit 19e799d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/components/Socials.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
line-height: 22px;
font-weight: 600;
margin: 0 14px;

}
.button {
border-radius: 14px;
Expand Down Expand Up @@ -74,7 +75,7 @@
margin: 0 24px;
}
.userName {
margin-left: 8px;
margin: 0 8px;
font-size: 14px;
opacity: 0.9;
color: #fff;
Expand Down
2 changes: 1 addition & 1 deletion src/components/Socials.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const SocialButton: FC<SocialButtonProps> = ({ provider }) => {
>
<div className={styles.text}>
{isThisProviderActive
? `Connected to ${provider}`
? `Disconnect ${provider}`
: `Connect with ${provider}`}
</div>
{isThisProviderActive && session?.user?.name && (
Expand Down

0 comments on commit 19e799d

Please sign in to comment.