feat: import StudioFooterSlot from component package instead of slot package (#1832)

This commit is contained in:
Brian Smith
2025-04-24 12:58:27 -04:00
committed by GitHub
parent 7edb3528ba
commit fbc1273955
13 changed files with 16 additions and 29 deletions

View File

@@ -16,4 +16,4 @@
* [`org.openedx.frontend.authoring.video_transcript_additional_translations_component.v1`](./AdditionalTranslationsComponentSlot/)
## Footer Slot
* [`studio_footer_slot`](./StudioFooterSlot/)
* [`org.openedx.frontend.layout.studio_footer.v1`](./StudioFooterSlot/)

View File

@@ -1,12 +1,15 @@
# Studio Footer Slot
### Slot ID: `studio_footer_slot`
### Slot ID: `org.openedx.frontend.layout.studio_footer.v1`
### Slot ID Aliases
* `studio_footer_slot`
## Description
This slot is used to replace/modify/hide the footer.
The implementation of the `StudioFooterSlot` component lives in [the `frontend-slot-footer` repository](https://github.com/openedx/frontend-slot-footer/).
The implementation of the `StudioFooterSlot` component lives in [the `frontend-component-footer` repository](https://github.com/openedx/frontend-component-footer/).
## Example
@@ -23,7 +26,7 @@ import { DIRECT_PLUGIN, PLUGIN_OPERATIONS } from '@openedx/frontend-plugin-frame
const config = {
pluginSlots: {
studio_footer_slot: {
'org.openedx.frontend.layout.studio_footer.v1': {
plugins: [
{
// Hide the default footer