Skip to content

Commit c4ad876

Browse files
committed
refactor: remove extra customizations
1 parent 9ed2543 commit c4ad876

File tree

4 files changed

+19
-35
lines changed

4 files changed

+19
-35
lines changed

.env.development

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,11 @@ LOGO_TRADEMARK_URL=https://edx-cdn.org/v3/default/logo-trademark.svg
2323
LOGO_WHITE_URL=https://edx-cdn.org/v3/default/logo-white.svg
2424
FAVICON_URL=https://edx-cdn.org/v3/default/favicon.ico
2525
ABOUT_US_URL=
26-
PRIVACY_POLICY_URL=
2726
HONOR_CODE_URL=
28-
TERMS_OF_SERVICE_URL=
2927
CONTACT_URL=
3028
SUPPORT_CENTER_URL=
3129
SUPPORT_CENTER_TEXT=
3230
TRADEMARK_TEXT=
3331
SITE_URL=
3432
LOGO_ALT_TEXT=
3533
SHOW_LOGO=
36-
SUPPORT_EMAIL=

README.rst

Lines changed: 12 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -184,27 +184,15 @@ Reporting Security Issues
184184
=========================
185185

186186
Please do not report security issues in public. Please email [email protected].
187-
=======
188-
***********
189-
Local Development
190-
***********
191-
192-
For local development and testing follow these steps. (for convenience sake consider learning MFE as parent app)
193-
194-
* Clone frontend-component-footer-mitol into frontend-app-learning directory.
195-
* CD into the frontend-component-footer-mitol and run the following commands::
196-
197-
npm i
198-
199-
npm build
200-
* Verify a `dist/` directory has been created.
201-
* CD back into frontend-app-learning and create a module.config.js file
202-
* Place the following code in the module.config.js::
203-
204-
module.exports = {
205-
localModules: [
206-
{ moduleName: '@edx/frontend-component-footer', dir: './frontend-component-footer-mitol' },
207-
}
208-
209-
* Restart frontend-app-learning and verify it is using the local version from @edx/frontend-component-footer
210-
* For css changes you might need to rebuild again.
187+
.. |Build Status| image:: https://api.travis-ci.com/edx/frontend-component-footer.svg?branch=master
188+
:target: https://travis-ci.com/edx/frontend-component-footer
189+
.. |Codecov| image:: https://img.shields.io/codecov/c/github/edx/frontend-component-footer
190+
:target: @edx/frontend-component-footer
191+
.. |npm_version| image:: https://img.shields.io/npm/v/@edx/frontend-component-footer.svg
192+
:target: @edx/frontend-component-footer
193+
.. |npm_downloads| image:: https://img.shields.io/npm/dt/@edx/frontend-component-footer.svg
194+
:target: @edx/frontend-component-footer
195+
.. |license| image:: https://img.shields.io/npm/l/@edx/frontend-component-footer.svg
196+
:target: @edx/frontend-component-footer
197+
.. |semantic-release| image:: https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg
198+
:target: https://github.com/semantic-release/semantic-release

package.json

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"name": "@mitodl/frontend-component-footer-mitol",
2+
"name": "@edx/frontend-component-footer-mitol",
33
"version": "1.0.0-semantically-released",
4-
"description": "Footer component for use when building Open edX frontend applications for MITX",
4+
"description": "Footer component for use when building Open edX frontend applications",
55
"main": "dist/index.js",
66
"publishConfig": {
77
"access": "public"
@@ -25,14 +25,14 @@
2525
},
2626
"repository": {
2727
"type": "git",
28-
"url": "git+https://github.com/mitodl/frontend-component-footer-mitol"
28+
"url": "git+https://github.com/openedx/frontend-component-footer.git"
2929
},
30-
"author": "MIT",
30+
"author": "edX",
3131
"license": "AGPL-3.0",
3232
"bugs": {
33-
"url": "https://github.com/mitodl/frontend-component-footer-mitol/issues"
33+
"url": "https://github.com/openedx/frontend-component-footer/issues"
3434
},
35-
"homepage": "https://github.com/mitodl/frontend-component-footer-mitol#readme",
35+
"homepage": "https://github.com/openedx/frontend-component-footer#readme",
3636
"devDependencies": {
3737
"@edx/brand": "npm:@openedx/brand-openedx@^1.2.2",
3838
"@edx/browserslist-config": "^1.1.1",
@@ -63,7 +63,6 @@
6363
"peerDependencies": {
6464
"@edx/frontend-platform": "^7.0.0",
6565
"@openedx/paragon": ">= 21.11.3 < 23.0.0",
66-
"@edx/paragon": "<22.0.0",
6766
"prop-types": "^15.5.10",
6867
"react": "^16.9.0 || ^17.0.0",
6968
"react-dom": "^16.9.0 || ^17.0.0"

src/components/Footer.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ class SiteFooter extends React.Component {
5656
&& (
5757
<a
5858
className="d-block"
59-
href={process.env.SITE_URL}
59+
href={config.LMS_BASE_URL}
6060
aria-label={intl.formatMessage(messages['footer.logo.ariaLabel'])}
6161
>
6262
<img

0 commit comments

Comments
 (0)