Skip to content

Commit

Permalink
feat: replace hardcoded logo with logo from configs (#426)
Browse files Browse the repository at this point in the history
  • Loading branch information
ihor-romaniuk authored Mar 3, 2023
1 parent 9910937 commit a5bc86e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 80 deletions.
5 changes: 2 additions & 3 deletions src/studio-header/Header.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,11 @@ import DesktopHeader from './DesktopHeader';
import MobileHeader from './MobileHeader';
import messages from './Header.messages';

import StudioLogoSVG from './assets/studio-logo.svg';

ensureConfig([
'STUDIO_BASE_URL',
'LOGOUT_URL',
'LOGIN_URL',
'LOGO_URL',
], 'Header component');

const Header = ({
Expand Down Expand Up @@ -154,7 +153,7 @@ const Header = ({
);

const props = {
logo: StudioLogoSVG,
logo: config.LOGO_URL,
logoAltText: 'Studio edX',
siteName: 'edX',
logoDestination: config.STUDIO_BASE_URL,
Expand Down
77 changes: 0 additions & 77 deletions src/studio-header/assets/studio-logo.svg

This file was deleted.

0 comments on commit a5bc86e

Please sign in to comment.