Browse Source

feat module 3 : remove shopping benefits section

master
nadia 1 day ago
parent
commit
1bd7143eb6
2 changed files with 8 additions and 4 deletions
  1. 4
    2
      src/pages/Products/Product.jsx
  2. 4
    2
      src/pages/Products/index.jsx

+ 4
- 2
src/pages/Products/Product.jsx View File

9
 import ProductSuggestion from '../../components/ProductSuggestion';
9
 import ProductSuggestion from '../../components/ProductSuggestion';
10
 import ProductHistoryList from '../../components/ProductHistoryList';
10
 import ProductHistoryList from '../../components/ProductHistoryList';
11
 import SocialMedia from '../../components/SocialMedia'
11
 import SocialMedia from '../../components/SocialMedia'
12
-import Feature from '../../components/Feature'
12
+// import Feature from '../../components/Feature'
13
 import { fetchProduct } from '../../redux/slices/productSlice';
13
 import { fetchProduct } from '../../redux/slices/productSlice';
14
 
14
 
15
 const Product = () => {
15
 const Product = () => {
111
 
111
 
112
 
112
 
113
       <SocialMedia />
113
       <SocialMedia />
114
+      {/*
114
       <Box sx={{
115
       <Box sx={{
115
         display: {
116
         display: {
116
           xs: "none",
117
           xs: "none",
120
       }}>
121
       }}>
121
         <Feature />
122
         <Feature />
122
       </Box>
123
       </Box>
124
+      */}
123
 
125
 
124
     </Box>
126
     </Box>
125
 
127
 
126
   )
128
   )
127
 }
129
 }
128
 
130
 
129
-export default Product
131
+export default Product

+ 4
- 2
src/pages/Products/index.jsx View File

4
 import ProductList from '../../components/ProductList'
4
 import ProductList from '../../components/ProductList'
5
 import { Box } from '@mui/material'
5
 import { Box } from '@mui/material'
6
 import SocialMedia from '../../components/SocialMedia'
6
 import SocialMedia from '../../components/SocialMedia'
7
-import Feature from '../../components/Feature'
7
+// import Feature from '../../components/Feature'
8
 
8
 
9
 const Products = () => {
9
 const Products = () => {
10
 
10
 
43
         {collection && <PageTitle title={collection?.title} image={collection?.image?.url} />}
43
         {collection && <PageTitle title={collection?.title} image={collection?.image?.url} />}
44
         <ProductList />
44
         <ProductList />
45
         <SocialMedia />
45
         <SocialMedia />
46
+        {/*
46
         <Box sx={{
47
         <Box sx={{
47
           display: {
48
           display: {
48
             xs: "none",
49
             xs: "none",
52
         }}>
53
         }}>
53
           <Feature />
54
           <Feature />
54
         </Box>
55
         </Box>
56
+        */}
55
       </Box>
57
       </Box>
56
     </>
58
     </>
57
   )
59
   )
58
 }
60
 }
59
 
61
 
60
-export default Products
62
+export default Products

Loading…
Cancel
Save