|
1 | | -import CodeIcon from '@mui/icons-material/Code'; |
2 | | -import HomeIcon from '@mui/icons-material/Home'; |
3 | | -import { |
4 | | - Button, |
5 | | - Card, |
6 | | - CardActions, |
7 | | - CardContent, |
8 | | - Typography, |
9 | | -} from '@mui/material'; |
| 1 | +import { Card, CardContent, Link, Typography } from '@mui/material'; |
10 | 2 |
|
11 | 3 | export const Welcome = () => ( |
12 | 4 | <Card |
13 | 5 | sx={{ |
14 | 6 | background: `#c5dedd`, |
15 | 7 | color: 'rgba(0, 0, 0, 0.87)', |
16 | | - padding: '1em', |
17 | | - [`& .MuiCardActions-root`]: { |
18 | | - p: 2, |
19 | | - mt: -2, |
20 | | - mb: -1, |
21 | | - flexDirection: 'column', |
22 | | - '& a': { |
23 | | - mb: 1, |
24 | | - color: 'rgba(0, 0, 0, 0.87)', |
25 | | - backgroundColor: 'white', |
26 | | - marginLeft: '0 !important', |
27 | | - }, |
28 | | - }, |
29 | 8 | }} |
30 | 9 | > |
31 | 10 | <CardContent> |
32 | | - <Typography variant="h5" gutterBottom> |
33 | | - CRM Demo |
| 11 | + <Typography variant="h6" gutterBottom> |
| 12 | + Your CRM Starter Kit |
34 | 13 | </Typography> |
35 | 14 | <Typography variant="body2" gutterBottom> |
36 | | - This app runs in the browser, and relies on a mock REST API. |
37 | | - Feel free to explore and modify the data - it's local to your |
38 | | - computer, and will reset each time you reload. |
| 15 | + This demo is a template you can use to kickstart your own CRM. |
39 | 16 | </Typography> |
40 | 17 | <Typography variant="body2" gutterBottom> |
41 | | - It was built using react-admin, an open-source framework. The |
42 | | - code for this demo is also open-source. Reading it is a great |
43 | | - way to learn about react-admin! |
| 18 | + Feel free to explore and modify the data—it’s stored locally and |
| 19 | + resets on reload. While this demo uses a mock API, the full |
| 20 | + version uses Supabase for the backend. |
| 21 | + </Typography> |
| 22 | + <Typography variant="body2"> |
| 23 | + Built with{' '} |
| 24 | + <Link href="https://marmelab.com/react-admin">react-admin</Link> |
| 25 | + , Atomic CRM is fully open-source. Checkout the code at{' '} |
| 26 | + <Link href="https://github.com/marmelab/atomic-crm"> |
| 27 | + marmelab/atomic-crm |
| 28 | + </Link> |
| 29 | + . |
44 | 30 | </Typography> |
45 | 31 | </CardContent> |
46 | | - <CardActions> |
47 | | - <Button |
48 | | - variant="contained" |
49 | | - fullWidth |
50 | | - href="https://marmelab.com/react-admin" |
51 | | - startIcon={<HomeIcon />} |
52 | | - > |
53 | | - React-admin site |
54 | | - </Button> |
55 | | - <Button |
56 | | - variant="contained" |
57 | | - fullWidth |
58 | | - href="https://github.com/marmelab/react-admin/tree/master/examples/crm" |
59 | | - startIcon={<CodeIcon />} |
60 | | - > |
61 | | - Source of this demo |
62 | | - </Button> |
63 | | - </CardActions> |
64 | 32 | </Card> |
65 | 33 | ); |
0 commit comments