Skip to content

Commit

Permalink
feat(web-ui): add link to page to create organization (#968)
Browse files Browse the repository at this point in the history
Co-authored-by: Johan Book <{ID}+{username}@users.noreply.github.com>
  • Loading branch information
johanbook and Johan Book authored Nov 24, 2024
1 parent 071054b commit 0d5e278
Showing 1 changed file with 11 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { ReactElement, ReactNode } from "react";
import { Link as ReactRouterLink } from "react-router-dom";

import { ArrowBack } from "@mui/icons-material";
import { Box, IconButton, Typography } from "@mui/material";
import { Add, ArrowBack } from "@mui/icons-material";
import { Box, Fab, IconButton, Typography } from "@mui/material";

import { Nav } from "src/components/nav";
import { useTranslation } from "src/core/i18n";
Expand Down Expand Up @@ -37,6 +37,15 @@ export function OrganizationListPageNav({
<Box sx={{ pt: 1, px: 3 }}>
<Typography color="textSecondary">{t("description")}</Typography>

<Fab
component={ReactRouterLink}
color="primary"
sx={{ position: "absolute", bottom: 70, right: 10 }}
to="/group/create"
>
<Add />
</Fab>

{children}
</Box>
</Nav>
Expand Down

0 comments on commit 0d5e278

Please sign in to comment.