Skip to content

Commit 6472e3a

Browse files
committed
[no ci] [CRM] Improve welcome card
1 parent bec289b commit 6472e3a

File tree

1 file changed

+16
-48
lines changed

1 file changed

+16
-48
lines changed
Lines changed: 16 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -1,65 +1,33 @@
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';
102

113
export const Welcome = () => (
124
<Card
135
sx={{
146
background: `#c5dedd`,
157
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-
},
298
}}
309
>
3110
<CardContent>
32-
<Typography variant="h5" gutterBottom>
33-
CRM Demo
11+
<Typography variant="h6" gutterBottom>
12+
Your CRM Starter Kit
3413
</Typography>
3514
<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.
3916
</Typography>
4017
<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+
.
4430
</Typography>
4531
</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>
6432
</Card>
6533
);

0 commit comments

Comments
 (0)