Skip to content

Commit

Permalink
add self-hosted warning
Browse files Browse the repository at this point in the history
  • Loading branch information
uiii committed Jan 22, 2024
1 parent 76954c8 commit d128a41
Show file tree
Hide file tree
Showing 3 changed files with 238 additions and 201 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,12 @@ jobs:
- name: Install dependencies
uses: ./.github/actions/install-dependencies
- name: Download test screenshots artifact
uses: actions/download-artifact@master
uses: actions/download-artifact@v3
with:
name: test-screenshots
path: test/screenshots
- name: Download test report artifact
uses: actions/download-artifact@master
uses: actions/download-artifact@v3
with:
name: test-blob-reports
path: test/blob-reports
Expand Down
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 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 />
</>
);
};
Loading

0 comments on commit d128a41

Please sign in to comment.