diff --git a/admin/src/react-components/pages/system-editor.tsx b/admin/src/react-components/pages/system-editor.tsx
index 9c5344100d..1f274d5ecb 100644
--- a/admin/src/react-components/pages/system-editor.tsx
+++ b/admin/src/react-components/pages/system-editor.tsx
@@ -109,17 +109,17 @@ const SystemEditorComponent = ({ classes }) => {
return (
-
- {
- window.open("https://www.mozilla.com");
- }}
- cta={"Learn More"}
- body={"COPY HERE"}
- showIcon={false}
- />
-
+ {configs.sunset.notification && (
+
+ configs.sunset.notification.link}
+ cta={"Learn More"}
+ body={configs.sunset.notification.body}
+ showIcon={false}
+ />
+
+ )}
Getting Started
diff --git a/admin/src/utils/configs.js b/admin/src/utils/configs.js
index 5046c35bc8..dafb456084 100644
--- a/admin/src/utils/configs.js
+++ b/admin/src/utils/configs.js
@@ -18,4 +18,11 @@ const configs = {};
const hasReticulumServerMetaTag = !!document.querySelector("meta[name='env:reticulum_server']");
configs.IS_LOCAL_OR_CUSTOM_CLIENT = !hasReticulumServerMetaTag;
+configs.sunset = {
+ notification: {
+ body: "COPY HERE",
+ link: "https://www.mozilla.org"
+ }
+};
+
export default configs;
diff --git a/src/react-components/room/SystemNotification.scss b/src/react-components/room/SystemNotification.scss
index d33ba4ce64..6b84867d3d 100644
--- a/src/react-components/room/SystemNotification.scss
+++ b/src/react-components/room/SystemNotification.scss
@@ -14,6 +14,7 @@
}
:local(.notificationText) {
+ padding: 8px;
max-width: 40vw;
min-width: 150px;
overflow: hidden;
diff --git a/src/react-components/ui-root.js b/src/react-components/ui-root.js
index 4508e37504..c4ea799484 100644
--- a/src/react-components/ui-root.js
+++ b/src/react-components/ui-root.js
@@ -1337,9 +1337,6 @@ class UIRoot extends Component {
}
];
- const globalNotificationBody = "COPY HERE";
- const globalNotificationLink = "https://www.mozilla.com";
-
return (
@@ -1461,10 +1458,10 @@ class UIRoot extends Component {
/>
)}
- {!this.state.globalNotificationDismissed && (
+ {configs.sunset.notification && !this.state.globalNotificationDismissed && (
this.setState({ globalNotificationDismissed: true })}
/>
)}
diff --git a/src/utils/configs.js b/src/utils/configs.js
index ce680ab54e..03c8e8a848 100644
--- a/src/utils/configs.js
+++ b/src/utils/configs.js
@@ -130,4 +130,11 @@ configs.translation = key => {
);
};
+configs.sunset = {
+ notification: {
+ body: "The copy will go here",
+ link: "https://www.mozilla.org"
+ }
+};
+
export default configs;