-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e8ad6bf
commit 7011719
Showing
5 changed files
with
99 additions
and
1 deletion.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import type { BaseBlock } from '@/components/Home/types' | ||
import { Container, Grid, Typography } from '@mui/material' | ||
import layoutCss from '@/components/common/styles.module.css' | ||
|
||
const FeatureCards = ({ title, text, items = [] }: BaseBlock) => { | ||
return ( | ||
<Container className={layoutCss.containerMedium}> | ||
<Grid container justifyContent="space-between" columnSpacing="30px" rowGap="30px"> | ||
<Grid item xs={12} md={7}> | ||
<Typography variant="h2">{title}</Typography> | ||
</Grid> | ||
|
||
{text && ( | ||
<Grid item xs={12} md={5} alignContent="flex-end"> | ||
<Typography variant="h5">{text}</Typography> | ||
</Grid> | ||
)} | ||
</Grid> | ||
</Container> | ||
) | ||
} | ||
|
||
export default FeatureCards |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
.title { | ||
text-align: center; | ||
max-width: 650px; | ||
margin-bottom: 48px; | ||
margin: 0 auto 48px; | ||
} | ||
|
||
.image { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters