-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
238 additions
and
201 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 data sources will go into self-hosted only mode.<br /> | ||
This is following the deprecation of Firesquid archives and its resulting effect on Giant Squid.<br /> | ||
We apologize for any inconvenience.<br /> | ||
<Link to="https://github.com/topmonks/calamar/blob/master/README.md">Read more</Link> | ||
</div> | ||
<Outlet /> | ||
</> | ||
); | ||
}; |
Oops, something went wrong.