+ {
+ isNotificationModalOpen && notificationModalData && !isModalDataLoading ?
+
{
diff --git a/src/routes/Board/styles.less b/src/routes/Board/styles.less
index b949d8689..11f575a9b 100644
--- a/src/routes/Board/styles.less
+++ b/src/routes/Board/styles.less
@@ -17,6 +17,58 @@
display: flex;
flex-direction: column;
+ .notification-modal {
+ .notification-image {
+ width: 95%;
+ height: 95%;
+ margin: -10rem auto 0;
+ }
+
+ .info-container {
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ justify-content: center;
+ padding: 1rem 4rem;
+ margin-top: -7rem;
+
+ .title-container {
+ .title {
+ color: var(--primary-foreground-color);
+ font-size: 1.325rem;
+ text-align: center;
+ margin-bottom: 2rem;
+ padding: 0 4rem;
+ }
+
+ .label {
+ color: var(--primary-foreground-color);
+ font-size: 1rem;
+ text-align: center;
+ opacity: 0.5;
+ margin-bottom: 3rem;
+ }
+ }
+
+
+ .action-button {
+ background-color: var(--secondary-accent-color);
+ border: 2px solid var(--secondary-accent-color);
+ padding: 0.8rem 1.5rem;
+ border-radius: 2rem;
+
+ .label {
+ color: var(--primary-foreground-color);
+ font-size: 1rem;
+ }
+
+ &:hover {
+ background-color: transparent;
+ }
+ }
+ }
+ }
+
.board-content-container {
flex: 1;
align-self: stretch;
diff --git a/src/routes/Board/useFetchModalData.js b/src/routes/Board/useFetchModalData.js
new file mode 100644
index 000000000..b6f711fa1
--- /dev/null
+++ b/src/routes/Board/useFetchModalData.js
@@ -0,0 +1,41 @@
+// Copyright (C) 2017-2023 Smart code 203358507
+
+const React = require('react');
+
+const useFetchModalData = () => {
+ const [notificationModalData, setNotificationModalData] = React.useState(null);
+ const [isLoading, setIsLoading] = React.useState(false);
+
+ React.useEffect(() => {
+ const fetchData = async () => {
+ setIsLoading(true);
+ try {
+ const response = await fetch('https://api.strem.io/api/getModal', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json'
+ },
+ body: JSON.stringify({ date: new Date() })
+ });
+
+ if (!response.ok) {
+ throw new Error('Network response was not ok');
+ }
+
+ const jsonData = await response.json();
+ const data = jsonData.result;
+ setNotificationModalData(data);
+ } catch (err) {
+ throw new Error(err.message);
+ } finally {
+ setIsLoading(false);
+ }
+ };
+
+ fetchData();
+ }, []);
+
+ return { notificationModalData, isLoading };
+};
+
+module.exports = useFetchModalData;