Skip to content

Commit

Permalink
philanthropic-support
Browse files Browse the repository at this point in the history
  • Loading branch information
RoyEJohnson committed Oct 23, 2024
1 parent bf6fc0f commit 32be904
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 3 deletions.
1 change: 1 addition & 0 deletions src/app/pages/subjects/new/context.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ type SubjectsPageData = {
value: TutorValue;
}
];
philanthropicSupport: string;
};

// The Page data before DevStandardPair is translated to aboutBlurbs
Expand Down
3 changes: 3 additions & 0 deletions src/app/pages/subjects/new/import-philanthropic-support.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import PhilanthropicSupport from './philanthropic-support';

export default PhilanthropicSupport;
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@ export default function PhilanthropicSupport() {
<section className="philanthropic-support">
<div className="content">
<div className="text-content">
<RawHTML Tag="p" className="savings-blurb" html={savingsBlurb} />
<RawHTML
Tag="p"
className="savings-blurb"
html={savingsBlurb}
/>
</div>
</div>
</section>
Expand Down
2 changes: 1 addition & 1 deletion src/app/pages/subjects/new/specific/specific.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import {useCanonicalLink} from '~/helpers/use-document-head';
import cn from 'classnames';
import './specific.scss';

const importPhilanthropicSupport = () => import('../philanthropic-support.js');
const importPhilanthropicSupport = () => import('../import-philanthropic-support.js');
const importLearnMore = () => import('./learn-more.js');
const importWebinars = () => import('./import-webinars.js');
const importBlogPosts = () => import('./blog-posts.js');
Expand Down
2 changes: 1 addition & 1 deletion src/app/pages/subjects/new/subjects.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const importLanguageSelector = () => import('./language-selector-section.js');
const importSubjectsListing = () => import('./import-subjects-listing.js');
const importTutorAd = () => import('./import-tutor-ad.js');
const importInfoBoxes = () => import('./import-info-boxes.js');
const importPhilanthropicSupport = () => import('./philanthropic-support.js');
const importPhilanthropicSupport = () => import('./import-philanthropic-support.js');

function SEOSetup() {
const {title, pageDescription} = assertDefined(useSubjectsContext());
Expand Down

0 comments on commit 32be904

Please sign in to comment.