From b89693d62a000e4baaa03496ef91dd35ca237647 Mon Sep 17 00:00:00 2001 From: Maria Grimaldi Date: Wed, 13 Mar 2024 08:22:27 -0400 Subject: [PATCH] feat: SEB component integration POC --- src/generic/SEBCourseAccessErrorPage.jsx | 30 ++++++++++++++++++++++++ src/index.jsx | 2 ++ src/shared/access.js | 3 +++ 3 files changed, 35 insertions(+) create mode 100644 src/generic/SEBCourseAccessErrorPage.jsx diff --git a/src/generic/SEBCourseAccessErrorPage.jsx b/src/generic/SEBCourseAccessErrorPage.jsx new file mode 100644 index 0000000000..6ea5920466 --- /dev/null +++ b/src/generic/SEBCourseAccessErrorPage.jsx @@ -0,0 +1,30 @@ +import React, { useEffect } from 'react'; +import { LearningHeader as Header } from '@edx/frontend-component-header'; +import Footer from '@edx/frontend-component-footer'; +import { useParams } from 'react-router-dom'; +import { useDispatch } from 'react-redux'; +import { injectIntl } from '@edx/frontend-platform/i18n'; +import { Alert } from '@openedx/paragon'; +import { WarningFilled } from '@openedx/paragon/icons'; +import { FormattedMessage } from '@edx/frontend-platform/i18n'; + +const SEBCourseAccessErrorPage = ({ intl }) => { + + return ( + <> +
+
+ + + +
+