hds-web 1.14.0 → 1.14.2
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
@@ -57,7 +57,7 @@ export default function NavCard(props) {
|
|
57
57
|
}
|
58
58
|
<div className='mt-8'>
|
59
59
|
{
|
60
|
-
showVideo ? (
|
60
|
+
showVideo && tabContent.video_url ? (
|
61
61
|
<video
|
62
62
|
id="hero_vid"
|
63
63
|
controls={true}
|
@@ -90,6 +90,15 @@ export default function NavCard(props) {
|
|
90
90
|
)
|
91
91
|
}
|
92
92
|
|
93
|
+
{
|
94
|
+
tabContent.img_url && (
|
95
|
+
<div>
|
96
|
+
<img src={tabContent.img_url} alt="Illustration" className=' max-w-[583px] rounded-2xl' />
|
97
|
+
|
98
|
+
</div>
|
99
|
+
)
|
100
|
+
}
|
101
|
+
|
93
102
|
</div>
|
94
103
|
</>
|
95
104
|
)
|
@@ -13,72 +13,8 @@ export default function NavTabCard(props){
|
|
13
13
|
</div>
|
14
14
|
<div className="max-w-[583px] pt-8 tb-l:pt-0">
|
15
15
|
<NavCard
|
16
|
-
navTabs={
|
17
|
-
|
18
|
-
current: '[Circular]',
|
19
|
-
href: '',
|
20
|
-
name: 'Performance'
|
21
|
-
},
|
22
|
-
{
|
23
|
-
current: '[Circular]',
|
24
|
-
href: '',
|
25
|
-
name: 'Company'
|
26
|
-
},
|
27
|
-
{
|
28
|
-
current: '[Circular]',
|
29
|
-
href: '',
|
30
|
-
name: 'Authorization'
|
31
|
-
},
|
32
|
-
{
|
33
|
-
current: '[Circular]',
|
34
|
-
href: '',
|
35
|
-
name: 'Observability'
|
36
|
-
},
|
37
|
-
{
|
38
|
-
current: '[Circular]',
|
39
|
-
href: '',
|
40
|
-
name: 'API Security'
|
41
|
-
}
|
42
|
-
]}
|
43
|
-
tabContent={{
|
44
|
-
'API Security': {
|
45
|
-
img_url: 'https://res.cloudinary.com/dh8fp23nd/image/upload/v1683311269/hasura-con-2023/hascon23_fallback_homepage_tg5sgv.jpg',
|
46
|
-
subTitle: 'Hasura simplifies data access and reduces latency for optimizing performance via a Haskell core, JIT query compiler, predicate pushdown, and application-level caching out of the box.',
|
47
|
-
title: '5Get blazing-fast APIs without the extra work',
|
48
|
-
video_poster: 'https://res.cloudinary.com/dh8fp23nd/image/upload/v1683311269/hasura-con-2023/hascon23_fallback_homepage_tg5sgv.jpg',
|
49
|
-
video_url: 'https://res.cloudinary.com/dh8fp23nd/video/upload/v1683307555/hasura-con-2023/tg_hascon23_homepage_ue29jn.mp4'
|
50
|
-
},
|
51
|
-
Authorization: {
|
52
|
-
img_url: 'https://res.cloudinary.com/dh8fp23nd/image/upload/v1683311269/hasura-con-2023/hascon23_fallback_homepage_tg5sgv.jpg',
|
53
|
-
subTitle: 'Hasura simplifies data access and reduces latency for optimizing performance via a Haskell core, JIT query compiler, predicate pushdown, and application-level caching out of the box.',
|
54
|
-
title: '3Get blazing-fast APIs without the extra work',
|
55
|
-
video_poster: 'https://res.cloudinary.com/dh8fp23nd/image/upload/v1683311269/hasura-con-2023/hascon23_fallback_homepage_tg5sgv.jpg',
|
56
|
-
video_url: 'https://res.cloudinary.com/dh8fp23nd/video/upload/v1683307555/hasura-con-2023/tg_hascon23_homepage_ue29jn.mp4'
|
57
|
-
},
|
58
|
-
Company: {
|
59
|
-
|
60
|
-
img_url: 'https://res.cloudinary.com/dh8fp23nd/image/upload/v1683311269/hasura-con-2023/hascon23_fallback_homepage_tg5sgv.jpg',
|
61
|
-
subTitle: 'Hasura simplifies data access and reduces latency for optimizing performance via a Haskell core, JIT query compiler, predicate pushdown, and application-level caching out of the box.',
|
62
|
-
title: '2Get blazing-fast APIs without the extra work',
|
63
|
-
video_poster: 'https://res.cloudinary.com/dh8fp23nd/image/upload/v1683311269/hasura-con-2023/hascon23_fallback_homepage_tg5sgv.jpg',
|
64
|
-
video_url: 'https://res.cloudinary.com/dh8fp23nd/video/upload/v1683307555/hasura-con-2023/tg_hascon23_homepage_ue29jn.mp4'
|
65
|
-
},
|
66
|
-
Observability: {
|
67
|
-
img_url: 'https://res.cloudinary.com/dh8fp23nd/image/upload/v1683311269/hasura-con-2023/hascon23_fallback_homepage_tg5sgv.jpg',
|
68
|
-
subTitle: 'Hasura simplifies data access and reduces latency for optimizing performance via a Haskell core, JIT query compiler, predicate pushdown, and application-level caching out of the box.',
|
69
|
-
title: '4Get blazing-fast APIs without the extra work',
|
70
|
-
video_poster: 'https://res.cloudinary.com/dh8fp23nd/image/upload/v1683311269/hasura-con-2023/hascon23_fallback_homepage_tg5sgv.jpg',
|
71
|
-
video_url: 'https://res.cloudinary.com/dh8fp23nd/video/upload/v1683307555/hasura-con-2023/tg_hascon23_homepage_ue29jn.mp4'
|
72
|
-
},
|
73
|
-
Performance: {
|
74
|
-
img_url: 'https://res.cloudinary.com/dh8fp23nd/image/upload/v1683311269/hasura-con-2023/hascon23_fallback_homepage_tg5sgv.jpg',
|
75
|
-
readMore_cta: 'Read More About Performance',
|
76
|
-
subTitle: 'Hasura simplifies data access and reduces latency for optimizing performance via a Haskell core, JIT query compiler, predicate pushdown, and application-level caching out of the box.',
|
77
|
-
title: '1Get blazing-fast APIs without the extra work',
|
78
|
-
video_poster: 'https://res.cloudinary.com/dh8fp23nd/image/upload/v1683311269/hasura-con-2023/hascon23_fallback_homepage_tg5sgv.jpg',
|
79
|
-
video_url: 'https://res.cloudinary.com/dh8fp23nd/video/upload/v1683307555/hasura-con-2023/tg_hascon23_homepage_ue29jn.mp4'
|
80
|
-
}
|
81
|
-
}}
|
16
|
+
navTabs={props.navTabs}
|
17
|
+
tabContent={props.tabContent}
|
82
18
|
/>
|
83
19
|
</div>
|
84
20
|
</div>
|
@@ -89,5 +25,76 @@ NavTabCard.defaultProps={
|
|
89
25
|
title:'Build any supergraph topology',
|
90
26
|
description: `Build a supergraph using Hasura, use Hasura to implement a GraphQL gateway pattern or use Hasura to federate existing resources into another supergraph. Hasura allows you to shape any supergraph topology that works for you.
|
91
27
|
|
92
|
-
Check out some of the Federation architecture patterns implemented by our users
|
28
|
+
Check out some of the Federation architecture patterns implemented by our users.`,
|
29
|
+
|
30
|
+
navTabs:
|
31
|
+
[
|
32
|
+
{
|
33
|
+
current: '[Circular]',
|
34
|
+
href: '',
|
35
|
+
name: 'Performance'
|
36
|
+
},
|
37
|
+
{
|
38
|
+
current: '[Circular]',
|
39
|
+
href: '',
|
40
|
+
name: 'Company'
|
41
|
+
},
|
42
|
+
{
|
43
|
+
current: '[Circular]',
|
44
|
+
href: '',
|
45
|
+
name: 'Authorization'
|
46
|
+
},
|
47
|
+
{
|
48
|
+
current: '[Circular]',
|
49
|
+
href: '',
|
50
|
+
name: 'Observability'
|
51
|
+
},
|
52
|
+
{
|
53
|
+
current: '[Circular]',
|
54
|
+
href: '',
|
55
|
+
name: 'API Security'
|
56
|
+
}
|
57
|
+
],
|
58
|
+
|
59
|
+
tabContent: {
|
60
|
+
'API Security': {
|
61
|
+
img_url: 'https://res.cloudinary.com/dh8fp23nd/image/upload/v1683311269/hasura-con-2023/hascon23_fallback_homepage_tg5sgv.jpg',
|
62
|
+
subTitle: 'Hasura simplifies data access and reduces latency for optimizing performance via a Haskell core, JIT query compiler, predicate pushdown, and application-level caching out of the box.',
|
63
|
+
title: '5Get blazing-fast APIs without the extra work',
|
64
|
+
video_poster: 'https://res.cloudinary.com/dh8fp23nd/image/upload/v1683311269/hasura-con-2023/hascon23_fallback_homepage_tg5sgv.jpg',
|
65
|
+
video_url: 'https://res.cloudinary.com/dh8fp23nd/video/upload/v1683307555/hasura-con-2023/tg_hascon23_homepage_ue29jn.mp4'
|
66
|
+
},
|
67
|
+
Authorization: {
|
68
|
+
img_url: 'https://res.cloudinary.com/dh8fp23nd/image/upload/v1683311269/hasura-con-2023/hascon23_fallback_homepage_tg5sgv.jpg',
|
69
|
+
subTitle: 'Hasura simplifies data access and reduces latency for optimizing performance via a Haskell core, JIT query compiler, predicate pushdown, and application-level caching out of the box.',
|
70
|
+
title: '3Get blazing-fast APIs without the extra work',
|
71
|
+
video_poster: 'https://res.cloudinary.com/dh8fp23nd/image/upload/v1683311269/hasura-con-2023/hascon23_fallback_homepage_tg5sgv.jpg',
|
72
|
+
video_url: 'https://res.cloudinary.com/dh8fp23nd/video/upload/v1683307555/hasura-con-2023/tg_hascon23_homepage_ue29jn.mp4'
|
73
|
+
},
|
74
|
+
Company: {
|
75
|
+
|
76
|
+
img_url: 'https://res.cloudinary.com/dh8fp23nd/image/upload/v1683311269/hasura-con-2023/hascon23_fallback_homepage_tg5sgv.jpg',
|
77
|
+
subTitle: 'Hasura simplifies data access and reduces latency for optimizing performance via a Haskell core, JIT query compiler, predicate pushdown, and application-level caching out of the box.',
|
78
|
+
title: '2Get blazing-fast APIs without the extra work',
|
79
|
+
video_poster: 'https://res.cloudinary.com/dh8fp23nd/image/upload/v1683311269/hasura-con-2023/hascon23_fallback_homepage_tg5sgv.jpg',
|
80
|
+
video_url: 'https://res.cloudinary.com/dh8fp23nd/video/upload/v1683307555/hasura-con-2023/tg_hascon23_homepage_ue29jn.mp4'
|
81
|
+
},
|
82
|
+
Observability: {
|
83
|
+
img_url: 'https://res.cloudinary.com/dh8fp23nd/image/upload/v1683311269/hasura-con-2023/hascon23_fallback_homepage_tg5sgv.jpg',
|
84
|
+
subTitle: 'Hasura simplifies data access and reduces latency for optimizing performance via a Haskell core, JIT query compiler, predicate pushdown, and application-level caching out of the box.',
|
85
|
+
title: '4Get blazing-fast APIs without the extra work',
|
86
|
+
video_poster: 'https://res.cloudinary.com/dh8fp23nd/image/upload/v1683311269/hasura-con-2023/hascon23_fallback_homepage_tg5sgv.jpg',
|
87
|
+
video_url: 'https://res.cloudinary.com/dh8fp23nd/video/upload/v1683307555/hasura-con-2023/tg_hascon23_homepage_ue29jn.mp4'
|
88
|
+
},
|
89
|
+
Performance: {
|
90
|
+
img_url: 'https://res.cloudinary.com/dh8fp23nd/image/upload/v1683311269/hasura-con-2023/hascon23_fallback_homepage_tg5sgv.jpg',
|
91
|
+
readMore_cta: 'Read More About Performance',
|
92
|
+
subTitle: 'Hasura simplifies data access and reduces latency for optimizing performance via a Haskell core, JIT query compiler, predicate pushdown, and application-level caching out of the box.',
|
93
|
+
title: '1Get blazing-fast APIs without the extra work',
|
94
|
+
video_poster: 'https://res.cloudinary.com/dh8fp23nd/image/upload/v1683311269/hasura-con-2023/hascon23_fallback_homepage_tg5sgv.jpg',
|
95
|
+
video_url: 'https://res.cloudinary.com/dh8fp23nd/video/upload/v1683307555/hasura-con-2023/tg_hascon23_homepage_ue29jn.mp4'
|
96
|
+
}
|
97
|
+
}
|
98
|
+
|
99
|
+
|
93
100
|
}
|