Skip to content

Commit 0d5e278

Browse files
johanbookJohan Book
and
Johan Book
authored
feat(web-ui): add link to page to create organization (#968)
Co-authored-by: Johan Book <{ID}+{username}@users.noreply.github.com>
1 parent 071054b commit 0d5e278

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

services/web-ui/src/pages/OrganizationListPage/OrganizationListPage.nav.tsx

+11-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import { ReactElement, ReactNode } from "react";
22
import { Link as ReactRouterLink } from "react-router-dom";
33

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

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

40+
<Fab
41+
component={ReactRouterLink}
42+
color="primary"
43+
sx={{ position: "absolute", bottom: 70, right: 10 }}
44+
to="/group/create"
45+
>
46+
<Add />
47+
</Fab>
48+
4049
{children}
4150
</Box>
4251
</Nav>

0 commit comments

Comments
 (0)