@@ -6,6 +6,8 @@ import { ensureConfig } from '@edx/frontend-platform/config';
66import { AppContext } from '@edx/frontend-platform/react' ;
77import { Image } from '@edx/paragon' ;
88import { getConfig } from '@edx/frontend-platform' ;
9+ import { PluginSlot } from '@openedx/frontend-plugin-framework/src/index' ;
10+ import FooterLinks from '../plugins/footer-links' ;
911
1012import messages from './Footer.messages' ;
1113import LanguageSelector from './LanguageSelector' ;
@@ -51,35 +53,42 @@ class SiteFooter extends React.Component {
5153 < div className = "footer-top" >
5254 < div className = "powered-area" >
5355 < ul className = "logo-list" >
54- < li > { intl . formatMessage ( messages [ 'footer.poweredby.text' ] ) } </ li >
55- < li >
56- < a href = "https://docs.tutor.overhang.io" rel = "noreferrer" target = "_blank" >
57- < Image
58- src = { `${ config . LMS_BASE_URL } /static/indigo/images/tutor-logo.png` }
59- alt = { intl . formatMessage ( messages [ 'footer.tutorlogo.altText' ] ) }
60- width = "57"
61- />
62- </ a >
63- </ li >
64- < li >
65- < a href = "https://open.edx.org" rel = "noreferrer" target = "_blank" >
66- < Image
67- src = { logo || `${ config . LMS_BASE_URL } /static/indigo/images/openedx-logo.png` }
68- alt = { intl . formatMessage ( messages [ 'footer.logo.altText' ] ) }
69- width = "79"
70- />
71- </ a >
72- </ li >
56+ < PluginSlot id = "poweredby_text_slot" > < li > { intl . formatMessage ( messages [ 'footer.poweredby.text' ] ) } </ li > </ PluginSlot >
57+ < PluginSlot id = "tutor_logo_slot" >
58+ < li >
59+ < a href = "https://docs.tutor.overhang.io" rel = "noreferrer" target = "_blank" >
60+ < Image
61+ src = { `${ config . LMS_BASE_URL } /static/indigo/images/tutor-logo.png` }
62+ alt = { intl . formatMessage ( messages [ 'footer.tutorlogo.altText' ] ) }
63+ width = "57"
64+ />
65+ </ a >
66+ </ li >
67+ </ PluginSlot >
68+ < PluginSlot id = "openedx_logo_slot" >
69+ < li >
70+ < a href = "https://open.edx.org" rel = "noreferrer" target = "_blank" >
71+ < Image
72+ src = { logo || `${ config . LMS_BASE_URL } /static/indigo/images/openedx-logo.png` }
73+ alt = { intl . formatMessage ( messages [ 'footer.logo.altText' ] ) }
74+ width = "79"
75+ />
76+ </ a >
77+ </ li >
78+ </ PluginSlot >
7379 </ ul >
7480 </ div >
7581 </ div >
76- < span className = "copyright-site" > { intl . formatMessage ( messages [ 'footer.copyright.text' ] ) } </ span >
77- { showLanguageSelector && (
78- < LanguageSelector
79- options = { supportedLanguages }
80- onSubmit = { onLanguageSelected }
81- />
82- ) }
82+ < PluginSlot id = "footer-middle" > < FooterLinks /> </ PluginSlot >
83+ < PluginSlot id = "copyright_text_slot" > < span className = "copyright-site" > { intl . formatMessage ( messages [ 'footer.copyright.text' ] ) } </ span > </ PluginSlot >
84+ < PluginSlot id = "lang_selector_slot" >
85+ { showLanguageSelector && (
86+ < LanguageSelector
87+ options = { supportedLanguages }
88+ onSubmit = { onLanguageSelected }
89+ />
90+ ) }
91+ </ PluginSlot >
8392 </ footer >
8493 </ div >
8594 ) ;
0 commit comments