diff --git a/apps/trading/client-pages/competitions/competitions-create-team.tsx b/apps/trading/client-pages/competitions/competitions-create-team.tsx index fe1df4f25..563eed22a 100644 --- a/apps/trading/client-pages/competitions/competitions-create-team.tsx +++ b/apps/trading/client-pages/competitions/competitions-create-team.tsx @@ -26,6 +26,7 @@ import { DApp, TokenStaticLinks, useLinks } from '@vegaprotocol/environment'; import { RainbowButton } from '../../components/rainbow-button'; import { usePageTitle } from '../../lib/hooks/use-page-title'; import { ErrorBoundary } from '../../components/error-boundary'; +import { Box } from '../../components/competitions/box'; interface FormFields { name: string; @@ -54,24 +55,26 @@ export const CompetitionsCreateTeam = () => {
-
-

- {t('Create a team')} -

- {pubKey && !isReadOnly ? ( - - ) : ( - <> -

- {t( - 'Create a team to participate in team based rewards as well as access the discount benefits of the current referral program.' - )} -

- - {t('Connect wallet')} - - - )} +
+ +

+ {t('Create a team')} +

+ {pubKey && !isReadOnly ? ( + + ) : ( + <> +

+ {t( + 'Create a team to participate in team based rewards as well as access the discount benefits of the current referral program.' + )} +

+ + {t('Connect wallet')} + + + )} +
diff --git a/apps/trading/components/competitions/box.tsx b/apps/trading/components/competitions/box.tsx index 161bc0959..d6c15de41 100644 --- a/apps/trading/components/competitions/box.tsx +++ b/apps/trading/components/competitions/box.tsx @@ -13,7 +13,7 @@ export const Box = (props: HTMLAttributes) => { BORDER_COLOR, GRADIENT, 'border rounded-lg', - 'p-6 flex flex-col items-center gap-6 text-center', + 'p-6', props.className )} /> diff --git a/apps/trading/components/competitions/competitions-cta.tsx b/apps/trading/components/competitions/competitions-cta.tsx index a1f375b05..c61c6ec09 100644 --- a/apps/trading/components/competitions/competitions-cta.tsx +++ b/apps/trading/components/competitions/competitions-cta.tsx @@ -28,7 +28,7 @@ export const CompetitionsAction = ({ children?: ReactNode; }) => { return ( - +

{title}

{description &&

{description}

}