Skip to content

Commit ff09968

Browse files
committed
add banner
1 parent c1039b5 commit ff09968

1 file changed

Lines changed: 26 additions & 3 deletions

File tree

docs/src/components/landing/Hero.js

Lines changed: 26 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,42 @@
11
import * as React from 'react';
22
import Typography from '@mui/material/Typography';
3-
import SvgToolpadLogo from 'docs/src/icons/SvgToolpadCoreLogo';
43
import Box from '@mui/material/Box';
5-
import GradientText from 'docs/src/components/typography/GradientText';
64
import Container from '@mui/material/Container';
5+
import Alert from '@mui/material/Alert';
6+
import AlertTitle from '@mui/material/AlertTitle';
77
import { Typewriter } from 'react-simple-typewriter';
8+
import SvgToolpadLogo from 'docs/src/icons/SvgToolpadCoreLogo';
9+
import GradientText from 'docs/src/components/typography/GradientText';
810
import GetStartedButtons from './GetStartedButtons';
911

1012
export default function Hero() {
1113
return (
1214
<Container
1315
sx={{
14-
py: { xs: 4, sm: 8 },
16+
py: { xs: 4, sm: 2 },
1517
}}
1618
>
19+
<Alert
20+
severity="warning"
21+
sx={{
22+
mb: 4,
23+
'& .MuiAlert-message': {
24+
width: '100%',
25+
},
26+
}}
27+
>
28+
<AlertTitle>Warning</AlertTitle>
29+
At the moment, the maintainers are primarily focused on other projects and are not actively
30+
working on Toolpad Core and Studio. You can use the CRUD dashboard template from the{' '}
31+
<a
32+
href="https://mui.com/material-ui/getting-started/templates/#free-templates"
33+
style={{ color: 'inherit', textDecoration: 'underline' }}
34+
>
35+
Material UI React templates page
36+
</a>{' '}
37+
as an easy-to-customize, copy-pastable alternative to the main Toolpad Core components —
38+
including dashboard layout and CRUD features.
39+
</Alert>
1740
<Box
1841
sx={{
1942
display: 'flex',

0 commit comments

Comments
 (0)