hds-web 1.25.7 → 1.25.9
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.
package/package.json
CHANGED
@@ -11,51 +11,84 @@ export default function FeedbackCard(props) {
|
|
11
11
|
logoBg = HDSColor(props.logoBg);
|
12
12
|
}
|
13
13
|
return (
|
14
|
-
<a
|
14
|
+
<a
|
15
|
+
href={props.caseStudyUrl}
|
16
|
+
className="group bg-neutral-0 rounded-3xl shadow p-6 tb-l:p-10 grid mb-6 db-s:mb-0 last:mb-0 flex-1 max-w-[920px] mx-auto flex-col transition-all duration-300 ease-in-out hover:shadow-lg hover:translate-y-0.5"
|
17
|
+
>
|
15
18
|
<div className=" self-start">
|
16
19
|
<ProfileAvatar
|
17
20
|
name={props.speakerName}
|
18
|
-
size=
|
21
|
+
size="xl"
|
19
22
|
designation={props.speakerDesignation}
|
20
23
|
imageUrl={props.speakerImgUrl}
|
21
24
|
avatarVariant="circle"
|
22
25
|
avatarType="secondary"
|
23
26
|
/>
|
24
|
-
<div className={
|
25
|
-
<Typography textStyle=
|
27
|
+
<div className={props.dividerClass ? "py-8" : "py-6"}>
|
28
|
+
<Typography textStyle="sub2" className="text-neutral-600">
|
29
|
+
{props.description}
|
30
|
+
</Typography>
|
26
31
|
</div>
|
27
32
|
</div>
|
28
33
|
<div className=" self-end">
|
29
|
-
{
|
30
|
-
props.dividerClass
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
34
|
+
{props.dividerClass && (
|
35
|
+
<div className={`${HDSColor(props.dividerClass)} mb-2`}></div>
|
36
|
+
)}
|
37
|
+
<div
|
38
|
+
className={
|
39
|
+
"mb-s:flex items-start" + (props.dividerClass ? " pt-6" : "mt-0")
|
40
|
+
}
|
41
|
+
>
|
42
|
+
<div
|
43
|
+
className={
|
44
|
+
"border border-neutral-150 p-2 flex items-center justify-center rounded-2xl " +
|
45
|
+
logoBg +
|
46
|
+
(props.dividerClass
|
47
|
+
? " w-[72px] h-[56px] min-w-[72px]"
|
48
|
+
: " w-[112px] h-[90px] min-w-[112px] ")
|
49
|
+
}
|
50
|
+
>
|
51
|
+
<img
|
52
|
+
className="max-h-[20px]"
|
53
|
+
src={props.brandImgUrl}
|
54
|
+
alt={props.brandImgAlt}
|
55
|
+
/>
|
37
56
|
</div>
|
38
|
-
<div
|
39
|
-
|
57
|
+
<div
|
58
|
+
className={
|
59
|
+
"pt-4 mb-s:pt-0 " +
|
60
|
+
(props.dividerClass ? "mb-s:pl-6" : "mb-s:pl-8")
|
61
|
+
}
|
62
|
+
>
|
63
|
+
<Typography
|
64
|
+
textStyle={props.dividerClass ? "body2" : "body1"}
|
65
|
+
className="text-neutral-600 pb-1"
|
66
|
+
>
|
67
|
+
{props.blurb}
|
68
|
+
</Typography>
|
40
69
|
<div className="flex">
|
41
70
|
<HDSButton
|
42
|
-
label=
|
43
|
-
type=
|
44
|
-
leftIconVariant=
|
45
|
-
rightIconVariant=
|
46
|
-
state=
|
47
|
-
size=
|
71
|
+
label={props.ctaText}
|
72
|
+
type="secondaryLink"
|
73
|
+
leftIconVariant="none"
|
74
|
+
rightIconVariant="none"
|
75
|
+
state="default"
|
76
|
+
size="md"
|
48
77
|
rightAnimatedArrow={true}
|
49
|
-
rightAnimatedArrowColor=
|
50
|
-
className=
|
51
|
-
btnTextColorClass=
|
52
|
-
btnTextHoverClass=
|
53
|
-
animatedHoverStroke=
|
78
|
+
rightAnimatedArrowColor="#3970FD"
|
79
|
+
className="mt-0 justify-start"
|
80
|
+
btnTextColorClass="text-blue-500"
|
81
|
+
btnTextHoverClass="hover:text-blue-500"
|
82
|
+
animatedHoverStroke="group-hover:stroke-blue-500"
|
54
83
|
/>
|
55
84
|
</div>
|
56
85
|
</div>
|
57
86
|
</div>
|
58
87
|
</div>
|
59
88
|
</a>
|
60
|
-
)
|
89
|
+
);
|
61
90
|
}
|
91
|
+
|
92
|
+
FeedbackCard.defaultProps = {
|
93
|
+
ctaText: "Read the case study",
|
94
|
+
};
|