-
Notifications
You must be signed in to change notification settings - Fork 22
feat: add navigation links to make footer consistent #13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 10 commits
4e083fd
84988dc
8393f68
eb2cf3d
0ce52e3
d6f6833
b764c82
40fb466
973e1b8
e3ed25f
a8ee834
fe2cf7a
a339ec0
c14be31
c5d04cb
4f6b37d
4e78bcc
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -70,13 +70,31 @@ class SiteFooter extends React.Component { | |
| </li> | ||
| </ul> | ||
| </div> | ||
|
|
||
| <nav className="nav-colophon" aria-label="About"> | ||
| <ol> | ||
| <li><a href={`${config.LMS_BASE_URL}/about`}>About Us</a></li> | ||
| <li><a href={`${config.LMS_BASE_URL}/blog`}>Blog</a></li> | ||
| <li><a href={`${config.LMS_BASE_URL}/donate`}>Donate</a></li> | ||
| <li><a href={`${config.LMS_BASE_URL}/tos`}>Terms of Service</a></li> | ||
| <li><a href={`${config.LMS_BASE_URL}/privacy`}>Privacy Policy</a></li> | ||
| <li><a href={`${config.LMS_BASE_URL}/help`}>Help</a></li> | ||
| <li><a href={`${config.LMS_BASE_URL}/contact`}>Contact Us</a></li> | ||
| </ol> | ||
| </nav> | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This will cause some conflicting behavior across legacy and MFE pages. In tutor-indigo, footer links on legacy pages can be toggled (https://github.com/overhangio/tutor-indigo/blob/release/tutorindigo/templates/indigo/lms/templates/footer.html). In here, the links will show all the times. The behavior needs to be consistent. |
||
| </div> | ||
| <span className="copyright-site">{intl.formatMessage(messages['footer.copyright.text'])}</span> | ||
|
|
||
| <span className="copyright-site"> | ||
| {intl.formatMessage(messages['footer.copyright.text'])} | ||
| </span> | ||
|
|
||
| {showLanguageSelector && ( | ||
| <LanguageSelector | ||
| options={supportedLanguages} | ||
| onSubmit={onLanguageSelected} | ||
| /> | ||
| <div className="language-selector-footer"> | ||
| <LanguageSelector | ||
| options={supportedLanguages} | ||
| onSubmit={onLanguageSelected} | ||
| /> | ||
| </div> | ||
| )} | ||
| </footer> | ||
| </div> | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.