From 04f41c42c4fa31c258ea4923d9d15cbade0c2a70 Mon Sep 17 00:00:00 2001 From: MartinBraquet Date: Thu, 26 Feb 2026 01:55:54 +0100 Subject: [PATCH] Clean button --- web/components/widgets/share-profile-button.tsx | 12 ++++++++---- web/pages/onboarding/soft-gate.tsx | 2 +- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/web/components/widgets/share-profile-button.tsx b/web/components/widgets/share-profile-button.tsx index 5c0450d1..e911ff90 100644 --- a/web/components/widgets/share-profile-button.tsx +++ b/web/components/widgets/share-profile-button.tsx @@ -1,11 +1,15 @@ import {ENV_CONFIG} from 'common/envs/constants' -import {Button} from 'web/components/buttons/button' +import {Button, ColorType} from 'web/components/buttons/button' import {CopyLinkOrShareButton} from 'web/components/buttons/copy-link-button' import {useUser} from 'web/hooks/use-user' import {useT} from 'web/lib/locale' -export const ShareProfileButton = (props: {username: string; className?: string}) => { - const {username, className} = props +export const ShareProfileButton = (props: { + username: string + className?: string + color?: ColorType +}) => { + const {username, className, color} = props const currentUser = useUser() const t = useT() const shareUrl = @@ -18,7 +22,7 @@ export const ShareProfileButton = (props: {username: string; className?: string} className={className} url={shareUrl} eventTrackingName="shareprofile" - color={'gray-outline'} + color={color} >
{t('button.share.label', 'Copy sharing link')}
diff --git a/web/pages/onboarding/soft-gate.tsx b/web/pages/onboarding/soft-gate.tsx index 49ebb130..17fce35f 100644 --- a/web/pages/onboarding/soft-gate.tsx +++ b/web/pages/onboarding/soft-gate.tsx @@ -61,7 +61,7 @@ export default function SoftGatePage() { - + )}