blob: d98688ce51c2d59a6e3e1f1c6a9155f50cd40338 [file] [log] [blame]
simon26e79f72022-10-05 22:16:08 -04001/*
2 * Copyright (C) 2022 Savoir-faire Linux Inc.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU Affero General Public License as
6 * published by the Free Software Foundation; either version 3 of the
7 * License, or (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU Affero General Public License for more details.
13 *
14 * You should have received a copy of the GNU Affero General Public
15 * License along with this program. If not, see
16 * <https://www.gnu.org/licenses/>.
17 */
Adrien Béraudab519ff2022-05-03 15:34:48 -040018import { DialerSipRounded, GroupOutlined, RoomRounded } from '@mui/icons-material';
simon07b4eb02022-09-29 17:50:26 -040019import { Avatar, Card, CardContent, Container, Divider, List, Typography } from '@mui/material';
20
Adrien Béraud88a52442021-04-26 12:11:41 -040021import ListItemLink from '../components/ListItemLink';
22
simonfe1de722022-10-02 00:21:43 -040023export default function AccountCreationDialog() {
Adrien Béraud88a52442021-04-26 12:11:41 -040024 return (
25 <Container>
idillonfb2af5b2022-09-16 13:40:08 -040026 <Card>
Adrien Béraud88a52442021-04-26 12:11:41 -040027 <CardContent>
28 <Typography gutterBottom variant="h5" component="h2">
29 Create new account
30 </Typography>
31 <Typography variant="body2" color="textSecondary" component="p">
simond47ef9e2022-09-28 22:24:28 -040032 Welcome to the Jami web node setup.
33 <br />
simon80b7b3b2022-09-28 17:50:10 -040034 Let&apos;s start by creating a new administrator account to control access to the server configuration.
Adrien Béraud88a52442021-04-26 12:11:41 -040035 </Typography>
36 </CardContent>
37
idillonfb2af5b2022-09-16 13:40:08 -040038 <List>
Adrien Béraud88a52442021-04-26 12:11:41 -040039 <ListItemLink
40 to="/newAccount/rendezVous"
simond47ef9e2022-09-28 22:24:28 -040041 icon={
42 <Avatar>
43 <RoomRounded />
44 </Avatar>
45 }
Adrien Béraud88a52442021-04-26 12:11:41 -040046 primary="Rendez-vous point"
simond47ef9e2022-09-28 22:24:28 -040047 secondary="A Rendez-vous account provides a unique space suitable to easily organize meetings"
48 />
Adrien Béraud88a52442021-04-26 12:11:41 -040049 <Divider />
50 <ListItemLink
51 to="/newAccount/jami"
simond47ef9e2022-09-28 22:24:28 -040052 icon={
53 <Avatar>
54 <GroupOutlined />
55 </Avatar>
56 }
Adrien Béraud88a52442021-04-26 12:11:41 -040057 primary="Jami account"
simond47ef9e2022-09-28 22:24:28 -040058 secondary="A pesonal communication account to join a Rendez-vous point or directly contact other Jami users"
59 />
Adrien Béraud88a52442021-04-26 12:11:41 -040060 <Divider />
61 <ListItemLink
62 to="/newAccount/sip"
simond47ef9e2022-09-28 22:24:28 -040063 icon={
64 <Avatar>
65 <DialerSipRounded />
66 </Avatar>
67 }
Adrien Béraud88a52442021-04-26 12:11:41 -040068 primary="SIP Account"
simond47ef9e2022-09-28 22:24:28 -040069 secondary="Connect with standard SIP communication providers or classic telephony services"
70 />
Adrien Béraud88a52442021-04-26 12:11:41 -040071 </List>
72 </Card>
simond47ef9e2022-09-28 22:24:28 -040073 </Container>
74 );
Adrien Béraud88a52442021-04-26 12:11:41 -040075}