From 124e607df492b67f58bcddf93fe72ac98d24391c Mon Sep 17 00:00:00 2001 From: varbuzz Date: Thu, 6 Jul 2023 15:58:44 +0545 Subject: [PATCH] chore: setup iamge gallery --- src/data/index.ts | 51 ++++++++++++++++ src/scenes/Dashboard/fragments/ImageList.tsx | 62 ++++++++++++++++++++ src/scenes/Dashboard/index.tsx | 2 + 3 files changed, 115 insertions(+) create mode 100644 src/scenes/Dashboard/fragments/ImageList.tsx diff --git a/src/data/index.ts b/src/data/index.ts index 85eae14..afe6c9f 100644 --- a/src/data/index.ts +++ b/src/data/index.ts @@ -80,3 +80,54 @@ export const dataSource = [ id: '4c0af1e', }, ]; + +export const itemData = [ + { + img: 'https://images.unsplash.com/photo-1549388604-817d15aa0110', + title: 'Bed', + }, + { + img: 'https://images.unsplash.com/photo-1563298723-dcfebaa392e3', + title: 'Kitchen', + }, + { + img: 'https://images.unsplash.com/photo-1523413651479-597eb2da0ad6', + title: 'Sink', + }, + { + img: 'https://images.unsplash.com/photo-1525097487452-6278ff080c31', + title: 'Books', + }, + { + img: 'https://images.unsplash.com/photo-1574180045827-681f8a1a9622', + title: 'Chairs', + }, + { + img: 'https://images.unsplash.com/photo-1597262975002-c5c3b14bbd62', + title: 'Candle', + }, + { + img: 'https://images.unsplash.com/photo-1530731141654-5993c3016c77', + title: 'Laptop', + }, + { + img: 'https://images.unsplash.com/photo-1481277542470-605612bd2d61', + title: 'Doors', + }, + { + img: 'https://images.unsplash.com/photo-1517487881594-2787fef5ebf7', + title: 'Coffee', + }, + { + img: 'https://images.unsplash.com/photo-1516455207990-7a41ce80f7ee', + title: 'Storage', + }, + { + img: 'https://images.unsplash.com/photo-1519710164239-da123dc03ef4', + title: 'Coffee table', + }, + { + img: 'https://images.unsplash.com/photo-1588436706487-9d55d73a39e3', + title: 'Blinds', + }, +]; diff --git a/src/scenes/Dashboard/fragments/ImageList.tsx b/src/scenes/Dashboard/fragments/ImageList.tsx new file mode 100644 index 0000000..9f09e22 --- /dev/null +++ b/src/scenes/Dashboard/fragments/ImageList.tsx @@ -0,0 +1,62 @@ +import { Box, Container, ImageList, ImageListItem, Typography } from '@mui/material'; +import { itemData } from '../../../data'; + +const ImageListings = () => { + return ( + + + Share your setup with + + + #FuniroFurniture + + + + + {itemData.map((item) => ( + + {item.title} + + ))} + + {' '} + + + ); +}; + +export default ImageListings; diff --git a/src/scenes/Dashboard/index.tsx b/src/scenes/Dashboard/index.tsx index 58a8ca4..0de734b 100644 --- a/src/scenes/Dashboard/index.tsx +++ b/src/scenes/Dashboard/index.tsx @@ -1,12 +1,14 @@ import Banner from './fragments/Banner'; import FeaturedProducts from './fragments/FeaturedProducts'; import './dashboard.styles.css'; +import ImageListings from './fragments/ImageList'; const Dashboard = () => { return ( <> + ); };