hds-web 1.8.8 → 1.8.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.
@@ -54,7 +54,7 @@ const socialShare = [
54
54
  },
55
55
  ]
56
56
 
57
- export default function V3Header(props) {
57
+ export default function V3Footer(props) {
58
58
  const [isError, setIsError] = useState(false);
59
59
  const [isItems, setIsItems] = useState(null);
60
60
  useEffect(() => {
@@ -118,3 +118,187 @@ export default function V3Header(props) {
118
118
  </div>
119
119
  )
120
120
  }
121
+
122
+
123
+ V3Footer.defaultProps = {
124
+ brandUrl: 'https://res.cloudinary.com/dh8fp23nd/image/upload/v1686659126/website%20v3/hasura-primary_y9cdnn.svg',
125
+ brandAlt: 'Hasura',
126
+ brandLink: 'https://hasura.io/',
127
+ footerLinks: [
128
+ {
129
+ title: 'Platform',
130
+ links: [
131
+ {
132
+ linkText: 'Hasura CE Edition',
133
+ linkUrl: 'https://hasura.io/opensource/',
134
+ },
135
+ {
136
+ linkText: 'Hasura EE',
137
+ linkUrl: 'https://hasura.io/enterprise/',
138
+ },
139
+ {
140
+ linkText: 'Hasura Cloud',
141
+ linkUrl: 'https://hasura.io/cloud/',
142
+ },
143
+ {
144
+ linkText: 'Pricing',
145
+ linkUrl: 'https://hasura.io/pricing/',
146
+ },
147
+ ]
148
+ },
149
+ {
150
+ title: 'Capabilities',
151
+ links: [
152
+ {
153
+ linkText: 'Performance',
154
+ linkUrl: 'https://hasura.io/product/performance/',
155
+ },
156
+ {
157
+ linkText: 'Instant API',
158
+ linkUrl: 'https://hasura.io/product/instant-api/',
159
+ },
160
+ {
161
+ linkText: 'Authorization',
162
+ linkUrl: 'https://hasura.io/product/authorization/',
163
+ },
164
+ {
165
+ linkText: 'API Security',
166
+ linkUrl: 'https://hasura.io/product/api-security/',
167
+ },
168
+ {
169
+ linkText: 'Federation',
170
+ linkUrl: 'https://hasura.io/product/federation/',
171
+ },
172
+ {
173
+ linkText: 'Observability',
174
+ linkUrl: 'https://hasura.io/product/observability/',
175
+ },
176
+ ]
177
+ },
178
+ {
179
+ title: 'Build',
180
+ links: [
181
+ {
182
+ linkText: 'Docs',
183
+ linkUrl: 'https://hasura.io/docs/latest/index/',
184
+ },
185
+ {
186
+ linkText: 'Hasura Hub',
187
+ linkUrl: 'https://hasura.io/hub/',
188
+ },
189
+ // {
190
+ // linkText: 'GraphQL Hub',
191
+ // linkUrl: '#',
192
+ // },
193
+ // {
194
+ // linkText: 'Guides',
195
+ // linkUrl: '#',
196
+ // },
197
+ {
198
+ linkText: 'Changelog',
199
+ linkUrl: 'https://github.com/hasura/graphql-engine/releases/',
200
+ },
201
+ {
202
+ linkText: 'GraphiQL',
203
+ linkUrl: 'https://cloud.hasura.io/public/graphiql',
204
+ },
205
+ ]
206
+ },
207
+ {
208
+ title: 'Learn',
209
+ links: [
210
+ {
211
+ linkText: 'Blog',
212
+ linkUrl: 'https://hasura.io/blog/',
213
+ },
214
+ // {
215
+ // linkText: 'Tech Talks',
216
+ // linkUrl: '#',
217
+ // },
218
+ {
219
+ linkText: 'Tutorials',
220
+ linkUrl: 'https://hasura.io/learn/',
221
+ },
222
+ {
223
+ linkText: 'Events',
224
+ linkUrl: 'https://hasura.io/events/',
225
+ },
226
+ ]
227
+ },
228
+ {
229
+ title: 'Company',
230
+ links: [
231
+ {
232
+ linkText: 'Our Story',
233
+ linkUrl: 'https://hasura.io/about/',
234
+ },
235
+ // {
236
+ // linkText: 'Newsroom',
237
+ // linkUrl: '#',
238
+ // },
239
+ {
240
+ linkText: 'Careers',
241
+ linkUrl: 'https://hasura.io/careers/',
242
+ },
243
+ // {
244
+ // linkText: 'Partners',
245
+ // linkUrl: '#',
246
+ // },
247
+ {
248
+ linkText: 'Legal',
249
+ linkUrl: 'https://hasura.io/legal/',
250
+ },
251
+ {
252
+ linkText: 'Brand',
253
+ linkUrl: 'https://hasura.io/brand/',
254
+ },
255
+ ]
256
+ },
257
+ {
258
+ title: 'Connect',
259
+ links: [
260
+ {
261
+ linkText: 'Community',
262
+ linkUrl: 'https://hasura.io/community/',
263
+ },
264
+ {
265
+ linkText: 'Discord',
266
+ linkUrl: 'https://discord.com/invite/hasura',
267
+ },
268
+ // {
269
+ // linkText: 'Forum',
270
+ // linkUrl: '#',
271
+ // },
272
+ // {
273
+ // linkText: 'Meetup',
274
+ // linkUrl: '#',
275
+ // },
276
+ // {
277
+ // linkText: 'Support',
278
+ // linkUrl: '#',
279
+ // },
280
+ ]
281
+ },
282
+ {
283
+ title: 'Community',
284
+ links: [
285
+ {
286
+ linkText: 'Docs',
287
+ linkUrl: 'https://hasura.io/docs/latest/index/',
288
+ },
289
+ {
290
+ linkText: 'Help',
291
+ linkUrl: 'https://hasura.io/help/',
292
+ },
293
+ {
294
+ linkText: 'Github',
295
+ linkUrl: 'https://github.com/hasura',
296
+ },
297
+ {
298
+ linkText: 'Contact Sales',
299
+ linkUrl: 'https://hasura.io/contact-us/',
300
+ },
301
+ ]
302
+ },
303
+ ],
304
+ }
@@ -1,3 +1,2 @@
1
1
  export * from './Translations';
2
2
  export * from './Media';
3
- export * from './Sliders'
@@ -14,30 +14,27 @@ export default function TextIconCard(props) {
14
14
  <Typography textStyle="h3" as="h3" className="pb-2 text-neutral-1000">{props.title}</Typography>
15
15
  <Typography textStyle="sub2" className="pb-6 text-neutral-600">{props.description}</Typography>
16
16
  {props.button &&
17
- <div className="flex gap-6 items-center">
18
- {props.button.map((btn, index) => (
19
- <a href={btn.cta_link} key={index} className="flex ">
20
- <HDSButton
21
- label={btn.cta_text}
22
- type={btn.cta_type || 'secondary'}
23
- leftIconVariant='none'
24
- rightIconVariant='none'
25
- state='default'
26
- size='md'
27
- rightAnimatedArrow={true}
28
- rightAnimatedArrowColor={btn.rightAnimatedArrowColor || '#3970FD'}
29
- />
30
- </a>))
31
- }
32
- </div>
17
+ <a href={props.button.cta_link} className="flex ">
18
+ <HDSButton
19
+ label={props.button.cta_text}
20
+ type={props.button.cta_type || 'secondary'}
21
+ leftIconVariant='none'
22
+ rightIconVariant='none'
23
+ state='default'
24
+ size='md'
25
+ rightAnimatedArrow={true}
26
+ rightAnimatedArrowColor={props.button.rightAnimatedArrowColor || '#3970FD'}
27
+ />
28
+ </a>
33
29
  }
30
+
34
31
  </div>
35
32
  <div className="flex-1 pt-14 tb-m:pt-0">
36
33
  {
37
34
  props.iconCards.map((card, index) => (
38
- <div className="tb:pb-10 tb-l:pb-16 last:pb-0 flex" key={index}>
39
- <div className={`${HDSColor(card.iconBg)} w-12 h-12 min-w-[48px] rounded-full flex justify-center items-center mr-5`}>
40
- <Icon height={'h-6 w-6'} variant={card.iconVariant} strokeClass={`${HDSColor(card.iconStrokeClass)}`} />
35
+ <div className="pb-6 tb:pb-10 tb-l:pb-16 last:pb-0 flex" key={index}>
36
+ <div className={`bg-blue-300 w-12 h-12 min-w-[48px] rounded-full flex justify-center items-center mr-5`}>
37
+ <Icon height={'h-6 w-6 stroke-[1.5px]'} variant={((card.iconName) ? card.iconName : 'cube02')} strokeClass='stroke-neutral-1000' />
41
38
  </div>
42
39
  <div>
43
40
  <Typography textStyle="h4" as="h4" className="pb-2 text-neutral-1000">{card.title}</Typography>
@@ -49,4 +46,4 @@ export default function TextIconCard(props) {
49
46
  </div>
50
47
  </div>
51
48
  )
52
- }
49
+ }
@@ -985,6 +985,34 @@ select{
985
985
  left: 410px;
986
986
  }
987
987
 
988
+ .-top-\[190px\]{
989
+ top: -190px;
990
+ }
991
+
992
+ .left-\[170px\]{
993
+ left: 170px;
994
+ }
995
+
996
+ .-top-\[15px\]{
997
+ top: -15px;
998
+ }
999
+
1000
+ .left-\[400px\]{
1001
+ left: 400px;
1002
+ }
1003
+
1004
+ .top-\[15px\]{
1005
+ top: 15px;
1006
+ }
1007
+
1008
+ .top-\[18px\]{
1009
+ top: 18px;
1010
+ }
1011
+
1012
+ .left-\[415px\]{
1013
+ left: 415px;
1014
+ }
1015
+
988
1016
  .isolate{
989
1017
  isolation: isolate;
990
1018
  }
@@ -1566,6 +1594,10 @@ select{
1566
1594
  height: 630px;
1567
1595
  }
1568
1596
 
1597
+ .h-16{
1598
+ height: 4rem;
1599
+ }
1600
+
1569
1601
  .max-h-\[26\.25\]{
1570
1602
  max-height: 26.25;
1571
1603
  }
@@ -1582,6 +1614,14 @@ select{
1582
1614
  max-height: 441px;
1583
1615
  }
1584
1616
 
1617
+ .max-h-\[181px\]{
1618
+ max-height: 181px;
1619
+ }
1620
+
1621
+ .max-h-\[20px\]{
1622
+ max-height: 20px;
1623
+ }
1624
+
1585
1625
  .min-h-\[20px\]{
1586
1626
  min-height: 20px;
1587
1627
  }
@@ -1594,6 +1634,14 @@ select{
1594
1634
  min-height: 441px;
1595
1635
  }
1596
1636
 
1637
+ .min-h-\[258px\]{
1638
+ min-height: 258px;
1639
+ }
1640
+
1641
+ .min-h-\[245px\]{
1642
+ min-height: 245px;
1643
+ }
1644
+
1597
1645
  .w-1\/2{
1598
1646
  width: 50%;
1599
1647
  }
@@ -1764,6 +1812,10 @@ select{
1764
1812
  width: 100vw;
1765
1813
  }
1766
1814
 
1815
+ .w-\[763px\]{
1816
+ width: 763px;
1817
+ }
1818
+
1767
1819
  .min-w-\[11\.5rem\]{
1768
1820
  min-width: 11.5rem;
1769
1821
  }
@@ -1810,6 +1862,10 @@ select{
1810
1862
  min-width: 100%;
1811
1863
  }
1812
1864
 
1865
+ .min-w-\[763px\]{
1866
+ min-width: 763px;
1867
+ }
1868
+
1813
1869
  .max-w-2xl{
1814
1870
  max-width: 42rem;
1815
1871
  }
@@ -1904,6 +1960,26 @@ select{
1904
1960
  max-width: min-content;
1905
1961
  }
1906
1962
 
1963
+ .max-w-\[290px\]{
1964
+ max-width: 290px;
1965
+ }
1966
+
1967
+ .max-w-\[763px\]{
1968
+ max-width: 763px;
1969
+ }
1970
+
1971
+ .max-w-\[400px\]{
1972
+ max-width: 400px;
1973
+ }
1974
+
1975
+ .max-w-\[700px\]{
1976
+ max-width: 700px;
1977
+ }
1978
+
1979
+ .max-w-\[920px\]{
1980
+ max-width: 920px;
1981
+ }
1982
+
1907
1983
  .flex-1{
1908
1984
  flex: 1 1 0%;
1909
1985
  }
@@ -2345,6 +2421,11 @@ select{
2345
2421
  row-gap: 1.5rem;
2346
2422
  }
2347
2423
 
2424
+ .gap-x-10{
2425
+ -webkit-column-gap: 2.5rem;
2426
+ column-gap: 2.5rem;
2427
+ }
2428
+
2348
2429
  .-space-x-1 > :not([hidden]) ~ :not([hidden]){
2349
2430
  --tw-space-x-reverse: 0;
2350
2431
  margin-right: calc(-0.25rem * var(--tw-space-x-reverse));
@@ -6352,6 +6433,10 @@ select{
6352
6433
  padding-top: 200px;
6353
6434
  }
6354
6435
 
6436
+ .pt-7{
6437
+ padding-top: 1.75rem;
6438
+ }
6439
+
6355
6440
  .text-left{
6356
6441
  text-align: left;
6357
6442
  }
@@ -6687,6 +6772,10 @@ select{
6687
6772
  font-style: normal;
6688
6773
  }
6689
6774
 
6775
+ .leading-\[27px\]{
6776
+ line-height: 27px;
6777
+ }
6778
+
6690
6779
  .text-amber-100{
6691
6780
  --tw-text-opacity: 1;
6692
6781
  color: rgb(255 243 212 / var(--tw-text-opacity));
@@ -7339,6 +7428,10 @@ select{
7339
7428
  transition-delay: 300ms;
7340
7429
  }
7341
7430
 
7431
+ .delay-200{
7432
+ transition-delay: 200ms;
7433
+ }
7434
+
7342
7435
  .duration-100{
7343
7436
  transition-duration: 100ms;
7344
7437
  }
@@ -10705,6 +10798,10 @@ select{
10705
10798
  margin-top: 68px;
10706
10799
  }
10707
10800
 
10801
+ .db-s\:mb-0{
10802
+ margin-bottom: 0px;
10803
+ }
10804
+
10708
10805
  .db-s\:flex{
10709
10806
  display: flex;
10710
10807
  }
@@ -1 +0,0 @@
1
- export { default as ScrollSlider } from './scrollSlider';
@@ -1,134 +0,0 @@
1
- import React, { useState } from 'react';
2
- import { VideoCard } from "../../components/Cards/VideoCard";
3
- import { HomepageCarousel2, CarouselCard } from '../../components/Carousels';
4
-
5
-
6
- const SideCard = () => (
7
- <div className='bg-green-500 w-[300px] flex flex-col items-center justify-between rounded-3xl max-h-[338px]'>
8
- <div className='w-[300px] flex justify-center'>
9
- <img src='https://res.cloudinary.com/dh8fp23nd/image/upload/v1686737531/hasura-design-system/icons/optum_zn0bhw.png' alt='imgb' className='p-5 ' />
10
- </div>
11
- <div className='w-[300px] flex justify-center'>
12
- <img src='https://res.cloudinary.com/dh8fp23nd/image/upload/v1685596743/website%20v3/capabilities-pre-footer_qxqlon.png' alt='imga' className='p-2 w-[194px]' />
13
- </div>
14
- </div>
15
- )
16
-
17
- const carouselItems = [
18
- {
19
- name: "John Smith",
20
- designation: "CEO",
21
- imageUrl: "https://images.unsplash.com/photo-1503023345310-bd7c1de61c7d?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxzZWFyY2h8Mnx8aHVtYW58ZW58MHx8MHx8&w=1000&q=80",
22
- size: 'w-full'
23
- },
24
- {
25
- name: "Jane Doe",
26
- designation: "CTO",
27
- imageUrl: "https://images.unsplash.com/photo-1503023345310-bd7c1de61c7d?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxzZWFyY2h8Mnx8aHVtYW58ZW58MHx8MHx8&w=1000&q=80",
28
- size: 'w-full'
29
- },
30
- {
31
- name: "Bob Johnson",
32
- designation: "COO",
33
- imageUrl: "https://images.unsplash.com/photo-1503023345310-bd7c1de61c7d?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxzZWFyY2h8Mnx8aHVtYW58ZW58MHx8MHx8&w=1000&q=80",
34
- size: 'w-full'
35
- },
36
- {
37
- name: "Gourav",
38
- designation: "SDE",
39
- imageUrl: "https://images.unsplash.com/photo-1503023345310-bd7c1de61c7d?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxzZWFyY2h8Mnx8aHVtYW58ZW58MHx8MHx8&w=1000&q=80",
40
- size: 'w-full'
41
- },
42
- {
43
- name: "Gourav",
44
- designation: "SDE",
45
- imageUrl: "https://images.unsplash.com/photo-1503023345310-bd7c1de61c7d?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxzZWFyY2h8Mnx8aHVtYW58ZW58MHx8MHx8&w=1000&q=80",
46
- size: 'w-full'
47
- },
48
- {
49
- name: "Gourav",
50
- designation: "SDE",
51
- imageUrl: "https://images.unsplash.com/photo-1503023345310-bd7c1de61c7d?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxzZWFyY2h8Mnx8aHVtYW58ZW58MHx8MHx8&w=1000&q=80",
52
- size: 'w-full'
53
- },
54
- {
55
- name: "Bob Johnson",
56
- designation: "COO",
57
- imageUrl: "https://images.unsplash.com/photo-1503023345310-bd7c1de61c7d?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxzZWFyY2h8Mnx8aHVtYW58ZW58MHx8MHx8&w=1000&q=80",
58
- size: 'w-full'
59
- },
60
- {
61
- name: "Gourav",
62
- designation: "SDE",
63
- imageUrl: "https://images.unsplash.com/photo-1503023345310-bd7c1de61c7d?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxzZWFyY2h8Mnx8aHVtYW58ZW58MHx8MHx8&w=1000&q=80",
64
- size: 'w-full'
65
- },
66
- {
67
- name: "Gourav",
68
- designation: "SDE",
69
- imageUrl: "https://images.unsplash.com/photo-1503023345310-bd7c1de61c7d?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxzZWFyY2h8Mnx8aHVtYW58ZW58MHx8MHx8&w=1000&q=80",
70
- size: 'w-full'
71
- },
72
- {
73
- name: "Gourav",
74
- designation: "SDE",
75
- imageUrl: "https://images.unsplash.com/photo-1503023345310-bd7c1de61c7d?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxzZWFyY2h8Mnx8aHVtYW58ZW58MHx8MHx8&w=1000&q=80",
76
- size: 'w-full'
77
- }
78
- ];
79
-
80
- export default function ScrollSlider() {
81
- const [isScrollActive, setScrollActive] = useState(false);
82
-
83
- const handleMouseEnter = () => {
84
- setScrollActive(true); // Mouse entered, scroll is active
85
- };
86
-
87
- const handleMouseLeave = () => {
88
- setScrollActive(false); // Mouse left, scroll is inactive
89
- };
90
- return (
91
- // <div>
92
-
93
- // <div className='absolute z-[1]'>
94
- // <div
95
- // className={`flex flex-row gap-4 w-screen h-screen items-center justify-center`}
96
- // onMouseEnter={handleMouseEnter}
97
- // onMouseLeave={handleMouseLeave}
98
- // >
99
- // <div className={`${isScrollActive ? 'translate-y-0' : ''} -translate-y-36 transition-all duration-[1500ms]`}>
100
- // <SideCard />
101
- // </div>
102
- // <div className='w-[643px] '>
103
- // <HomepageCarousel
104
- // cards={carouselItems}
105
- // component={VideoCard}
106
- // length={carouselItems.length}
107
-
108
- // />
109
- // </div>
110
- // <div className={`${isScrollActive ? '-translate-y-0' : ''} translate-y-36 transition-all duration-[1500ms]`}>
111
- // <SideCard />
112
- // </div>
113
- // </div>
114
- // </div>
115
- // <div className='absolute z-[1] left-[227px] top-[83px] '>
116
- // <div className='h-screen items-center flex'>
117
- // <div className='w-[1279px]'>
118
-
119
- // <HomepageCarousel
120
- // cards={carouselItems}
121
- // component={SideCard}
122
- // length={carouselItems.length}
123
-
124
- // />
125
- // </div>
126
- // </div>
127
- // </div>
128
- // </div>
129
-
130
- <div>
131
- <HomepageCarousel2 />
132
- </div>
133
- );
134
- }