File size: 3,537 Bytes
1e92f2d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 |
import React from 'react'
import Box from '@mui/material/Box';
import Typography from '@mui/material/Typography';
import Avatar from '@mui/material/Avatar';
import Grid from '@mui/material/Grid';
const data = [
{
title: 'Google Chrome',
subtitle:
'Google Chrome is a cross-platform web browser developed by Google.',
icon: 'https://assets.maccarianagency.com/browsers/chrome.png',
},
{
title: 'Safari',
subtitle:
'Safari is a graphical web browser developed by Apple, based on the WebKit engine.',
icon: 'https://assets.maccarianagency.com/browsers/safari.png',
},
{
title: 'Microsoft Edge',
subtitle:
'Microsoft Edge is a web browser developed by Microsoft. It was first released for Windows 10.',
icon: 'https://assets.maccarianagency.com/browsers/edge.png',
},
{
title: 'Mozilla Firefox',
subtitle:
'Mozilla Firefox, or simply Firefox, is a free and web browser developed by the Mozilla.',
icon: 'https://assets.maccarianagency.com/browsers/firefox.png',
},
];
const BrowserSupport = () => {
return (
<Box p={2} mb={2}>
<Box marginBottom={4} textAlign={'center'}>
<Typography
sx={{
textTransform: 'uppercase',
fontWeight: 'medium',
}}
gutterBottom
color={'secondary'}
>
Compatibility
</Typography>
<Typography fontWeight={700} variant={'h4'}>
Compatible with all major browsers
</Typography>
</Box>
<Grid container spacing={2}>
{data.map((item, i) => (
<Grid item xs={12} md={3} key={i}>
<Box
width={1}
height={1}
data-aos={'fade-up'}
data-aos-delay={i * 100}
data-aos-offset={100}
data-aos-duration={600}
>
<Box
display={'flex'}
flexDirection={'column'}
alignItems={'center'}
>
<Box
component={Avatar}
width={80}
height={80}
marginBottom={2}
src={item.icon}
/>
<Typography
variant={'h6'}
gutterBottom
fontWeight={500}
align={'center'}
>
{item.title}
</Typography>
<Typography align={'center'} color="text.secondary">
{item.subtitle}
</Typography>
</Box>
</Box>
</Grid>
))}
</Grid>
</Box>
)
}
export default BrowserSupport
|