Преглед изворни кода

feat module 3 : remove contact info, delivery information, replace stay in touch, remove section stay in touch

master
nadia пре 1 дан
родитељ
комит
0f7dc69177
2 измењених фајлова са 60 додато и 8 уклоњено
  1. 53
    5
      src/components/Footer/Footer.jsx
  2. 7
    3
      src/pages/Home.jsx

+ 53
- 5
src/components/Footer/Footer.jsx Прегледај датотеку

@@ -1,12 +1,13 @@
1
-import { useState } from 'react';
2
-import { Box, Typography, TextField, Button, InputAdornment } from '@mui/material';
1
+// import { useState } from 'react';
2
+// import { Box, Typography, TextField, Button, InputAdornment } from '@mui/material';
3
+import { Box, Typography } from '@mui/material';
3 4
 import logoSrc from "../../assets/images/amberlogofooter.png";
4 5
 import Grid from '@mui/material/Grid2';
5 6
 import InstagramIcon from '@mui/icons-material/Instagram';
6 7
 import WhatsAppIcon from '@mui/icons-material/WhatsApp';
7 8
 import LocalPhoneIcon from '@mui/icons-material/LocalPhone';
8 9
 
9
-import customerService from '../../services/CustomerService';
10
+// import customerService from '../../services/CustomerService';
10 11
 
11 12
 
12 13
 const TikTokIcon = ({ color = "#000000" }) => {
@@ -17,7 +18,7 @@ const TikTokIcon = ({ color = "#000000" }) => {
17 18
 
18 19
 const Footer = () => {
19 20
 
20
-  const [email, setEmail] = useState("")
21
+  // const [email, setEmail] = useState("")
21 22
 
22 23
   return (
23 24
     <Box
@@ -58,9 +59,11 @@ const Footer = () => {
58 59
 
59 60
         <Grid item size={{ xs: 12, sm: 6, md: 6, lg: 4, xl: 4 }} sx={{ position: "relative" }}>
60 61
 
62
+          {/*
61 63
           <Typography variant="body1" sx={{ fontWeight: "bold", mb: 4 }}>
62 64
             Contact Info
63 65
           </Typography>
66
+          */}
64 67
           <Typography variant="body2" sx={{ maxWidth: 350, mb: 2 }}><span style={{ fontWeight: "bold" }}>AMBER MODE (M) SDN BHD (1109469-M) <br /> </span> Lot G-77, Wangsa Walk Mall, <br />Wangsa Avenue, <br />No.9, Jalan Wangsa Perdana 1, <br />Bandar Wangsa Maju, <br />53300 Kuala Lumpur, <br />Malaysia</Typography>
65 68
           <Typography
66 69
             variant="body2"
@@ -73,15 +76,16 @@ const Footer = () => {
73 76
 
74 77
         </Grid>
75 78
 
76
-
77 79
         <Grid item size={{ xs: 12, sm: 6, md: 6, lg: 3, xl: 3 }} sx={{ pl: { xs: 0, sm: 0, md: 0, lg: 5, xl: 5 } }}>
78 80
           <Typography variant="body1" sx={{ fontWeight: "bold", mb: 4 }}>
79 81
             Get Help
80 82
           </Typography>
81 83
           <nav>
84
+            {/*
82 85
             <Typography variant="body2" sx={{ mb: 1 }}>
83 86
               <a href='/delivery_info' style={{ textDecoration: 'none', color: 'inherit', cursor:"pointer" }}>Delivery Information</a>
84 87
             </Typography>
88
+            */}
85 89
             <Typography variant="body2" sx={{ mb: 1 }}>
86 90
               <a href='/sale_terms_and_condition' style={{ textDecoration: 'none', color: 'inherit', cursor:"pointer" }}>Sale Terms & Conditions</a>
87 91
             </Typography>
@@ -101,6 +105,49 @@ const Footer = () => {
101 105
         </Grid>
102 106
 
103 107
         <Grid item size={{ xs: 12, sm: 6, md: 6, lg: 4, xl: 4 }}>
108
+          <Typography
109
+            variant="h4"
110
+            sx={{
111
+              fontFamily: '"Big Caslon", "Times New Roman", serif',
112
+              fontWeight: "400",
113
+              mb: 4,
114
+              color: "#000",
115
+            }}
116
+          >
117
+            Find us on our socials
118
+          </Typography>
119
+
120
+          <Box sx={{ display: "flex", gap: 1.5, alignItems: "center", color: "#95AAC5" }}>
121
+            <a
122
+              href="https://wa.me/+60172282072"
123
+              target="_blank"
124
+              rel="noreferrer"
125
+              style={{
126
+                color: "inherit",
127
+                lineHeight: 0,
128
+              }}><WhatsAppIcon fontSize="small" />
129
+            </a>
130
+            <a
131
+              href="https://www.instagram.com/amber.officials/?hl=en"
132
+              target="_blank"
133
+              rel="noreferrer"
134
+              style={{
135
+                color: "inherit",
136
+                lineHeight: 0,
137
+              }}><InstagramIcon fontSize="small" />
138
+            </a>
139
+            <a
140
+              href="https://www.tiktok.com/@ambermodeofficial"
141
+              target="_blank"
142
+              rel="noreferrer"
143
+              style={{
144
+                color: "inherit",
145
+                lineHeight: 0,
146
+              }}><TikTokIcon color={"#95AAC5"} />
147
+            </a>
148
+          </Box>
149
+
150
+          {/*
104 151
           <Typography variant="body1" sx={{ fontWeight: "bold", mb: 4 }}>
105 152
             Let’s stay in touch
106 153
           </Typography>
@@ -196,6 +243,7 @@ const Footer = () => {
196 243
             </Box>
197 244
 
198 245
           </Box>
246
+          */}
199 247
         </Grid>
200 248
       </Grid>
201 249
     </Box>

+ 7
- 3
src/pages/Home.jsx Прегледај датотеку

@@ -4,11 +4,11 @@ import Grid from '@mui/material/Grid2';
4 4
 import CarouselContainer from '../components/CarouselContainer'
5 5
 import ProductSelected from '../components/ProductSelected'
6 6
 import SocialMedia from '../components/SocialMedia'
7
-import Feature from '../components/Feature'
7
+// import Feature from '../components/Feature'
8 8
 import { Link } from '@mui/material'
9 9
 import VideoAds from '../components/VideoAds'
10 10
 import ProductType from '../components/ProductType';
11
-import NewsLetter from '../components/NewsLetter';
11
+// import NewsLetter from '../components/NewsLetter';
12 12
 import ProductService from "../services/ProductService"
13 13
 import AmberHomeWallpaper from "../assets/images/amberHomeWallpaper.webp";
14 14
 import AmberBeautyWallpaper from "../assets/images/amberBeautyWallpaper.webp";
@@ -66,7 +66,9 @@ const Home = () => {
66 66
 
67 67
       </Box>
68 68
 
69
+      {/*
69 70
       <NewsLetter />
71
+      */}
70 72
 
71 73
       <Box sx={{ px:{
72 74
         xs: 2,
@@ -74,7 +76,9 @@ const Home = () => {
74 76
         lg: 5
75 77
       }, mb: 10 }}>
76 78
 
79
+        {/*
77 80
         <Feature />
81
+        */}
78 82
       </Box>
79 83
 
80 84
 
@@ -82,4 +86,4 @@ const Home = () => {
82 86
   )
83 87
 }
84 88
 
85
-export default Home
89
+export default Home

Loading…
Откажи
Сачувај