Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: alert message #336

Merged
merged 2 commits into from
May 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions src/bootstrap/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down Expand Up @@ -69,6 +79,14 @@ const App = () => {
</Helmet>
<StyledLayout>
<Layout>
{/* temporary alert message until subgraph issues are fixed */}
<AlertMessage>
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.
</AlertMessage>
<AppBar />
<AppRouter />
<StyledClickaway
Expand Down
Loading