diff --git a/src/index.scss b/src/index.scss index 09f319ea6..e6ff6a290 100755 --- a/src/index.scss +++ b/src/index.scss @@ -73,6 +73,19 @@ $fa-font-path: "~font-awesome/fonts"; padding-left: 0.625rem; } +.notification-sub-heading { + font-size: 14px; + line-height: 28px; +} + +.text-decoration-underline { + text-decoration: underline; +} + +.pgn__hyperlink__external-icon{ + margin-left: 4px; +} + .notification-preferences { input[type="checkbox"] { margin-right: 0; diff --git a/src/notification-preferences/NotificationPreferences.jsx b/src/notification-preferences/NotificationPreferences.jsx index 5894a03fe..b5d8e3d78 100644 --- a/src/notification-preferences/NotificationPreferences.jsx +++ b/src/notification-preferences/NotificationPreferences.jsx @@ -2,7 +2,9 @@ import React, { useEffect, useMemo } from 'react'; import { useDispatch, useSelector } from 'react-redux'; import { Link, useParams } from 'react-router-dom'; import { useIntl } from '@edx/frontend-platform/i18n'; -import { Container, Icon, Spinner } from '@edx/paragon'; +import { + Container, Icon, Spinner, Hyperlink, +} from '@edx/paragon'; import { ArrowBack } from '@edx/paragon/icons'; import { selectCourseListStatus, @@ -56,9 +58,20 @@ const NotificationPreferences = () => { return ( -

+

{intl.formatMessage(messages.notificationHeading)}

+
+ {intl.formatMessage(messages.notificationPreferenceGuideBody)} + + {intl.formatMessage(messages.notificationPreferenceGuideLink)} + +
diff --git a/src/notification-preferences/messages.js b/src/notification-preferences/messages.js index e7838447c..62b9f67d5 100644 --- a/src/notification-preferences/messages.js +++ b/src/notification-preferences/messages.js @@ -53,4 +53,14 @@ export const messages = defineMessages({ defaultMessage: 'Load more courses', description: 'Load more button to load more courses', }, + notificationPreferenceGuideLink: { + id: 'notification.preference.guide.link', + defaultMessage: 'as detailed here', + description: 'Link of the notification preference for learner guide', + }, + notificationPreferenceGuideBody: { + id: 'notification.preference.guide.body', + defaultMessage: 'Notifications for certain activities are enabled by default, ', + description: 'Body of the notification preferences for learner guide', + }, });