From a8c7963a76e6f2fde3ca24a2c7ab484ee02bc239 Mon Sep 17 00:00:00 2001 From: kemuru <102478601+kemuru@users.noreply.github.com> Date: Fri, 10 May 2024 20:15:27 +0200 Subject: [PATCH 1/2] feat: alert message --- src/bootstrap/app.js | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/src/bootstrap/app.js b/src/bootstrap/app.js index f594f66..2107d20 100644 --- a/src/bootstrap/app.js +++ b/src/bootstrap/app.js @@ -35,6 +35,16 @@ const FooterWrapper = styled.div` margin-top: auto !important; ` +export const AlertMessage = styled.div` + display: flex; + width: 100vw; + background-color: #a83232; + color: #ffffff; + justify-content: center; + text-align: center; + padding: 6px 0; +` + const App = () => { const [isMenuClosed, setIsMenuClosed] = useState(true) @@ -69,6 +79,13 @@ const App = () => { + {/* temporary alert message until subgraph issues are fixed */} + + We are currently facing technical issues with our subgraph, + affecting the search functionality and preventing some entries + from being found. To avoid submitting duplicates, we recommend + manually checking if an entry has already been submitted. + Date: Fri, 10 May 2024 20:21:24 +0200 Subject: [PATCH 2/2] fix: slightly better message --- src/bootstrap/app.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/bootstrap/app.js b/src/bootstrap/app.js index 2107d20..6b4f2a1 100644 --- a/src/bootstrap/app.js +++ b/src/bootstrap/app.js @@ -81,10 +81,11 @@ const App = () => { {/* temporary alert message until subgraph issues are fixed */} - We are currently facing technical issues with our subgraph, - affecting the search functionality and preventing some entries - from being found. To avoid submitting duplicates, we recommend - manually checking if an entry has already been submitted. + We are currently facing technical issues with our subgraph + that are affecting the search functionality, making it + difficult to locate certain entries. To ensure you don't + submit duplicates, please manually check if an entry has + already been submitted.