diff --git a/src/components/media/aspectRatioImage.js b/src/components/media/aspectRatioImage.js
index a0e5c977..141947d0 100644
--- a/src/components/media/aspectRatioImage.js
+++ b/src/components/media/aspectRatioImage.js
@@ -52,8 +52,8 @@ const AspectRatioImage = (props) => {
>
{
>
{
{props.blok.logo?.filename != null && (
)}
diff --git a/src/components/partials/campaignHero.js b/src/components/partials/campaignHero.js
index 58d3b430..09a54a3f 100644
--- a/src/components/partials/campaignHero.js
+++ b/src/components/partials/campaignHero.js
@@ -4,6 +4,7 @@ import cx from 'classnames';
import CreateBloks from '../../utilities/createBloks';
import Heading from './heading';
import FullWidthImage from '../media/fullWidthImage';
+import transformImage from '../../utilities/transformImage';
/* The Hero section with fullwidth image is referenced by the Campaign Page type. */
@@ -63,7 +64,7 @@ const CampaignHero = (props) => {
{blok.logo?.filename && (
)}
diff --git a/src/components/partials/campaignLeftImageHero.js b/src/components/partials/campaignLeftImageHero.js
index a9a331da..f375e9de 100644
--- a/src/components/partials/campaignLeftImageHero.js
+++ b/src/components/partials/campaignLeftImageHero.js
@@ -3,7 +3,7 @@ import SbEditable from 'storyblok-react';
import CreateBloks from '../../utilities/createBloks';
import Heading from './heading';
import FullWidthImage from '../media/fullWidthImage';
-import FlexCell from './flexCell';
+import transformImage from '../../utilities/transformImage';
/* The Hero section with image on the left is referenced by the Campaign Page type. */
@@ -31,7 +31,7 @@ const CampaignLeftImageHero = (props) => {
{props.blok.logo.filename && (
)}
diff --git a/src/components/partials/headerFullWidthImage.js b/src/components/partials/headerFullWidthImage.js
index 183e5dc7..4ba4c56c 100644
--- a/src/components/partials/headerFullWidthImage.js
+++ b/src/components/partials/headerFullWidthImage.js
@@ -8,6 +8,7 @@ import Heading from './heading';
import { config } from '../../utilities/config';
import FullWidthImage from '../media/fullWidthImage';
import FlexCell from './flexCell';
+import transformImage from '../../utilities/transformImage';
/* The Header with Fullwidth Image component is referenced by the Interior Page type. */
@@ -48,7 +49,7 @@ const HeaderFullWidthImage = (props) => {
{props.blok.headerLogo.filename && (
)}
diff --git a/src/pages/citizenship.js b/src/pages/citizenship.js
index 62cbdc9b..f7efcaac 100644
--- a/src/pages/citizenship.js
+++ b/src/pages/citizenship.js
@@ -7,6 +7,7 @@ import CenteredContainer from '../components/partials/centeredContainer';
import SbLink from '../components/partials/sbLink';
const ForeignSourceReporting = ({ data }) => {
+ const isProduction = process.env.CONTEXT === 'production';
const oodLocalHeader = {
...data?.header,
content: JSON.parse(data?.header.content),
@@ -56,7 +57,9 @@ const ForeignSourceReporting = ({ data }) => {
Stanford’s Gift Policy