umwd-components 0.1.59 → 0.1.60
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -22,16 +22,19 @@ function HeroSection(_ref) {
|
|
|
22
22
|
link
|
|
23
23
|
} = data;
|
|
24
24
|
return /*#__PURE__*/React.createElement("header", {
|
|
25
|
-
|
|
25
|
+
style: {
|
|
26
|
+
position: "relative",
|
|
27
|
+
padding: 0,
|
|
28
|
+
margin: 0
|
|
29
|
+
}
|
|
26
30
|
}, /*#__PURE__*/React.createElement(material.Box, {
|
|
27
31
|
sx: {
|
|
28
32
|
display: "flex",
|
|
29
33
|
flexDirection: "column",
|
|
30
34
|
alignItems: "center",
|
|
31
35
|
justifyContent: "center",
|
|
32
|
-
width: "
|
|
36
|
+
width: "100%",
|
|
33
37
|
overflow: "hidden",
|
|
34
|
-
backgroundColor: "pink",
|
|
35
38
|
minHeight: "600px"
|
|
36
39
|
}
|
|
37
40
|
}, /*#__PURE__*/React.createElement(StrapiImage.StrapiImage, {
|
|
@@ -20,16 +20,19 @@ function HeroSection(_ref) {
|
|
|
20
20
|
link
|
|
21
21
|
} = data;
|
|
22
22
|
return /*#__PURE__*/React.createElement("header", {
|
|
23
|
-
|
|
23
|
+
style: {
|
|
24
|
+
position: "relative",
|
|
25
|
+
padding: 0,
|
|
26
|
+
margin: 0
|
|
27
|
+
}
|
|
24
28
|
}, /*#__PURE__*/React.createElement(Box, {
|
|
25
29
|
sx: {
|
|
26
30
|
display: "flex",
|
|
27
31
|
flexDirection: "column",
|
|
28
32
|
alignItems: "center",
|
|
29
33
|
justifyContent: "center",
|
|
30
|
-
width: "
|
|
34
|
+
width: "100%",
|
|
31
35
|
overflow: "hidden",
|
|
32
|
-
backgroundColor: "pink",
|
|
33
36
|
minHeight: "600px"
|
|
34
37
|
}
|
|
35
38
|
}, /*#__PURE__*/React.createElement(StrapiImage, {
|
package/package.json
CHANGED
|
@@ -30,16 +30,15 @@ export function HeroSection({ data }: Readonly<HeroSectionProps>) {
|
|
|
30
30
|
const { heading, subHeading, image, link } = data;
|
|
31
31
|
|
|
32
32
|
return (
|
|
33
|
-
<header
|
|
33
|
+
<header style={{ position: "relative", padding: 0, margin: 0 }}>
|
|
34
34
|
<Box
|
|
35
35
|
sx={{
|
|
36
36
|
display: "flex",
|
|
37
37
|
flexDirection: "column",
|
|
38
38
|
alignItems: "center",
|
|
39
39
|
justifyContent: "center",
|
|
40
|
-
width: "
|
|
40
|
+
width: "100%",
|
|
41
41
|
overflow: "hidden",
|
|
42
|
-
backgroundColor: "pink",
|
|
43
42
|
minHeight: "600px",
|
|
44
43
|
}}
|
|
45
44
|
>
|