diff --git a/src/pages/RepoPage/ActivationAlert/ActivationAlert.tsx b/src/pages/RepoPage/ActivationAlert/ActivationAlert.tsx index f0290c81a5..a7632a470e 100644 --- a/src/pages/RepoPage/ActivationAlert/ActivationAlert.tsx +++ b/src/pages/RepoPage/ActivationAlert/ActivationAlert.tsx @@ -6,7 +6,7 @@ import { usePlanData } from 'services/account' import { isFreePlan } from 'shared/utils/billing' import ActivationRequiredAlert from './ActivationRequiredAlert' -import ActivationRequiredSelfHostet from './ActivationRequiredSelfHosted' +import ActivationRequiredSelfHosted from './ActivationRequiredSelfHosted' import FreePlanSeatsTakenAlert from './FreePlanSeatsTakenAlert' import PaidPlanSeatsTakenAlert from './PaidPlanSeatsTakenAlert' import UnauthorizedRepoDisplay from './UnauthorizedRepoDisplay' @@ -33,7 +33,7 @@ function ActivationAlert() { !isFreePlan(planData?.plan?.value) && planData?.plan?.hasSeatsLeft if (config.IS_SELF_HOSTED) { - return + return } if (renderFreePlanSeatsTakenAlert) { diff --git a/src/pages/RepoPage/ActivationAlert/ActivationRequiredSelfHosted/ActivationRequiredSelfHosted.tsx b/src/pages/RepoPage/ActivationAlert/ActivationRequiredSelfHosted/ActivationRequiredSelfHosted.tsx index 4906c0cf49..61d6bb0d96 100644 --- a/src/pages/RepoPage/ActivationAlert/ActivationRequiredSelfHosted/ActivationRequiredSelfHosted.tsx +++ b/src/pages/RepoPage/ActivationAlert/ActivationRequiredSelfHosted/ActivationRequiredSelfHosted.tsx @@ -6,9 +6,12 @@ import { import A from 'ui/A' import Button from 'ui/Button' +const alertWrapperClassName = + 'flex flex-col items-center justify-center gap-8 bg-ds-gray-primary pb-28 pt-12 text-center' + function SeatsLimitReached() { return ( -
+
Forbidden

Activation Required

@@ -30,7 +33,7 @@ function SeatsLimitReached() { function SeatsAvailable({ isAdmin }: { isAdmin: boolean }) { return ( -
+
Forbidden

Activation Required