umwd-components 0.1.94 → 0.1.95
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.
|
@@ -47,9 +47,9 @@ function HeroSection(_ref) {
|
|
|
47
47
|
width: "100%",
|
|
48
48
|
height: "100%"
|
|
49
49
|
},
|
|
50
|
-
height: 1080,
|
|
50
|
+
height: bgImage.height || 1080,
|
|
51
51
|
src: bgImage.url,
|
|
52
|
-
width: 1920
|
|
52
|
+
width: bgImage.width || 1920
|
|
53
53
|
}), /*#__PURE__*/React.createElement(material.Stack, {
|
|
54
54
|
spacing: 2,
|
|
55
55
|
alignItems: "center",
|
|
@@ -62,7 +62,6 @@ function HeroSection(_ref) {
|
|
|
62
62
|
}, logoImage && /*#__PURE__*/React.createElement(StrapiImage.StrapiImage, {
|
|
63
63
|
alt: logoImage.alternativeText,
|
|
64
64
|
height: logoImage.height || 100,
|
|
65
|
-
style: logoImage.style || {},
|
|
66
65
|
src: logoImage.url,
|
|
67
66
|
width: logoImage.width || 100
|
|
68
67
|
}), /*#__PURE__*/React.createElement(material.Typography, {
|
|
@@ -45,9 +45,9 @@ function HeroSection(_ref) {
|
|
|
45
45
|
width: "100%",
|
|
46
46
|
height: "100%"
|
|
47
47
|
},
|
|
48
|
-
height: 1080,
|
|
48
|
+
height: bgImage.height || 1080,
|
|
49
49
|
src: bgImage.url,
|
|
50
|
-
width: 1920
|
|
50
|
+
width: bgImage.width || 1920
|
|
51
51
|
}), /*#__PURE__*/React__default.createElement(Stack, {
|
|
52
52
|
spacing: 2,
|
|
53
53
|
alignItems: "center",
|
|
@@ -60,7 +60,6 @@ function HeroSection(_ref) {
|
|
|
60
60
|
}, logoImage && /*#__PURE__*/React__default.createElement(StrapiImage, {
|
|
61
61
|
alt: logoImage.alternativeText,
|
|
62
62
|
height: logoImage.height || 100,
|
|
63
|
-
style: logoImage.style || {},
|
|
64
63
|
src: logoImage.url,
|
|
65
64
|
width: logoImage.width || 100
|
|
66
65
|
}), /*#__PURE__*/React__default.createElement(Typography, {
|
package/package.json
CHANGED
|
@@ -56,9 +56,9 @@ export function HeroSection({ data }: Readonly<HeroSectionProps>) {
|
|
|
56
56
|
width: "100%",
|
|
57
57
|
height: "100%",
|
|
58
58
|
}}
|
|
59
|
-
height={1080}
|
|
59
|
+
height={bgImage.height || 1080}
|
|
60
60
|
src={bgImage.url}
|
|
61
|
-
width={1920}
|
|
61
|
+
width={bgImage.width || 1920}
|
|
62
62
|
/>
|
|
63
63
|
)}
|
|
64
64
|
<Stack
|
|
@@ -71,7 +71,6 @@ export function HeroSection({ data }: Readonly<HeroSectionProps>) {
|
|
|
71
71
|
<StrapiImage
|
|
72
72
|
alt={logoImage.alternativeText}
|
|
73
73
|
height={logoImage.height || 100}
|
|
74
|
-
style={logoImage.style || {}}
|
|
75
74
|
src={logoImage.url}
|
|
76
75
|
width={logoImage.width || 100}
|
|
77
76
|
/>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { HeroSection } from "../components/
|
|
2
|
+
import { HeroSection } from "../components/HeroSection";
|
|
3
3
|
|
|
4
4
|
export default {
|
|
5
5
|
title: "UMWD/HeroSection",
|
|
@@ -15,7 +15,7 @@ export const Orefs = Template.bind({});
|
|
|
15
15
|
Orefs.args = {
|
|
16
16
|
data: {
|
|
17
17
|
id: 1,
|
|
18
|
-
__component: "
|
|
18
|
+
__component: "layout.hero-section",
|
|
19
19
|
heading: "Orefs",
|
|
20
20
|
subHeading: "A place for all your resources",
|
|
21
21
|
image: {
|
|
@@ -33,7 +33,7 @@ Orefs.args = {
|
|
|
33
33
|
|
|
34
34
|
export const AMH = Template.bind({});
|
|
35
35
|
|
|
36
|
-
AMH.args = {
|
|
36
|
+
/* AMH.args = {
|
|
37
37
|
data: {
|
|
38
38
|
id: 2,
|
|
39
39
|
__component: "custom.hero-section",
|
|
@@ -50,6 +50,33 @@ AMH.args = {
|
|
|
50
50
|
text: "Resources",
|
|
51
51
|
},
|
|
52
52
|
},
|
|
53
|
+
}; */
|
|
54
|
+
|
|
55
|
+
AMH.args = {
|
|
56
|
+
data: {
|
|
57
|
+
id: 1,
|
|
58
|
+
__component: "layout.hero-section",
|
|
59
|
+
heading: null,
|
|
60
|
+
subHeading:
|
|
61
|
+
"We offer world wide, around the clock patient transport by air ambulance. Our aircrafts are equipped with state of the art medical equipment and staffed with highly qualified flying crews and medical teams. We will bring the patient back home, reliable and safely for affordable pricing.",
|
|
62
|
+
bgImage: {
|
|
63
|
+
id: 2,
|
|
64
|
+
name: "dm_masked@2x.png",
|
|
65
|
+
alternativeText: null,
|
|
66
|
+
width: 3841,
|
|
67
|
+
height: 2161,
|
|
68
|
+
url: "/uploads/dm_masked_2x_3eabdcd56c.png",
|
|
69
|
+
},
|
|
70
|
+
logoImage: {
|
|
71
|
+
id: 9,
|
|
72
|
+
name: "Airplane Cover-07.png",
|
|
73
|
+
alternativeText: null,
|
|
74
|
+
width: 1280,
|
|
75
|
+
height: 720,
|
|
76
|
+
url: "/uploads/Airplane_Cover_07_f71759b898.png",
|
|
77
|
+
},
|
|
78
|
+
link: { id: 1, url: "/contact", text: "Contact us", isExternal: false },
|
|
79
|
+
},
|
|
53
80
|
};
|
|
54
81
|
|
|
55
82
|
export const UMWD = Template.bind({});
|
|
@@ -57,7 +84,7 @@ export const UMWD = Template.bind({});
|
|
|
57
84
|
UMWD.args = {
|
|
58
85
|
data: {
|
|
59
86
|
id: 3,
|
|
60
|
-
__component: "
|
|
87
|
+
__component: "layout.hero-section",
|
|
61
88
|
heading: "UMWD",
|
|
62
89
|
subHeading: "A place for all your resources",
|
|
63
90
|
image: {
|