blob: f4d3921009954c38ad928b5019150e300e445d18 [file] [log] [blame]
Adrien Béraudab519ff2022-05-03 15:34:48 -04001import { Container, Card, CardContent, Typography, List, Avatar, Divider } from '@mui/material';
Adrien Béraudab519ff2022-05-03 15:34:48 -04002import { DialerSipRounded, GroupOutlined, RoomRounded } from '@mui/icons-material';
Adrien Béraud88a52442021-04-26 12:11:41 -04003import ListItemLink from '../components/ListItemLink';
4
Adrien Béraud88a52442021-04-26 12:11:41 -04005export default function AccountCreationDialog(props) {
Adrien Béraud88a52442021-04-26 12:11:41 -04006 return (
7 <Container>
idillonfb2af5b2022-09-16 13:40:08 -04008 <Card>
Adrien Béraud88a52442021-04-26 12:11:41 -04009 <CardContent>
10 <Typography gutterBottom variant="h5" component="h2">
11 Create new account
12 </Typography>
13 <Typography variant="body2" color="textSecondary" component="p">
simond47ef9e2022-09-28 22:24:28 -040014 Welcome to the Jami web node setup.
15 <br />
Adrien Béraud88a52442021-04-26 12:11:41 -040016 Let's start by creating a new administrator account to control access to the server configuration.
17 </Typography>
18 </CardContent>
19
idillonfb2af5b2022-09-16 13:40:08 -040020 <List>
Adrien Béraud88a52442021-04-26 12:11:41 -040021 <ListItemLink
22 to="/newAccount/rendezVous"
simond47ef9e2022-09-28 22:24:28 -040023 icon={
24 <Avatar>
25 <RoomRounded />
26 </Avatar>
27 }
Adrien Béraud88a52442021-04-26 12:11:41 -040028 primary="Rendez-vous point"
simond47ef9e2022-09-28 22:24:28 -040029 secondary="A Rendez-vous account provides a unique space suitable to easily organize meetings"
30 />
Adrien Béraud88a52442021-04-26 12:11:41 -040031 <Divider />
32 <ListItemLink
33 to="/newAccount/jami"
simond47ef9e2022-09-28 22:24:28 -040034 icon={
35 <Avatar>
36 <GroupOutlined />
37 </Avatar>
38 }
Adrien Béraud88a52442021-04-26 12:11:41 -040039 primary="Jami account"
simond47ef9e2022-09-28 22:24:28 -040040 secondary="A pesonal communication account to join a Rendez-vous point or directly contact other Jami users"
41 />
Adrien Béraud88a52442021-04-26 12:11:41 -040042 <Divider />
43 <ListItemLink
44 to="/newAccount/sip"
simond47ef9e2022-09-28 22:24:28 -040045 icon={
46 <Avatar>
47 <DialerSipRounded />
48 </Avatar>
49 }
Adrien Béraud88a52442021-04-26 12:11:41 -040050 primary="SIP Account"
simond47ef9e2022-09-28 22:24:28 -040051 secondary="Connect with standard SIP communication providers or classic telephony services"
52 />
Adrien Béraud88a52442021-04-26 12:11:41 -040053 </List>
54 </Card>
simond47ef9e2022-09-28 22:24:28 -040055 </Container>
56 );
Adrien Béraud88a52442021-04-26 12:11:41 -040057}