Skip to content

Commit

Permalink
add help button 2
Browse files Browse the repository at this point in the history
  • Loading branch information
marc101101 committed Mar 19, 2024
1 parent 28bad16 commit c3d146c
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions frontend/src/components/routers/unauthenticated-router.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ import { ResetPassword } from "../pages/reset-password";
import { SignupDone } from "../pages/signup-done";
import { RoutedVerifyEmail } from "../pages/verify-email";
import { variables } from "../../theme";
import { Button } from "@mui/material";
import { MdSupportAgent } from "react-icons/md";

const BackgroundContainer = styled(StyleableFlexContainer)`
overflow-y: auto;
Expand Down Expand Up @@ -86,6 +88,21 @@ export const UnauthenticatedRouter = () => {
<Route path={Routes.VerifyEmail} component={RoutedVerifyEmail} />
</Switch>
</RouterContainer>
<a href="mailto:[email protected]">
<Button
variant="outlined"
style={{
color: "white",
borderColor: "white",
marginTop: "1rem",
fontSize: "1rem",
width: "100%",
}}
startIcon={<MdSupportAgent />}
>
Need help?
</Button>
</a>
</CenteredContainer>
</BackgroundContainer>
</PageSizedContainer>
Expand Down

0 comments on commit c3d146c

Please sign in to comment.