Skip to content

Commit

Permalink
fix CardAlert
Browse files Browse the repository at this point in the history
  • Loading branch information
danilo-leal committed Jun 6, 2024
1 parent 3e6ab9b commit 860d0b3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ export default function CardAlert() {
return (
<Card sx={{ m: 1.5, p: 2 }}>
<CardContent>
<Typography variant="h6" gutterBottom>
Your plan is about to expire
<Typography fontWeight="600" gutterBottom>
Plan about to expire
</Typography>
<Typography variant="body2" gutterBottom>
Enjoy 10% off when you renew your plan today.
<Typography color="text.secondary" variant="body2" sx={{ mb: 2 }}>
Enjoy 10% off when renewing your plan today.
</Typography>
<Button variant="contained" size="small" fullWidth>
Get the discount!
Get the discount
</Button>
</CardContent>
</Card>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ const drawerWidth = 240;
const Drawer = styled(MuiDrawer)({
width: drawerWidth,
flexShrink: 0,
whiteSpace: 'nowrap',
boxSizing: 'border-box',
'& .MuiDrawer-paper': {
width: drawerWidth,
Expand All @@ -47,12 +46,7 @@ const secondaryListItems = [

export default function SideMenu() {
return (
<Drawer
variant="permanent"
sx={{
display: { xs: 'none', md: 'block' },
}}
>
<Drawer variant="permanent" sx={{ display: { xs: 'none', md: 'block' } }}>
<Box
sx={{
height: 64,
Expand Down

0 comments on commit 860d0b3

Please sign in to comment.