umwd-components 0.1.165 → 0.1.166
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.
|
@@ -80,6 +80,7 @@ function PersonaliaSection(_ref) {
|
|
|
80
80
|
justifyContent: "center",
|
|
81
81
|
alignItems: "stretch"
|
|
82
82
|
}, ((_partner$photo = partner.photo) === null || _partner$photo === void 0 ? void 0 : _partner$photo.url) && /*#__PURE__*/React.createElement(StrapiImage.StrapiImage, {
|
|
83
|
+
id: partner.photo.id,
|
|
83
84
|
src: partner.photo.url,
|
|
84
85
|
alt: partner.photo.alternativeText,
|
|
85
86
|
width: 200,
|
|
@@ -94,7 +95,7 @@ function PersonaliaSection(_ref) {
|
|
|
94
95
|
href: link.url,
|
|
95
96
|
key: link.id,
|
|
96
97
|
sx: {
|
|
97
|
-
color: theme.palette.
|
|
98
|
+
color: theme.palette.primary.light
|
|
98
99
|
}
|
|
99
100
|
}, link.text);
|
|
100
101
|
}), partner.linkedIn && /*#__PURE__*/React.createElement(material.Button, {
|
|
@@ -102,14 +103,18 @@ function PersonaliaSection(_ref) {
|
|
|
102
103
|
startIcon: /*#__PURE__*/React.createElement(iconsMaterial.LinkedIn, null),
|
|
103
104
|
href: partner.linkedIn,
|
|
104
105
|
target: "_blank",
|
|
105
|
-
|
|
106
|
+
sx: {
|
|
107
|
+
color: theme.palette.primary.light
|
|
108
|
+
}
|
|
106
109
|
}, "LinkedIn"), partner.email && /*#__PURE__*/React.createElement(material.Tooltip, {
|
|
107
110
|
title: "".concat(partner.email)
|
|
108
111
|
}, /*#__PURE__*/React.createElement(material.Button, {
|
|
109
112
|
variant: "outlined",
|
|
110
113
|
startIcon: /*#__PURE__*/React.createElement(iconsMaterial.Email, null),
|
|
111
114
|
href: "mailto:".concat(partner.email),
|
|
112
|
-
|
|
115
|
+
sx: {
|
|
116
|
+
color: theme.palette.primary.light
|
|
117
|
+
}
|
|
113
118
|
}, "Email")))))));
|
|
114
119
|
})));
|
|
115
120
|
}
|
|
@@ -78,6 +78,7 @@ function PersonaliaSection(_ref) {
|
|
|
78
78
|
justifyContent: "center",
|
|
79
79
|
alignItems: "stretch"
|
|
80
80
|
}, ((_partner$photo = partner.photo) === null || _partner$photo === void 0 ? void 0 : _partner$photo.url) && /*#__PURE__*/React__default.createElement(StrapiImage, {
|
|
81
|
+
id: partner.photo.id,
|
|
81
82
|
src: partner.photo.url,
|
|
82
83
|
alt: partner.photo.alternativeText,
|
|
83
84
|
width: 200,
|
|
@@ -92,7 +93,7 @@ function PersonaliaSection(_ref) {
|
|
|
92
93
|
href: link.url,
|
|
93
94
|
key: link.id,
|
|
94
95
|
sx: {
|
|
95
|
-
color: theme.palette.
|
|
96
|
+
color: theme.palette.primary.light
|
|
96
97
|
}
|
|
97
98
|
}, link.text);
|
|
98
99
|
}), partner.linkedIn && /*#__PURE__*/React__default.createElement(Button, {
|
|
@@ -100,14 +101,18 @@ function PersonaliaSection(_ref) {
|
|
|
100
101
|
startIcon: /*#__PURE__*/React__default.createElement(LinkedIn, null),
|
|
101
102
|
href: partner.linkedIn,
|
|
102
103
|
target: "_blank",
|
|
103
|
-
|
|
104
|
+
sx: {
|
|
105
|
+
color: theme.palette.primary.light
|
|
106
|
+
}
|
|
104
107
|
}, "LinkedIn"), partner.email && /*#__PURE__*/React__default.createElement(Tooltip, {
|
|
105
108
|
title: "".concat(partner.email)
|
|
106
109
|
}, /*#__PURE__*/React__default.createElement(Button, {
|
|
107
110
|
variant: "outlined",
|
|
108
111
|
startIcon: /*#__PURE__*/React__default.createElement(Email, null),
|
|
109
112
|
href: "mailto:".concat(partner.email),
|
|
110
|
-
|
|
113
|
+
sx: {
|
|
114
|
+
color: theme.palette.primary.light
|
|
115
|
+
}
|
|
111
116
|
}, "Email")))))));
|
|
112
117
|
})));
|
|
113
118
|
}
|
package/package.json
CHANGED
|
@@ -21,7 +21,7 @@ import { SxProps, Theme } from "@mui/material/styles";
|
|
|
21
21
|
type MaxWidth = "xs" | "sm" | "md" | "lg" | "xl" | false | undefined;
|
|
22
22
|
|
|
23
23
|
interface ImageProps {
|
|
24
|
-
id:
|
|
24
|
+
id: string; // because the next Image ultimately requires a string
|
|
25
25
|
url: string;
|
|
26
26
|
alternativeText: string;
|
|
27
27
|
style: React.CSSProperties;
|
|
@@ -107,6 +107,7 @@ export function PersonaliaSection({
|
|
|
107
107
|
>
|
|
108
108
|
{partner.photo?.url && (
|
|
109
109
|
<StrapiImage
|
|
110
|
+
id={partner.photo.id}
|
|
110
111
|
src={partner.photo.url}
|
|
111
112
|
alt={partner.photo.alternativeText}
|
|
112
113
|
width={200}
|
|
@@ -124,7 +125,7 @@ export function PersonaliaSection({
|
|
|
124
125
|
<MuiLink
|
|
125
126
|
href={link.url}
|
|
126
127
|
key={link.id}
|
|
127
|
-
sx={{ color: theme.palette.
|
|
128
|
+
sx={{ color: theme.palette.primary.light }}
|
|
128
129
|
>
|
|
129
130
|
{link.text}
|
|
130
131
|
</MuiLink>
|
|
@@ -136,7 +137,7 @@ export function PersonaliaSection({
|
|
|
136
137
|
startIcon={<LinkedIn />}
|
|
137
138
|
href={partner.linkedIn}
|
|
138
139
|
target="_blank"
|
|
139
|
-
color
|
|
140
|
+
sx={{ color: theme.palette.primary.light }}
|
|
140
141
|
>
|
|
141
142
|
LinkedIn
|
|
142
143
|
</Button>
|
|
@@ -147,7 +148,7 @@ export function PersonaliaSection({
|
|
|
147
148
|
variant="outlined"
|
|
148
149
|
startIcon={<Email />}
|
|
149
150
|
href={`mailto:${partner.email}`}
|
|
150
|
-
color
|
|
151
|
+
sx={{ color: theme.palette.primary.light }}
|
|
151
152
|
>
|
|
152
153
|
Email
|
|
153
154
|
</Button>
|