umwd-components 0.1.141 → 0.1.143

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.
@@ -86,15 +86,21 @@ function HeroSection(_ref) {
86
86
  src: logoImage.url,
87
87
  width: logoImage.width || 100,
88
88
  style: {
89
- width: "90%",
90
- height: "90%",
91
89
  objectFit: "contain"
92
90
  }
93
91
  })), /*#__PURE__*/React.createElement(material.Typography, {
94
92
  variant: "h2",
95
93
  align: "center",
96
94
  component: "h1"
97
- }, heading), /*#__PURE__*/React.createElement(material.Typography, {
95
+ }, heading), /*#__PURE__*/React.createElement(material.Box, {
96
+ sx: {
97
+ height: {
98
+ xs: "100px",
99
+ md: "250px",
100
+ lg: "350px"
101
+ }
102
+ }
103
+ }), /*#__PURE__*/React.createElement(material.Typography, {
98
104
  variant: "h4",
99
105
  align: "center",
100
106
  component: "h2"
@@ -84,15 +84,21 @@ function HeroSection(_ref) {
84
84
  src: logoImage.url,
85
85
  width: logoImage.width || 100,
86
86
  style: {
87
- width: "90%",
88
- height: "90%",
89
87
  objectFit: "contain"
90
88
  }
91
89
  })), /*#__PURE__*/React__default.createElement(Typography, {
92
90
  variant: "h2",
93
91
  align: "center",
94
92
  component: "h1"
95
- }, heading), /*#__PURE__*/React__default.createElement(Typography, {
93
+ }, heading), /*#__PURE__*/React__default.createElement(Box, {
94
+ sx: {
95
+ height: {
96
+ xs: "100px",
97
+ md: "250px",
98
+ lg: "350px"
99
+ }
100
+ }
101
+ }), /*#__PURE__*/React__default.createElement(Typography, {
96
102
  variant: "h4",
97
103
  align: "center",
98
104
  component: "h2"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "umwd-components",
3
- "version": "0.1.141",
3
+ "version": "0.1.143",
4
4
  "description": "UMWD Component library",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -113,8 +113,6 @@ export function HeroSection({ data }: Readonly<HeroSectionProps>) {
113
113
  src={logoImage.url}
114
114
  width={logoImage.width || 100}
115
115
  style={{
116
- width: "90%",
117
- height: "90%",
118
116
  objectFit: "contain",
119
117
  }}
120
118
  />
@@ -124,6 +122,7 @@ export function HeroSection({ data }: Readonly<HeroSectionProps>) {
124
122
  <Typography variant="h2" align="center" component={"h1"}>
125
123
  {heading}
126
124
  </Typography>
125
+ <Box sx={{ height: { xs: "100px", md: "250px", lg: "350px" } }} />
127
126
  <Typography variant="h4" align="center" component={"h2"}>
128
127
  {subHeading}
129
128
  </Typography>