hds-web 1.7.9 → 1.8.1
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
@@ -483,54 +483,7 @@ V3Header.defaultProps = {
|
|
483
483
|
},
|
484
484
|
]
|
485
485
|
},
|
486
|
-
|
487
|
-
|
488
|
-
title: 'Pricing',
|
489
|
-
titleDropdown: [
|
490
|
-
{
|
491
|
-
name: 'Analytics',
|
492
|
-
description: 'Get a better understanding of where your traffic is coming from.',
|
493
|
-
href: '#',
|
494
|
-
icon: 'home03',
|
495
|
-
},
|
496
|
-
{
|
497
|
-
name: 'Engagement',
|
498
|
-
description: 'Speak directly to your customers in a more meaningful way.',
|
499
|
-
href: '#',
|
500
|
-
icon: 'home03',
|
501
|
-
},
|
502
|
-
{
|
503
|
-
name: 'Security',
|
504
|
-
description: 'Your customers’ data will be safe and secure.',
|
505
|
-
href: '#',
|
506
|
-
icon: 'home03'
|
507
|
-
},
|
508
|
-
]
|
509
|
-
},
|
510
|
-
{
|
511
|
-
|
512
|
-
title: 'Pricing',
|
513
|
-
titleDropdown: [
|
514
|
-
{
|
515
|
-
name: 'Analytics',
|
516
|
-
description: 'Get a better understanding of where your traffic is coming from.',
|
517
|
-
href: '#',
|
518
|
-
icon: 'home03',
|
519
|
-
},
|
520
|
-
{
|
521
|
-
name: 'Engagement',
|
522
|
-
description: 'Speak directly to your customers in a more meaningful way.',
|
523
|
-
href: '#',
|
524
|
-
icon: 'home03',
|
525
|
-
},
|
526
|
-
{
|
527
|
-
name: 'Security',
|
528
|
-
description: 'Your customers’ data will be safe and secure.',
|
529
|
-
href: '#',
|
530
|
-
icon: 'home03'
|
531
|
-
},
|
532
|
-
]
|
533
|
-
},
|
486
|
+
|
534
487
|
|
535
488
|
],
|
536
489
|
headerUrl: 'https://hasura.io/'
|
@@ -7,7 +7,7 @@ import ReactMarkdown from "react-markdown";
|
|
7
7
|
|
8
8
|
export default function TextCard(props) {
|
9
9
|
const titleColor = HDSColor(props.title_color);
|
10
|
-
const subtitleColorClass = HDSColor(props.
|
10
|
+
const subtitleColorClass = HDSColor(props.sub_text_color)
|
11
11
|
const currentImgActive = (props.feature_cards_links && props.feature_cards_links[0]?.title) ? props.feature_cards_links[0].title : null;
|
12
12
|
const [imgActive, setImgActive] = useState(currentImgActive);
|
13
13
|
return (
|
@@ -21,7 +21,7 @@ export default function TextCard(props) {
|
|
21
21
|
!props.feature_cards_links && (<Typography textStyle="h3" as="h3" className={`${HDSColor(titleColor)} pb-6`}>{props.title}</Typography>)
|
22
22
|
}
|
23
23
|
{
|
24
|
-
!props.feature_cards_links && props.
|
24
|
+
!props.feature_cards_links && props.sub_title && (<Typography textStyle="sub1" className={`${(subtitleColorClass)} pb-2 -mt-4`}>{props.sub_title}</Typography>)
|
25
25
|
}
|
26
26
|
{
|
27
27
|
props.descriptions && props.descriptions.map((desc, i) => (
|