umwd-components 0.1.148 → 0.1.149
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.
|
@@ -149,8 +149,9 @@ function ScrollNavbar(_ref) {
|
|
|
149
149
|
}))), /*#__PURE__*/React.createElement(Link, {
|
|
150
150
|
href: "/",
|
|
151
151
|
style: {
|
|
152
|
+
color: theme.palette.primary.contrastText,
|
|
152
153
|
textDecoration: "none",
|
|
153
|
-
|
|
154
|
+
cursor: "pointer"
|
|
154
155
|
}
|
|
155
156
|
}, /*#__PURE__*/React.createElement(material.Box, {
|
|
156
157
|
sx: {
|
|
@@ -231,8 +232,9 @@ function ScrollNavbar(_ref) {
|
|
|
231
232
|
}, /*#__PURE__*/React.createElement(Link, {
|
|
232
233
|
href: "/",
|
|
233
234
|
style: {
|
|
235
|
+
color: theme.palette.primary.contrastText,
|
|
234
236
|
textDecoration: "none",
|
|
235
|
-
|
|
237
|
+
cursor: "pointer"
|
|
236
238
|
}
|
|
237
239
|
}, /*#__PURE__*/React.createElement(material.Box, {
|
|
238
240
|
sx: {
|
|
@@ -283,7 +285,12 @@ function ScrollNavbar(_ref) {
|
|
|
283
285
|
return /*#__PURE__*/React.createElement(React.Fragment, {
|
|
284
286
|
key: tab.name
|
|
285
287
|
}, /*#__PURE__*/React.createElement(Link, {
|
|
286
|
-
href: "#".concat(tab.slug)
|
|
288
|
+
href: "#".concat(tab.slug),
|
|
289
|
+
style: {
|
|
290
|
+
color: theme.palette.primary.contrastText,
|
|
291
|
+
textDecoration: "none",
|
|
292
|
+
cursor: "pointer"
|
|
293
|
+
}
|
|
287
294
|
}, /*#__PURE__*/React.createElement(material.Box, {
|
|
288
295
|
onClick: handleCloseMobileMenu
|
|
289
296
|
//sx={{ width: "100%", height: "100%" }}
|
|
@@ -145,8 +145,9 @@ function ScrollNavbar(_ref) {
|
|
|
145
145
|
}))), /*#__PURE__*/React__default.createElement(Link, {
|
|
146
146
|
href: "/",
|
|
147
147
|
style: {
|
|
148
|
+
color: theme.palette.primary.contrastText,
|
|
148
149
|
textDecoration: "none",
|
|
149
|
-
|
|
150
|
+
cursor: "pointer"
|
|
150
151
|
}
|
|
151
152
|
}, /*#__PURE__*/React__default.createElement(Box, {
|
|
152
153
|
sx: {
|
|
@@ -227,8 +228,9 @@ function ScrollNavbar(_ref) {
|
|
|
227
228
|
}, /*#__PURE__*/React__default.createElement(Link, {
|
|
228
229
|
href: "/",
|
|
229
230
|
style: {
|
|
231
|
+
color: theme.palette.primary.contrastText,
|
|
230
232
|
textDecoration: "none",
|
|
231
|
-
|
|
233
|
+
cursor: "pointer"
|
|
232
234
|
}
|
|
233
235
|
}, /*#__PURE__*/React__default.createElement(Box, {
|
|
234
236
|
sx: {
|
|
@@ -279,7 +281,12 @@ function ScrollNavbar(_ref) {
|
|
|
279
281
|
return /*#__PURE__*/React__default.createElement(Fragment, {
|
|
280
282
|
key: tab.name
|
|
281
283
|
}, /*#__PURE__*/React__default.createElement(Link, {
|
|
282
|
-
href: "#".concat(tab.slug)
|
|
284
|
+
href: "#".concat(tab.slug),
|
|
285
|
+
style: {
|
|
286
|
+
color: theme.palette.primary.contrastText,
|
|
287
|
+
textDecoration: "none",
|
|
288
|
+
cursor: "pointer"
|
|
289
|
+
}
|
|
283
290
|
}, /*#__PURE__*/React__default.createElement(Box, {
|
|
284
291
|
onClick: handleCloseMobileMenu
|
|
285
292
|
//sx={{ width: "100%", height: "100%" }}
|
package/package.json
CHANGED
|
@@ -204,7 +204,14 @@ function ScrollNavbar({ data }: { readonly data: NavbarProps }) {
|
|
|
204
204
|
)}
|
|
205
205
|
|
|
206
206
|
{/* small screen logo and site title */}
|
|
207
|
-
<Link
|
|
207
|
+
<Link
|
|
208
|
+
href="/"
|
|
209
|
+
style={{
|
|
210
|
+
color: theme.palette.primary.contrastText,
|
|
211
|
+
textDecoration: "none",
|
|
212
|
+
cursor: "pointer",
|
|
213
|
+
}}
|
|
214
|
+
>
|
|
208
215
|
<Box
|
|
209
216
|
sx={{ display: { xs: "flex", md: "none" }, alignItems: "center" }}
|
|
210
217
|
>
|
|
@@ -268,7 +275,11 @@ function ScrollNavbar({ data }: { readonly data: NavbarProps }) {
|
|
|
268
275
|
>
|
|
269
276
|
<Link
|
|
270
277
|
href="/"
|
|
271
|
-
style={{
|
|
278
|
+
style={{
|
|
279
|
+
color: theme.palette.primary.contrastText,
|
|
280
|
+
textDecoration: "none",
|
|
281
|
+
cursor: "pointer",
|
|
282
|
+
}}
|
|
272
283
|
>
|
|
273
284
|
<Box
|
|
274
285
|
sx={{
|
|
@@ -327,7 +338,14 @@ function ScrollNavbar({ data }: { readonly data: NavbarProps }) {
|
|
|
327
338
|
{tabs.map((tab: TabInfo) => {
|
|
328
339
|
return (
|
|
329
340
|
<Fragment key={tab.name}>
|
|
330
|
-
<Link
|
|
341
|
+
<Link
|
|
342
|
+
href={`#${tab.slug}`}
|
|
343
|
+
style={{
|
|
344
|
+
color: theme.palette.primary.contrastText,
|
|
345
|
+
textDecoration: "none",
|
|
346
|
+
cursor: "pointer",
|
|
347
|
+
}}
|
|
348
|
+
>
|
|
331
349
|
<Box
|
|
332
350
|
onClick={handleCloseMobileMenu}
|
|
333
351
|
//sx={{ width: "100%", height: "100%" }}
|