Some checks failed
No response / noResponse (push) Has been cancelled
CI / Continuous releases (push) Has been cancelled
CI / test-dev (macos-latest) (push) Has been cancelled
CI / test-dev (ubuntu-latest) (push) Has been cancelled
CI / test-dev (windows-latest) (push) Has been cancelled
Maintenance / main (push) Has been cancelled
Scorecards supply-chain security / Scorecards analysis (push) Has been cancelled
CodeQL / Analyze (push) Has been cancelled
47 lines
1.2 KiB
JavaScript
47 lines
1.2 KiB
JavaScript
import * as React from 'react';
|
|
import Box from '@mui/material/Box';
|
|
import Card from '@mui/material/Card';
|
|
import CardActions from '@mui/material/CardActions';
|
|
import CardContent from '@mui/material/CardContent';
|
|
import Button from '@mui/material/Button';
|
|
import Typography from '@mui/material/Typography';
|
|
|
|
const bull = (
|
|
<Box
|
|
component="span"
|
|
sx={{ display: 'inline-block', mx: '2px', transform: 'scale(0.8)' }}
|
|
>
|
|
•
|
|
</Box>
|
|
);
|
|
|
|
const card = (
|
|
<React.Fragment>
|
|
<CardContent>
|
|
<Typography gutterBottom sx={{ color: 'text.secondary', fontSize: 14 }}>
|
|
Word of the Day
|
|
</Typography>
|
|
<Typography variant="h5" component="div">
|
|
be{bull}nev{bull}o{bull}lent
|
|
</Typography>
|
|
<Typography sx={{ color: 'text.secondary', mb: 1.5 }}>adjective</Typography>
|
|
<Typography variant="body2">
|
|
well meaning and kindly.
|
|
<br />
|
|
{'"a benevolent smile"'}
|
|
</Typography>
|
|
</CardContent>
|
|
<CardActions>
|
|
<Button size="small">Learn More</Button>
|
|
</CardActions>
|
|
</React.Fragment>
|
|
);
|
|
|
|
export default function OutlinedCard() {
|
|
return (
|
|
<Box sx={{ minWidth: 275 }}>
|
|
<Card variant="outlined">{card}</Card>
|
|
</Box>
|
|
);
|
|
}
|