simon | 26e79f7 | 2022-10-05 22:16:08 -0400 | [diff] [blame] | 1 | /* |
| 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éraud | ab519ff | 2022-05-03 15:34:48 -0400 | [diff] [blame] | 18 | import { DialerSipRounded, GroupOutlined, RoomRounded } from '@mui/icons-material'; |
simon | 07b4eb0 | 2022-09-29 17:50:26 -0400 | [diff] [blame] | 19 | import { Avatar, Card, CardContent, Container, Divider, List, Typography } from '@mui/material'; |
| 20 | |
Adrien Béraud | 88a5244 | 2021-04-26 12:11:41 -0400 | [diff] [blame] | 21 | import ListItemLink from '../components/ListItemLink'; |
| 22 | |
simon | fe1de72 | 2022-10-02 00:21:43 -0400 | [diff] [blame] | 23 | export default function AccountCreationDialog() { |
Adrien Béraud | 88a5244 | 2021-04-26 12:11:41 -0400 | [diff] [blame] | 24 | return ( |
| 25 | <Container> |
idillon | fb2af5b | 2022-09-16 13:40:08 -0400 | [diff] [blame] | 26 | <Card> |
Adrien Béraud | 88a5244 | 2021-04-26 12:11:41 -0400 | [diff] [blame] | 27 | <CardContent> |
| 28 | <Typography gutterBottom variant="h5" component="h2"> |
| 29 | Create new account |
| 30 | </Typography> |
| 31 | <Typography variant="body2" color="textSecondary" component="p"> |
simon | d47ef9e | 2022-09-28 22:24:28 -0400 | [diff] [blame] | 32 | Welcome to the Jami web node setup. |
| 33 | <br /> |
simon | 80b7b3b | 2022-09-28 17:50:10 -0400 | [diff] [blame] | 34 | Let's start by creating a new administrator account to control access to the server configuration. |
Adrien Béraud | 88a5244 | 2021-04-26 12:11:41 -0400 | [diff] [blame] | 35 | </Typography> |
| 36 | </CardContent> |
| 37 | |
idillon | fb2af5b | 2022-09-16 13:40:08 -0400 | [diff] [blame] | 38 | <List> |
Adrien Béraud | 88a5244 | 2021-04-26 12:11:41 -0400 | [diff] [blame] | 39 | <ListItemLink |
| 40 | to="/newAccount/rendezVous" |
simon | d47ef9e | 2022-09-28 22:24:28 -0400 | [diff] [blame] | 41 | icon={ |
| 42 | <Avatar> |
| 43 | <RoomRounded /> |
| 44 | </Avatar> |
| 45 | } |
Adrien Béraud | 88a5244 | 2021-04-26 12:11:41 -0400 | [diff] [blame] | 46 | primary="Rendez-vous point" |
simon | d47ef9e | 2022-09-28 22:24:28 -0400 | [diff] [blame] | 47 | secondary="A Rendez-vous account provides a unique space suitable to easily organize meetings" |
| 48 | /> |
Adrien Béraud | 88a5244 | 2021-04-26 12:11:41 -0400 | [diff] [blame] | 49 | <Divider /> |
| 50 | <ListItemLink |
| 51 | to="/newAccount/jami" |
simon | d47ef9e | 2022-09-28 22:24:28 -0400 | [diff] [blame] | 52 | icon={ |
| 53 | <Avatar> |
| 54 | <GroupOutlined /> |
| 55 | </Avatar> |
| 56 | } |
Adrien Béraud | 88a5244 | 2021-04-26 12:11:41 -0400 | [diff] [blame] | 57 | primary="Jami account" |
simon | d47ef9e | 2022-09-28 22:24:28 -0400 | [diff] [blame] | 58 | secondary="A pesonal communication account to join a Rendez-vous point or directly contact other Jami users" |
| 59 | /> |
Adrien Béraud | 88a5244 | 2021-04-26 12:11:41 -0400 | [diff] [blame] | 60 | <Divider /> |
| 61 | <ListItemLink |
| 62 | to="/newAccount/sip" |
simon | d47ef9e | 2022-09-28 22:24:28 -0400 | [diff] [blame] | 63 | icon={ |
| 64 | <Avatar> |
| 65 | <DialerSipRounded /> |
| 66 | </Avatar> |
| 67 | } |
Adrien Béraud | 88a5244 | 2021-04-26 12:11:41 -0400 | [diff] [blame] | 68 | primary="SIP Account" |
simon | d47ef9e | 2022-09-28 22:24:28 -0400 | [diff] [blame] | 69 | secondary="Connect with standard SIP communication providers or classic telephony services" |
| 70 | /> |
Adrien Béraud | 88a5244 | 2021-04-26 12:11:41 -0400 | [diff] [blame] | 71 | </List> |
| 72 | </Card> |
simon | d47ef9e | 2022-09-28 22:24:28 -0400 | [diff] [blame] | 73 | </Container> |
| 74 | ); |
Adrien Béraud | 88a5244 | 2021-04-26 12:11:41 -0400 | [diff] [blame] | 75 | } |