Skip to content

Commit 9516ee0

Browse files
feat: import FooterSlot from component package instead of slot package (#1198)
1 parent 29fd717 commit 9516ee0

File tree

5 files changed

+10
-22
lines changed

5 files changed

+10
-22
lines changed

package-lock.json

Lines changed: 1 addition & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
],
3131
"dependencies": {
3232
"@edx/brand": "npm:@openedx/brand-openedx@^1.2.2",
33-
"@edx/frontend-component-footer": "^14.3.0",
33+
"@edx/frontend-component-footer": "^14.6.0",
3434
"@edx/frontend-component-header": "^6.2.0",
3535
"@edx/frontend-platform": "^8.3.1",
3636
"@edx/openedx-atlas": "^0.7.0",
@@ -39,7 +39,6 @@
3939
"@fortawesome/free-regular-svg-icons": "6.7.2",
4040
"@fortawesome/free-solid-svg-icons": "6.7.2",
4141
"@fortawesome/react-fontawesome": "0.2.2",
42-
"@openedx/frontend-slot-footer": "^1.1.0",
4342
"@openedx/paragon": "^22.17.0",
4443
"@pact-foundation/pact": "^11.0.2",
4544
"@redux-devtools/extension": "3.3.0",

src/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import React, { StrictMode } from 'react';
1818
import { createRoot } from 'react-dom/client';
1919

2020
import Header from '@edx/frontend-component-header';
21-
import FooterSlot from '@openedx/frontend-slot-footer';
21+
import { FooterSlot } from '@edx/frontend-component-footer';
2222

2323
import messages from './i18n';
2424
import configureStore from './data/configureStore';

src/plugin-slots/FooterSlot/README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
# Footer Slot
22

3-
### Slot ID: `footer_slot`
3+
### Slot ID: `org.openedx.frontend.layout.footer.v1`
4+
5+
### Slot ID Aliases
6+
* `footer_slot`
47

58
## Description
69

710
This slot is used to replace/modify/hide the footer.
811

9-
The implementation of the `FooterSlot` component lives in [the `frontend-slot-footer` repository](https://github.com/openedx/frontend-slot-footer/).
12+
The implementation of the `FooterSlot` component lives in [the `frontend-component-footer` repository](https://github.com/openedx/frontend-component-footer/).
1013

1114
## Example
1215

@@ -23,7 +26,7 @@ import { DIRECT_PLUGIN, PLUGIN_OPERATIONS } from '@openedx/frontend-plugin-frame
2326

2427
const config = {
2528
pluginSlots: {
26-
footer_slot: {
29+
'org.openedx.frontend.layout.footer.v1': {
2730
plugins: [
2831
{
2932
// Hide the default footer

src/plugin-slots/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# `frontend-app-profile` Plugin Slots
22

3-
* [`footer_slot`](./FooterSlot/)
3+
* [`org.openedx.frontend.layout.footer.v1`](./FooterSlot/)

0 commit comments

Comments
 (0)