diff options
author | Galen Guyer <galen@galenguyer.com> | 2022-09-01 11:31:37 -0400 |
---|---|---|
committer | Galen Guyer <galen@galenguyer.com> | 2022-09-01 11:31:37 -0400 |
commit | 6d8467cf639393cd635a48f7b45420aab5953202 (patch) | |
tree | 08b7e75fbcf17b8bfd2a2718119f90ddbd7f91fd | |
parent | 5ba9f8be32f9c9657d011cb92208832947c2e106 (diff) |
Alpha warning banner lol
-rw-r--r-- | src/App.js | 23 | ||||
-rw-r--r-- | src/routes/SignUp.js | 1 |
2 files changed, 23 insertions, 1 deletions
@@ -8,6 +8,24 @@ import Zones from './routes/Zones' import Button from './uikit/Button' import { BrowserRouter, Route, Routes } from 'react-router-dom' import { Link, useNavigate } from 'react-router-dom' +import { styled } from '@stitches/react' + +const MessageBar = styled('div', { + display: 'flex', + alignItems: 'center', + justifyContent: 'center', + padding: '0px', + fontSize: '1.5em', + fontWeight: 'bold', + background: 'repeating-linear-gradient(-45deg, #ffff00, #ffff00 20px, #000000 20px, #000000 40px)', + width: '100%', +}); +const MessageBox = styled('div', { + fontSize: '1.5em', + padding: '0px 2em', + fontWeight: 'bold', + backgroundColor: '#ffff00', +}) function ButtonRow() { let auth = useAuth() @@ -58,6 +76,11 @@ function App() { return ( <div className="App"> + <MessageBar> + <MessageBox> + This software is in public alpha. Please don't use it for anything critical + </MessageBox> + </MessageBar> <BrowserRouter> <header> <Link to={auth.isAuthenticated() ? '/zones' : '/'}> diff --git a/src/routes/SignUp.js b/src/routes/SignUp.js index 3a380a4..85b7bf0 100644 --- a/src/routes/SignUp.js +++ b/src/routes/SignUp.js @@ -151,7 +151,6 @@ export function SignUp() { return ( <Flex> - <Title>HOSTSdotTXT</Title> <LoginCard> <Subtitle>Sign Up</Subtitle> <StyledLabel for="email"> |