forked from openedx/frontend-app-authoring
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: LibraryV2 redirect to lib mfe or placeholder
- Loading branch information
1 parent
ec54eb6
commit 025a85d
Showing
5 changed files
with
69 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
import React from 'react'; | ||
import { Container } from '@openedx/paragon'; | ||
import { StudioFooter } from '@edx/frontend-component-footer'; | ||
import { useIntl } from '@edx/frontend-platform/i18n'; | ||
|
||
import Header from '../../header'; | ||
import SubHeader from '../../generic/sub-header/SubHeader'; | ||
import messages from './messages'; | ||
|
||
|
||
const LibraryV2Placeholder = () => { | ||
const intl = useIntl(); | ||
|
||
return ( | ||
<> | ||
<Header isHiddenMainMenu /> | ||
<Container size="xl" className="p-4 mt-3"> | ||
<section className="mb-4"> | ||
<article className="studio-home-sub-header"> | ||
<section> | ||
<SubHeader | ||
title={intl.formatMessage(messages.libraryV2PlaceholderTitle)} | ||
/> | ||
</section> | ||
</article> | ||
<section> | ||
<p>{intl.formatMessage(messages.libraryV2PlaceholderBody)}</p> | ||
</section> | ||
</section> | ||
</Container> | ||
<StudioFooter /> | ||
</> | ||
); | ||
}; | ||
|
||
export default LibraryV2Placeholder; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters