Skip to content

Commit

Permalink
feat!: Indigo redwood changes
Browse files Browse the repository at this point in the history
BREAKING CHANGE:  Upgrade to Redwood
  • Loading branch information
hinakhadim committed Jun 21, 2024
1 parent 83f34ce commit 2b7694a
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 91 deletions.
30 changes: 0 additions & 30 deletions .releaserc

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
"release": {
"tagFormat": "indigo-${version}",
"branches": [
"quince/indigo"
"redwood/indigo"
]
}
}
10 changes: 4 additions & 6 deletions src/components/Footer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@ import React from 'react';
import PropTypes from 'prop-types';
import { injectIntl, intlShape } from '@edx/frontend-platform/i18n';
import { sendTrackEvent } from '@edx/frontend-platform/analytics';
import { ensureConfig } from '@edx/frontend-platform';
import { ensureConfig, getConfig } from '@edx/frontend-platform';
import { AppContext } from '@edx/frontend-platform/react';
import { Image } from '@edx/paragon';
import { getConfig } from '@edx/frontend-platform';

import messages from './Footer.messages';
import LanguageSelector from './LanguageSelector';
Expand Down Expand Up @@ -54,16 +52,16 @@ class SiteFooter extends React.Component {
<li>{intl.formatMessage(messages['footer.poweredby.text'])}</li>
<li>
<a href="https://edly.io/tutor/" rel="noreferrer" target="_blank">
<Image
src={`${config.LMS_BASE_URL}/theming/asset/images/tutor-logo.png`}
<img
src={`${config.LMS_BASE_URL}/theming/asset/imgs/tutor-logo.png`}
alt={intl.formatMessage(messages['footer.tutorlogo.altText'])}
width="57"
/>
</a>
</li>
<li>
<a href="https://open.edx.org" rel="noreferrer" target="_blank">
<Image
<img
src={logo || `${config.LMS_BASE_URL}/theming/asset/images/openedx-logo.png`}
alt={intl.formatMessage(messages['footer.logo.altText'])}
width="79"
Expand Down
57 changes: 3 additions & 54 deletions src/components/__snapshots__/Footer.test.jsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,6 @@ exports[`<Footer /> renders correctly renders with a language selector 1`] = `
className="tutor-container"
id="footer"
>
<a
aria-label="edX Home"
className="d-block"
href="http://localhost:18000"
>
<img
alt="Powered by Open edX"
src="https://edx-cdn.org/v3/default/logo-trademark.svg"
style={
{
"maxHeight": 45,
}
}
/>
</a>
<div
className="footer-top"
>
Expand All @@ -43,8 +28,7 @@ exports[`<Footer /> renders correctly renders with a language selector 1`] = `
>
<img
alt="Runs on Tutor"
className=""
src="http://localhost:18000/theming/asset/images/tutor-logo.png"
src="http://localhost:18000/theming/asset/imgs/tutor-logo.png"
width="57"
/>
</a>
Expand All @@ -57,7 +41,6 @@ exports[`<Footer /> renders correctly renders with a language selector 1`] = `
>
<img
alt="Powered by Open edX"
className=""
src="http://localhost:18000/theming/asset/images/openedx-logo.png"
width="79"
/>
Expand Down Expand Up @@ -122,21 +105,6 @@ exports[`<Footer /> renders correctly renders without a language selector 1`] =
className="tutor-container"
id="footer"
>
<a
aria-label="edX Home"
className="d-block"
href="http://localhost:18000"
>
<img
alt="Powered by Open edX"
src="https://edx-cdn.org/v3/default/logo-trademark.svg"
style={
{
"maxHeight": 45,
}
}
/>
</a>
<div
className="footer-top"
>
Expand All @@ -157,8 +125,7 @@ exports[`<Footer /> renders correctly renders without a language selector 1`] =
>
<img
alt="Runs on Tutor"
className=""
src="http://localhost:18000/theming/asset/images/tutor-logo.png"
src="http://localhost:18000/theming/asset/imgs/tutor-logo.png"
width="57"
/>
</a>
Expand All @@ -171,7 +138,6 @@ exports[`<Footer /> renders correctly renders without a language selector 1`] =
>
<img
alt="Powered by Open edX"
className=""
src="http://localhost:18000/theming/asset/images/openedx-logo.png"
width="79"
/>
Expand All @@ -197,21 +163,6 @@ exports[`<Footer /> renders correctly renders without a language selector in es
className="tutor-container"
id="footer"
>
<a
aria-label="edX Home"
className="d-block"
href="http://localhost:18000"
>
<img
alt="Powered by Open edX"
src="https://edx-cdn.org/v3/default/logo-trademark.svg"
style={
{
"maxHeight": 45,
}
}
/>
</a>
<div
className="footer-top"
>
Expand All @@ -232,8 +183,7 @@ exports[`<Footer /> renders correctly renders without a language selector in es
>
<img
alt="Runs on Tutor"
className=""
src="http://localhost:18000/theming/asset/images/tutor-logo.png"
src="http://localhost:18000/theming/asset/imgs/tutor-logo.png"
width="57"
/>
</a>
Expand All @@ -246,7 +196,6 @@ exports[`<Footer /> renders correctly renders without a language selector in es
>
<img
alt="Powered by Open edX"
className=""
src="http://localhost:18000/theming/asset/images/openedx-logo.png"
width="79"
/>
Expand Down

0 comments on commit 2b7694a

Please sign in to comment.