Skip to content

Commit

Permalink
feat: Update Logo's to point to theming instead of the static indigo …
Browse files Browse the repository at this point in the history
…theme
  • Loading branch information
misilot committed Apr 4, 2024
1 parent 8e61560 commit 2a50145
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions src/components/Footer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class SiteFooter extends React.Component {
<li>
<a href="https://edly.io/tutor/" rel="noreferrer" target="_blank">
<Image
src={`${config.LMS_BASE_URL}/static/indigo/images/tutor-logo.png`}
src={`${config.LMS_BASE_URL}/theming/asset/images/tutor-logo.png`}
alt={intl.formatMessage(messages['footer.tutorlogo.altText'])}
width="57"
/>
Expand All @@ -64,7 +64,7 @@ class SiteFooter extends React.Component {
<li>
<a href="https://open.edx.org" rel="noreferrer" target="_blank">
<Image
src={logo || `${config.LMS_BASE_URL}/static/indigo/images/openedx-logo.png`}
src={logo || `${config.LMS_BASE_URL}/theming/asset/images/openedx-logo.png`}
alt={intl.formatMessage(messages['footer.logo.altText'])}
width="79"
/>
Expand Down
12 changes: 6 additions & 6 deletions src/components/__snapshots__/Footer.test.jsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ exports[`<Footer /> renders correctly renders with a language selector 1`] = `
<img
alt="Runs on Tutor"
className=""
src="http://localhost:18000/static/indigo/images/tutor-logo.png"
src="http://localhost:18000/theming/asset/images/tutor-logo.png"
width="57"
/>
</a>
Expand All @@ -43,7 +43,7 @@ exports[`<Footer /> renders correctly renders with a language selector 1`] = `
<img
alt="Powered by Open edX"
className=""
src="http://localhost:18000/static/indigo/images/openedx-logo.png"
src="http://localhost:18000/theming/asset/images/openedx-logo.png"
width="79"
/>
</a>
Expand Down Expand Up @@ -127,7 +127,7 @@ exports[`<Footer /> renders correctly renders without a language selector 1`] =
<img
alt="Runs on Tutor"
className=""
src="http://localhost:18000/static/indigo/images/tutor-logo.png"
src="http://localhost:18000/theming/asset/images/tutor-logo.png"
width="57"
/>
</a>
Expand All @@ -141,7 +141,7 @@ exports[`<Footer /> renders correctly renders without a language selector 1`] =
<img
alt="Powered by Open edX"
className=""
src="http://localhost:18000/static/indigo/images/openedx-logo.png"
src="http://localhost:18000/theming/asset/images/openedx-logo.png"
width="79"
/>
</a>
Expand Down Expand Up @@ -187,7 +187,7 @@ exports[`<Footer /> renders correctly renders without a language selector in es
<img
alt="Runs on Tutor"
className=""
src="http://localhost:18000/static/indigo/images/tutor-logo.png"
src="http://localhost:18000/theming/asset/images/tutor-logo.png"
width="57"
/>
</a>
Expand All @@ -201,7 +201,7 @@ exports[`<Footer /> renders correctly renders without a language selector in es
<img
alt="Powered by Open edX"
className=""
src="http://localhost:18000/static/indigo/images/openedx-logo.png"
src="http://localhost:18000/theming/asset/images/openedx-logo.png"
width="79"
/>
</a>
Expand Down

0 comments on commit 2a50145

Please sign in to comment.