umwd-components 0.1.142 → 0.1.144

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,22 @@ 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: "120px",
99
+ sm: "200px",
100
+ md: "250px",
101
+ lg: "350px"
102
+ }
103
+ }
104
+ }), /*#__PURE__*/React.createElement(material.Typography, {
98
105
  variant: "h4",
99
106
  align: "center",
100
107
  component: "h2"
@@ -84,15 +84,22 @@ 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: "120px",
97
+ sm: "200px",
98
+ md: "250px",
99
+ lg: "350px"
100
+ }
101
+ }
102
+ }), /*#__PURE__*/React__default.createElement(Typography, {
96
103
  variant: "h4",
97
104
  align: "center",
98
105
  component: "h2"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "umwd-components",
3
- "version": "0.1.142",
3
+ "version": "0.1.144",
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,16 @@ export function HeroSection({ data }: Readonly<HeroSectionProps>) {
124
122
  <Typography variant="h2" align="center" component={"h1"}>
125
123
  {heading}
126
124
  </Typography>
125
+ <Box
126
+ sx={{
127
+ height: {
128
+ xs: "120px",
129
+ sm: "200px",
130
+ md: "250px",
131
+ lg: "350px",
132
+ },
133
+ }}
134
+ />
127
135
  <Typography variant="h4" align="center" component={"h2"}>
128
136
  {subHeading}
129
137
  </Typography>