chore: add notice

This commit is contained in:
Paul Makles 2022-05-07 10:45:18 +01:00
parent 147880a447
commit 83a3585940

View file

@ -112,19 +112,21 @@ export default function App() {
path.startsWith("/invite") || path.startsWith("/invite") ||
path.includes("/settings"); path.includes("/settings");
const [statusBar, setStatusBar] = useState(false); const [statusBar, setStatusBar] = useState(true);
return ( return (
<> <>
{statusBar && ( {statusBar && (
<StatusBar> <StatusBar>
<div className="title">Partial outage: CDN</div> <div className="title">
Planned Maintenance at 18:00 UTC (7th May 2022)
</div>
<div class="actions"> <div class="actions">
<Link to="/invite/Testers"> <a
<a> href="https://github.com/revoltchat/revolt/issues/322#issuecomment-1120176609"
target="_blank">
<div className="button">Updates</div> <div className="button">Updates</div>
</a> </a>
</Link>
<a onClick={() => setStatusBar(false)}> <a onClick={() => setStatusBar(false)}>
<div className="button">Dismiss</div> <div className="button">Dismiss</div>
</a> </a>