diff --git a/src/components/Footer.jsx b/src/components/Footer.jsx
index 9d456550ac..ed59967b19 100644
--- a/src/components/Footer.jsx
+++ b/src/components/Footer.jsx
@@ -11,6 +11,7 @@ import LanguageSelector from './LanguageSelector';
ensureConfig([
'LMS_BASE_URL',
'LOGO_TRADEMARK_URL',
+ 'INDIGO_FOOTER_NAV_LINKS',
], 'Footer component');
const EVENT_NAMES = {
@@ -42,6 +43,7 @@ class SiteFooter extends React.Component {
} = this.props;
const showLanguageSelector = supportedLanguages.length > 0 && onLanguageSelected;
const config = getConfig();
+ const indigoFooterNavLinks = config.INDIGO_FOOTER_NAV_LINKS || [];
return (
@@ -70,6 +72,15 @@ class SiteFooter extends React.Component {
+
{intl.formatMessage(messages['footer.copyright.text'])}
{showLanguageSelector && (
diff --git a/src/components/Footer.test.jsx b/src/components/Footer.test.jsx
index 1dd2b9ab4e..64cecc829a 100644
--- a/src/components/Footer.test.jsx
+++ b/src/components/Footer.test.jsx
@@ -7,6 +7,17 @@ import { AppContext } from '@edx/frontend-platform/react';
import Footer from './Footer';
+jest.mock('@edx/frontend-platform', () => ({
+ ...jest.requireActual('@edx/frontend-platform'),
+ getConfig: () => ({
+ LMS_BASE_URL: process.env.LMS_BASE_URL,
+ INDIGO_FOOTER_NAV_LINKS: [
+ { title: 'About Us', url: '/about' },
+ { title: 'Contact', url: '/contact' },
+ ],
+ }),
+}));
+
const FooterWithContext = ({ locale = 'es' }) => {
const contextValue = useMemo(() => ({
authenticatedUser: null,
diff --git a/src/components/__snapshots__/Footer.test.jsx.snap b/src/components/__snapshots__/Footer.test.jsx.snap
index 1b75dcc2e1..9c7f3fc83a 100644
--- a/src/components/__snapshots__/Footer.test.jsx.snap
+++ b/src/components/__snapshots__/Footer.test.jsx.snap
@@ -48,6 +48,26 @@ exports[` renders correctly renders with a language selector 1`] = `
+
renders correctly renders without a language selector 1`] =
+
renders correctly renders without a language selector in es
+