2024-05-21 16:38:11 -07:00
|
|
|
import { Box, Typography, useTheme } from '@mui/material';
|
|
|
|
|
import Button from '../Button';
|
2024-05-19 22:40:55 -07:00
|
|
|
|
2024-05-21 16:38:11 -07:00
|
|
|
/**
|
|
|
|
|
* Integrations component
|
|
|
|
|
* @returns {JSX.Element}
|
|
|
|
|
*/
|
2024-06-09 23:37:47 -07:00
|
|
|
const IntegrationsComponent = () => {
|
2024-05-21 16:38:11 -07:00
|
|
|
const theme = useTheme();
|
|
|
|
|
|
2024-05-19 22:40:55 -07:00
|
|
|
return (
|
2024-05-21 16:38:11 -07:00
|
|
|
<Box
|
|
|
|
|
display="flex"
|
|
|
|
|
alignItems="center"
|
|
|
|
|
p={theme.spacing(2)}
|
|
|
|
|
border={1}
|
|
|
|
|
borderColor={theme.palette.divider}
|
|
|
|
|
borderRadius={theme.shape.borderRadius}
|
|
|
|
|
>
|
|
|
|
|
<Box
|
|
|
|
|
component="img"
|
|
|
|
|
src="https://via.placeholder.com/100"
|
|
|
|
|
alt="Placeholder"
|
|
|
|
|
width={100}
|
|
|
|
|
height={100}
|
|
|
|
|
/>
|
2024-05-19 22:40:55 -07:00
|
|
|
|
2024-05-21 16:38:11 -07:00
|
|
|
<Box
|
|
|
|
|
flex={1}
|
|
|
|
|
mx={theme.spacing(2)}
|
|
|
|
|
display="flex"
|
|
|
|
|
flexDirection="column"
|
|
|
|
|
alignItems="flex-start"
|
|
|
|
|
>
|
2024-05-19 22:40:55 -07:00
|
|
|
<Typography variant="h6" component="div">
|
|
|
|
|
Header
|
|
|
|
|
</Typography>
|
2024-05-21 16:38:11 -07:00
|
|
|
<Typography
|
|
|
|
|
variant="body1"
|
|
|
|
|
component="div"
|
|
|
|
|
sx={{
|
|
|
|
|
maxWidth: '300px',
|
|
|
|
|
wordWrap: 'break-word',
|
|
|
|
|
textAlign: 'left'
|
|
|
|
|
}}
|
|
|
|
|
>
|
2024-05-19 22:40:55 -07:00
|
|
|
This is a paragraph that provides more detail about the header.
|
|
|
|
|
</Typography>
|
|
|
|
|
</Box>
|
|
|
|
|
|
2024-05-21 16:38:11 -07:00
|
|
|
<Button label="Click Me" level="primary" />
|
2024-05-19 22:40:55 -07:00
|
|
|
</Box>
|
|
|
|
|
);
|
|
|
|
|
};
|
|
|
|
|
|
2024-06-09 23:37:47 -07:00
|
|
|
export default IntegrationsComponent;
|