-
+
>
);
diff --git a/client/src/pages/donate.tsx b/client/src/pages/donate.tsx
index 608ddfc7c15..a279ee03217 100644
--- a/client/src/pages/donate.tsx
+++ b/client/src/pages/donate.tsx
@@ -1,4 +1,4 @@
-import { Container, Col, Row } from '@freecodecamp/ui';
+import { Container, Col, Row, Spacer } from '@freecodecamp/ui';
import type { TFunction } from 'i18next';
import React, { useEffect } from 'react';
import Helmet from 'react-helmet';
@@ -16,7 +16,7 @@ import {
CommunityAchievementsText,
GetSupporterBenefitsText
} from '../components/Donation/donation-text-components';
-import { Spacer, Loader } from '../components/helpers';
+import { Loader } from '../components/helpers';
import {
signInLoadingSelector,
userSelector,
@@ -93,19 +93,19 @@ function DonatePage({
-
+
-
+
-
+
@@ -118,9 +118,9 @@ function DonatePage({
-
+
-
+
@@ -130,7 +130,7 @@ function DonatePage({
-
+
>
);
diff --git a/client/src/pages/email-sign-up.tsx b/client/src/pages/email-sign-up.tsx
index 6a406878472..a5860edca6c 100644
--- a/client/src/pages/email-sign-up.tsx
+++ b/client/src/pages/email-sign-up.tsx
@@ -5,11 +5,11 @@ import { connect } from 'react-redux';
import { bindActionCreators } from 'redux';
import type { Dispatch } from 'redux';
import { createSelector } from 'reselect';
-import { Container, Col, Row, Button } from '@freecodecamp/ui';
+import { Container, Col, Row, Button, Spacer } from '@freecodecamp/ui';
import IntroDescription from '../components/Intro/components/intro-description';
import createRedirect from '../components/create-redirect';
-import { Spacer, Loader, Link } from '../components/helpers';
+import { Loader, Link } from '../components/helpers';
import { apiLocation } from '../../config/env.json';
import { acceptTerms } from '../redux/actions';
@@ -71,7 +71,7 @@ function EmailListOptIn({
>
{t('buttons.yes-please')}
-
+
-
+
@@ -90,7 +90,7 @@ function EmailListOptIn({
} else {
return (
-
+
-
+
);
}
@@ -133,9 +133,9 @@ function AcceptPrivacyTerms({
{isSignedIn && completedChallengeCount < 1 ? (
-
+
{t('misc.brand-new-account')}
-
+
@@ -148,16 +148,16 @@ function AcceptPrivacyTerms({
)}
-
+
-
+
{t('misc.email-blast')}
-
+
{showLoading ? (
@@ -165,7 +165,7 @@ function AcceptPrivacyTerms({
)}
-
+
diff --git a/client/src/pages/learn.tsx b/client/src/pages/learn.tsx
index b782acccf0d..41458f65f2d 100644
--- a/client/src/pages/learn.tsx
+++ b/client/src/pages/learn.tsx
@@ -4,11 +4,10 @@ import Helmet from 'react-helmet';
import { useTranslation } from 'react-i18next';
import { connect } from 'react-redux';
import { createSelector } from 'reselect';
-import { Container, Col, Row } from '@freecodecamp/ui';
+import { Container, Col, Row, Spacer } from '@freecodecamp/ui';
import Intro from '../components/Intro';
import Map from '../components/Map';
-import { Spacer } from '../components/helpers';
import LearnLayout from '../components/layouts/learn';
import {
isSignedInSelector,
@@ -107,7 +106,7 @@ function LearnPage({
isDonating={isDonating}
/>
diff --git a/client/src/pages/supporters.tsx b/client/src/pages/supporters.tsx
index acd69356d18..d21fa21d771 100644
--- a/client/src/pages/supporters.tsx
+++ b/client/src/pages/supporters.tsx
@@ -3,10 +3,9 @@ import Helmet from 'react-helmet';
import { withTranslation, useTranslation } from 'react-i18next';
import { connect } from 'react-redux';
import { createSelector } from 'reselect';
-import { Container, Row, Col } from '@freecodecamp/ui';
+import { Container, Row, Col, Spacer } from '@freecodecamp/ui';
import BigCallToAction from '../components/landing/components/big-call-to-action';
-import { Spacer } from '../components/helpers';
import {
isSignedInSelector,
isDonatingSelector,
@@ -62,13 +61,13 @@ function ConditionalContent({
if (isSignedIn && !isDonating) {
return (
-
+
{t('learn.donation-record-not-found')}
-
+
{t('learn.contact-support-mistake')}
-
+
);
} else if (isSignedIn && isDonating) {
@@ -82,7 +81,7 @@ function ConditionalContent({
-
+
>
@@ -90,13 +89,13 @@ function ConditionalContent({
} else
return (
-
+
{t('learn.sign-in-see-benefits')}
-
+
-
+
);
}
@@ -132,13 +131,13 @@ function SupportersPage({ isSignedIn, isDonating }: SupportersPageProps) {
-
+
-
+
>
);
diff --git a/client/src/pages/update-stripe-card.tsx b/client/src/pages/update-stripe-card.tsx
index 81137915074..75e6800269f 100644
--- a/client/src/pages/update-stripe-card.tsx
+++ b/client/src/pages/update-stripe-card.tsx
@@ -5,10 +5,9 @@ import Helmet from 'react-helmet';
import { useTranslation } from 'react-i18next';
import { connect } from 'react-redux';
import { createSelector } from 'reselect';
-import { Container, Row, Col, Button } from '@freecodecamp/ui';
+import { Container, Row, Col, Button, Spacer } from '@freecodecamp/ui';
import BigCallToAction from '../components/landing/components/big-call-to-action';
-import { Spacer } from '../components/helpers';
import {
isSignedInSelector,
isDonatingSelector,
@@ -62,7 +61,7 @@ function ConditionalContent({
return (
<>
{t('learn.donation-record-not-found')}
-
+
{t('learn.contact-support-mistake')}
>
);
@@ -80,7 +79,7 @@ function ConditionalContent({
} else
return (
<>
-
+
@@ -90,7 +89,7 @@ function ConditionalContent({
return (
<>
{t('learn.sign-in-card-update')}
-
+
>
);
@@ -126,14 +125,14 @@ function UpdateStripeCard({
-
+
-
+
diff --git a/client/src/templates/Challenges/classic/lower-jaw.tsx b/client/src/templates/Challenges/classic/lower-jaw.tsx
index 2bb381196c6..50a01c12c00 100644
--- a/client/src/templates/Challenges/classic/lower-jaw.tsx
+++ b/client/src/templates/Challenges/classic/lower-jaw.tsx
@@ -2,7 +2,7 @@ import React, { useState, useEffect, useRef } from 'react';
import { useTranslation } from 'react-i18next';
import { createSelector } from 'reselect';
-import { Button } from '@freecodecamp/ui';
+import { Button, Spacer } from '@freecodecamp/ui';
import { connect } from 'react-redux';
import Fail from '../../../assets/icons/fail';
import LightBulb from '../../../assets/icons/lightbulb';
@@ -22,7 +22,6 @@ import {
completedPercentageSelector
} from '../redux/selectors';
import callGA from '../../../analytics/call-ga';
-import { Spacer } from '../../../components/helpers';
interface LowerJawPanelProps extends ShareProps {
resetButtonText: string;
@@ -320,7 +319,7 @@ const LowerJaw = ({
>
{t('learn.sign-in-save')}
-
+
>
)}