-
Notifications
You must be signed in to change notification settings - Fork 0
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
19ae5f7
commit 124e607
Showing
3 changed files
with
115 additions
and
0 deletions.
There are no files selected for viewing
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
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,62 @@ | ||
import { Box, Container, ImageList, ImageListItem, Typography } from '@mui/material'; | ||
import { itemData } from '../../../data'; | ||
|
||
const ImageListings = () => { | ||
return ( | ||
<Box display='flex' flexDirection='column' gap='1.5rem' m='3.5rem 1rem'> | ||
<Typography | ||
textAlign='center' | ||
variant='h4' | ||
sx={{ fontSize: '1.2rem', lineHeight: '150%', fontWeight: 600 }} | ||
> | ||
Share your setup with | ||
</Typography> | ||
<Typography | ||
variant='h6' | ||
component='h2' | ||
textAlign='center' | ||
sx={{ fontSize: '40px', fontStyle: 'normal', fontWeight: '700', lineHeight: '120%' }} | ||
> | ||
#FuniroFurniture | ||
</Typography> | ||
<Box | ||
maxWidth='xl' | ||
height='780px' | ||
overflow='scroll' | ||
display='flex' | ||
justifyContent='center' | ||
sx={{ | ||
'::-webkit-scrollbar': { | ||
display: 'none', | ||
}, | ||
}} | ||
> | ||
<ImageList | ||
variant='masonry' | ||
cols={3} | ||
gap={8} | ||
sx={{ | ||
'::-webkit-scrollbar': { | ||
display: 'none', | ||
}, | ||
}} | ||
> | ||
<Box width='451px' height='312px'> | ||
{itemData.map((item) => ( | ||
<ImageListItem key={item.img}> | ||
<img | ||
src={`${item.img}?w=161&fit=crop&auto=format`} | ||
srcSet={`${item.img}?w=161&fit=crop&auto=format&dpr=2 2x`} | ||
alt={item.title} | ||
loading='lazy' | ||
/> | ||
</ImageListItem> | ||
))} | ||
</Box> | ||
</ImageList>{' '} | ||
</Box> | ||
</Box> | ||
); | ||
}; | ||
|
||
export default ImageListings; |
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