hds-web 1.13.2 → 1.13.4
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/dist/index.css +2 -2
- package/dist/index.es.css +2 -2
- package/dist/index.es.js +4 -4
- package/dist/index.js +4 -4
- package/package.json +1 -1
- package/src/HDS/components/Cards/Link/link.js +17 -17
- package/src/HDS/components/Hero/h3.js +170 -118
- package/src/HDS/modules/TextCard/textCard.js +6 -1
- package/src/HDS/modules/navCard/index.js +2 -1
- package/src/HDS/modules/navCard/navCard.js +90 -52
- package/src/HDS/modules/navCard/navTabCard.js +93 -0
- package/src/styles/tailwind.css +29 -0
@@ -0,0 +1,93 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { Typography} from '../../foundation/Typography';
|
3
|
+
import NavCard from './navCard';
|
4
|
+
|
5
|
+
export default function NavTabCard(props){
|
6
|
+
return (
|
7
|
+
<div className="flex tb-l:flex-row flex-col justify-between">
|
8
|
+
<div>
|
9
|
+
<Typography textStyle='h4' className='text-neutral-1000'>{props.title}</Typography>
|
10
|
+
<Typography textStyle='body1' className='mt-4 text-neutral-700 max-w-[430px]'>
|
11
|
+
{props.description}
|
12
|
+
</Typography>
|
13
|
+
</div>
|
14
|
+
<div className="max-w-[583px] pt-8 tb-l:pt-0">
|
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
|
+
}}
|
82
|
+
/>
|
83
|
+
</div>
|
84
|
+
</div>
|
85
|
+
)
|
86
|
+
}
|
87
|
+
|
88
|
+
NavTabCard.defaultProps={
|
89
|
+
title:'Build any supergraph topology',
|
90
|
+
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
|
+
|
92
|
+
Check out some of the Federation architecture patterns implemented by our users.`
|
93
|
+
}
|
package/src/styles/tailwind.css
CHANGED
@@ -1937,6 +1937,14 @@ select{
|
|
1937
1937
|
max-width: min-content;
|
1938
1938
|
}
|
1939
1939
|
|
1940
|
+
.max-w-\[430px\]{
|
1941
|
+
max-width: 430px;
|
1942
|
+
}
|
1943
|
+
|
1944
|
+
.max-w-\[583px\]{
|
1945
|
+
max-width: 583px;
|
1946
|
+
}
|
1947
|
+
|
1940
1948
|
.flex-1{
|
1941
1949
|
flex: 1 1 0%;
|
1942
1950
|
}
|
@@ -1992,6 +2000,12 @@ select{
|
|
1992
2000
|
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
1993
2001
|
}
|
1994
2002
|
|
2003
|
+
.-translate-y-1\/2{
|
2004
|
+
--tw-translate-y: -50%;
|
2005
|
+
-webkit-transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
2006
|
+
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
2007
|
+
}
|
2008
|
+
|
1995
2009
|
.translate-x-0{
|
1996
2010
|
--tw-translate-x: 0px;
|
1997
2011
|
-webkit-transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
@@ -7219,6 +7233,11 @@ select{
|
|
7219
7233
|
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
7220
7234
|
}
|
7221
7235
|
|
7236
|
+
.shadow-neutral-1000{
|
7237
|
+
--tw-shadow-color: #000615;
|
7238
|
+
--tw-shadow: var(--tw-shadow-colored);
|
7239
|
+
}
|
7240
|
+
|
7222
7241
|
.outline{
|
7223
7242
|
outline-style: solid;
|
7224
7243
|
}
|
@@ -8615,6 +8634,12 @@ select{
|
|
8615
8634
|
border-top-color: rgb(13 65 198 / var(--tw-border-opacity));
|
8616
8635
|
}
|
8617
8636
|
|
8637
|
+
.after\:bg-blue-700::after{
|
8638
|
+
content: var(--tw-content);
|
8639
|
+
--tw-bg-opacity: 1;
|
8640
|
+
background-color: rgb(13 65 198 / var(--tw-bg-opacity));
|
8641
|
+
}
|
8642
|
+
|
8618
8643
|
.after\:bg-gradient-to-r::after{
|
8619
8644
|
content: var(--tw-content);
|
8620
8645
|
background-image: linear-gradient(to right, var(--tw-gradient-stops));
|
@@ -10835,6 +10860,10 @@ select{
|
|
10835
10860
|
padding-left: 2rem;
|
10836
10861
|
}
|
10837
10862
|
|
10863
|
+
.tb-l\:pt-0{
|
10864
|
+
padding-top: 0px;
|
10865
|
+
}
|
10866
|
+
|
10838
10867
|
.tb-l\:text-left{
|
10839
10868
|
text-align: left;
|
10840
10869
|
}
|