Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
uiii committed Jan 19, 2024
1 parent 76954c8 commit 5cbdb01
Show file tree
Hide file tree
Showing 2 changed files with 236 additions and 199 deletions.
31 changes: 31 additions & 0 deletions src/components/WarningBar.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
/** @jsxImportSource @emotion/react */
import { css } from "@emotion/react";
import { Outlet } from "react-router-dom";
import { Link } from "./Link";

const barStyle = css`
background-color: rgb(237, 108, 2);
color: white;
text-align: center;
font-size: 16px;
padding: 10px;
a {
color: white;
text-decoration: underline;
}
`;

export const WarningBar = () => {
return (
<>
<div css={barStyle}>
On January 31, Calamar and its datasources will become into <strong>self-hosted only mode</strong>.<br />
It is a reaction on recent event from Subsquid that Firesquid Archives and GiantSquid are being <strong>shut down</strong>.<br />
We appologize for any inconvenience.<br />
<Link to="#">Read more</Link>
</div>
<Outlet />
</>
);
};
Loading

0 comments on commit 5cbdb01

Please sign in to comment.