hds-web 1.5.5 → 1.5.7

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hds-web",
3
- "version": "1.5.5",
3
+ "version": "1.5.7",
4
4
  "private": false,
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.es.js",
@@ -47,7 +47,6 @@ const tabCard = (Content) => (
47
47
  )
48
48
 
49
49
  export default function HeroCapability(props) {
50
- console.log(props.heroData);
51
50
 
52
51
  const LinkCardsFn = (heroData) => {
53
52
  return (
@@ -160,3 +159,246 @@ export default function HeroCapability(props) {
160
159
  </div>
161
160
  )
162
161
  }
162
+
163
+ HeroCapability.defaultProps={
164
+ heroData : {
165
+ tabContent: {
166
+ 'Performance': {
167
+ heroBgColor:'bg-green-500',
168
+ title: 'Blazing-fast APIs at Global Scale ',
169
+ subTitle: 'Hasura optimizes your API performance up to 10x faster with end-to-end caching, while scaling both vertically and horizontally.',
170
+ videoUrl: "https://res.cloudinary.com/dh8fp23nd/video/upload/v1683307555/hasura-con-2023/tg_hascon23_homepage_ue29jn.mp4",
171
+ videoPoster: "https://res.cloudinary.com/dh8fp23nd/image/upload/v1685017301/Group_2608667_gu6idw.png",
172
+ subTitleTextColor: 'text-neutral-0',
173
+ titleTextColor: 'text-neutral-0',
174
+ bgColorTab: 'bg-neutral-1000',
175
+ pillColor:'bg-pink-500',
176
+ button: [
177
+ {
178
+ cta_text: 'Get Started',
179
+ btnBg: '',
180
+ bg_color: 'bg-blue-900',
181
+
182
+ cta_link: '',
183
+ cta_type:''
184
+ },
185
+ {
186
+ cta_text: 'Get Started',
187
+ btnBg: '',
188
+ bg_color: 'bg-blue-900',
189
+ cta_link: '',
190
+ cta_type:''
191
+ }
192
+ ],
193
+ linkCards: [
194
+ {
195
+ titleTextColor: 'text-neutral-0',
196
+ descTextColor: 'text-neutral-0',
197
+ iconVariant: 'videorecorder',
198
+ iconStrokeColor: '#3970FD',
199
+ iconArrowVariant: 'arrownarrowupright',
200
+ iconArrowStrokeColor: 'blue-400',
201
+ title: 'Webinar',
202
+ description: 'Model Level Authorization System for GraphQL with Hasura',
203
+
204
+
205
+ },
206
+ {
207
+ cardBgColor: 'bg-pink-300',
208
+ cardHoverBg: 'bg-pink-900',
209
+ iconVariant: 'videorecorder',
210
+ iconStrokeColor: '#3970FD',
211
+ iconArrowVariant: 'arrownarrowupright',
212
+ iconArrowStrokeColor: 'blue-400',
213
+ title: 'Webinar',
214
+ description: 'Model Level Authorization System for GraphQL with Hasura',
215
+
216
+
217
+ },
218
+ {
219
+ cardBgColor: 'bg-pink-300',
220
+ cardHoverBg: 'bg-pink-900',
221
+ iconVariant: 'videorecorder',
222
+ iconStrokeColor: '#3970FD',
223
+ iconArrowVariant: 'arrownarrowupright',
224
+ iconArrowStrokeColor: 'blue-400',
225
+ title: 'Webinar',
226
+ description: 'Model Level Authorization System for GraphQL with Hasura',
227
+
228
+
229
+ },
230
+ ],
231
+
232
+
233
+
234
+
235
+ },
236
+ 'Company': {
237
+ heroBgColor:'bg-blue-500',
238
+ title: 'Leverage Hasura’s Authorization Engine',
239
+ subTitle: 'Hasura optimizes your API performance up to 10x faster with end-to-end caching, while scaling both vertically and horizontally.ss',
240
+ videoUrl: "https://res.cloudinary.com/dh8fp23nd/video/upload/v1683307555/hasura-con-2023/tg_hascon23_homepage_ue29jn.mp4",
241
+ videoPoster: "https://res.cloudinary.com/dh8fp23nd/image/upload/v1685017301/Group_2608667_gu6idw.png",
242
+ imgUrl:'',
243
+ subTitleTextColor: 'text-neutral-0',
244
+ titleTextColor: 'text-neutral-0',
245
+ bgColorTab: 'bg-neutral-1000',
246
+ pillColor:'bg-amber-500',
247
+ button: [
248
+ {
249
+ cta_text: 'Get Started',
250
+ btnBg: '',
251
+ bg_color: 'bg-blue-900',
252
+
253
+ cta_link: '',
254
+ cta_type:''
255
+ },
256
+ {
257
+ cta_text: 'Get Started',
258
+ btnBg: '',
259
+ bg_color: 'bg-blue-900',
260
+ cta_link: '',
261
+ cta_type:''
262
+ }
263
+ ],
264
+ linkCards: [
265
+ {
266
+ titleTextColor: 'text-neutral-0',
267
+ descTextColor: 'text-neutral-0',
268
+ iconVariant: 'videorecorder',
269
+ iconStrokeColor: '#3970FD',
270
+ iconArrowVariant: 'arrownarrowupright',
271
+ iconArrowStrokeColor: 'blue-400',
272
+ title: 'Webinar',
273
+ description: 'Model Level Authorization System for GraphQL with Hasura',
274
+
275
+
276
+ },
277
+ {
278
+ cardBgColor: 'bg-pink-300',
279
+ cardHoverBg: 'bg-pink-900',
280
+ iconVariant: 'videorecorder',
281
+ iconStrokeColor: '#3970FD',
282
+ iconArrowVariant: 'arrownarrowupright',
283
+ iconArrowStrokeColor: 'blue-400',
284
+ title: 'Webinar',
285
+ description: 'Model Level Authorization System for GraphQL with Hasura',
286
+
287
+
288
+ },
289
+ {
290
+ cardBgColor: 'bg-pink-300',
291
+ cardHoverBg: 'bg-pink-900',
292
+ iconVariant: 'videorecorder',
293
+ iconStrokeColor: '#3970FD',
294
+ iconArrowVariant: 'arrownarrowupright',
295
+ iconArrowStrokeColor: 'blue-400',
296
+ title: 'Webinar',
297
+ description: 'Model Level Authorization System for GraphQL with Hasura',
298
+
299
+
300
+ },
301
+ ],
302
+
303
+
304
+
305
+
306
+ },
307
+ 'Authorization': {
308
+ heroBgColor:'bg-cyan-500',
309
+ title: 'Blazing-fast APIs at Global Scale ',
310
+ subTitle: 'Hasura optimizes your API performance up to 10x faster with end-to-end caching, while scaling both vertically and horizontally.',
311
+ videoUrl: "https://res.cloudinary.com/dh8fp23nd/video/upload/v1683307555/hasura-con-2023/tg_hascon23_homepage_ue29jn.mp4",
312
+ videoPoster: "https://res.cloudinary.com/dh8fp23nd/image/upload/v1685017301/Group_2608667_gu6idw.png",
313
+ imgUrl:'',
314
+ subTitleTextColor: 'text-neutral-0',
315
+ titleTextColor: 'text-neutral-0',
316
+ bgColorTab: 'bg-pink-500',
317
+ pillColor:'bg-neutral-500',
318
+ button: [
319
+ {
320
+ cta_text: 'Get Started',
321
+ btnBg: '',
322
+ bg_color: 'bg-blue-900',
323
+
324
+ cta_link: '',
325
+ cta_type:''
326
+ },
327
+ {
328
+ cta_text: 'Get Started',
329
+ btnBg: '',
330
+ bg_color: 'bg-blue-900',
331
+ cta_link: '',
332
+ cta_type:''
333
+ }
334
+ ],
335
+ linkCards: [
336
+ {
337
+ titleTextColor: 'text-neutral-0',
338
+ descTextColor: 'text-neutral-0',
339
+ iconVariant: 'videorecorder',
340
+ iconStrokeColor: '#3970FD',
341
+ iconArrowVariant: 'arrownarrowupright',
342
+ iconArrowStrokeColor: 'blue-400',
343
+ title: 'Webinar',
344
+ description: 'Model Level Authorization System for GraphQL with Hasura',
345
+
346
+
347
+ },
348
+ {
349
+ cardBgColor: 'bg-pink-300',
350
+ cardHoverBg: 'bg-pink-900',
351
+ iconVariant: 'videorecorder',
352
+ iconStrokeColor: '#3970FD',
353
+ iconArrowVariant: 'arrownarrowupright',
354
+ iconArrowStrokeColor: 'blue-400',
355
+ title: 'Webinar',
356
+ description: 'Model Level Authorization System for GraphQL with Hasura',
357
+
358
+
359
+ },
360
+ {
361
+ cardBgColor: 'bg-pink-300',
362
+ cardHoverBg: 'bg-pink-900',
363
+ iconVariant: 'videorecorder',
364
+ iconStrokeColor: '#3970FD',
365
+ iconArrowVariant: 'arrownarrowupright',
366
+ iconArrowStrokeColor: 'blue-400',
367
+ title: 'Webinar',
368
+ description: 'Model Level Authorization System for GraphQL with Hasura',
369
+
370
+
371
+ },
372
+ ],
373
+
374
+
375
+
376
+
377
+ },
378
+ },
379
+
380
+ navTabs: [
381
+ {
382
+ current: true,
383
+ name: 'Performance'
384
+ },
385
+ {
386
+ current: 'false',
387
+ name: 'Company'
388
+ },
389
+ {
390
+ current: 'false',
391
+ name: 'Authorization'
392
+ },
393
+ {
394
+ current: 'false',
395
+ name: 'Observability'
396
+ },
397
+ {
398
+ current: 'false',
399
+ name: 'API Security'
400
+ }
401
+ ]
402
+ }
403
+
404
+ }
@@ -40,9 +40,6 @@ export default function Tab(props) {
40
40
  function tabClass(name) {
41
41
  let classActive = ' text-neutral-0 transition-all rounded-full ' + pillColorClass;
42
42
  let clasnInActive = ' text-neutral-500 flex-nowrap rounded-full';
43
-
44
- console.log(classActive, clasnInActive, 'heeelo');
45
-
46
43
  if (activeTab.name === name) {
47
44
  return classActive;
48
45
  }
package/src/index.css CHANGED
@@ -405,4 +405,33 @@
405
405
 
406
406
  .token.operator {
407
407
  background: none !important;
408
- }
408
+ }
409
+
410
+
411
+ .border-80 {
412
+ position: relative;
413
+ }
414
+
415
+ .border-80::after {
416
+ content: "";
417
+ position: absolute;
418
+ bottom: 0;
419
+ left: 8%;
420
+ width: 80%;
421
+ border-bottom: 1px solid #E5E7EB;
422
+ }
423
+
424
+ .border-90 {
425
+ position: relative;
426
+ }
427
+
428
+ .border-90::after {
429
+ content: "";
430
+ position: absolute;
431
+ bottom: 0;
432
+ left: 0;
433
+ width: 100%;
434
+ border-bottom: 1px solid rgb(255, 255, 255);
435
+ }
436
+
437
+
@@ -1145,6 +1145,10 @@ select {
1145
1145
  margin-bottom: 2.5rem;
1146
1146
  }
1147
1147
 
1148
+ .mb-16 {
1149
+ margin-bottom: 4rem;
1150
+ }
1151
+
1148
1152
  .mb-2 {
1149
1153
  margin-bottom: 0.5rem;
1150
1154
  }
@@ -1205,6 +1209,10 @@ select {
1205
1209
  margin-left: 2rem;
1206
1210
  }
1207
1211
 
1212
+ .ml-\[30px\] {
1213
+ margin-left: 30px;
1214
+ }
1215
+
1208
1216
  .ml-\[9\.55rem\] {
1209
1217
  margin-left: 9.55rem;
1210
1218
  }
@@ -1273,14 +1281,6 @@ select {
1273
1281
  margin-top: 2.25rem;
1274
1282
  }
1275
1283
 
1276
- .mb-16 {
1277
- margin-bottom: 4rem;
1278
- }
1279
-
1280
- .ml-\[30px\] {
1281
- margin-left: 30px;
1282
- }
1283
-
1284
1284
  .mt-\[70px\] {
1285
1285
  margin-top: 70px;
1286
1286
  }
@@ -1991,6 +1991,12 @@ select {
1991
1991
  margin-left: calc(-0.5rem * calc(1 - var(--tw-space-x-reverse)));
1992
1992
  }
1993
1993
 
1994
+ .space-x-2 > :not([hidden]) ~ :not([hidden]) {
1995
+ --tw-space-x-reverse: 0;
1996
+ margin-right: calc(0.5rem * var(--tw-space-x-reverse));
1997
+ margin-left: calc(0.5rem * calc(1 - var(--tw-space-x-reverse)));
1998
+ }
1999
+
1994
2000
  .space-x-4 > :not([hidden]) ~ :not([hidden]) {
1995
2001
  --tw-space-x-reverse: 0;
1996
2002
  margin-right: calc(1rem * var(--tw-space-x-reverse));
@@ -2015,12 +2021,6 @@ select {
2015
2021
  margin-bottom: calc(1.25rem * var(--tw-space-y-reverse));
2016
2022
  }
2017
2023
 
2018
- .space-x-2 > :not([hidden]) ~ :not([hidden]) {
2019
- --tw-space-x-reverse: 0;
2020
- margin-right: calc(0.5rem * var(--tw-space-x-reverse));
2021
- margin-left: calc(0.5rem * calc(1 - var(--tw-space-x-reverse)));
2022
- }
2023
-
2024
2024
  .divide-x > :not([hidden]) ~ :not([hidden]) {
2025
2025
  --tw-divide-x-reverse: 0;
2026
2026
  border-right-width: calc(1px * var(--tw-divide-x-reverse));
@@ -5230,6 +5230,11 @@ select {
5230
5230
  padding-right: 0.375rem;
5231
5231
  }
5232
5232
 
5233
+ .px-10 {
5234
+ padding-left: 2.5rem;
5235
+ padding-right: 2.5rem;
5236
+ }
5237
+
5233
5238
  .px-2 {
5234
5239
  padding-left: 0.5rem;
5235
5240
  padding-right: 0.5rem;
@@ -5350,11 +5355,6 @@ select {
5350
5355
  padding-bottom: 1.625rem;
5351
5356
  }
5352
5357
 
5353
- .px-10 {
5354
- padding-left: 2.5rem;
5355
- padding-right: 2.5rem;
5356
- }
5357
-
5358
5358
  .pb-10 {
5359
5359
  padding-bottom: 2.5rem;
5360
5360
  }
@@ -5387,6 +5387,10 @@ select {
5387
5387
  padding-bottom: 2rem;
5388
5388
  }
5389
5389
 
5390
+ .pb-\[54px\] {
5391
+ padding-bottom: 54px;
5392
+ }
5393
+
5390
5394
  .pl-1 {
5391
5395
  padding-left: 0.25rem;
5392
5396
  }
@@ -5423,6 +5427,10 @@ select {
5423
5427
  padding-left: 1.75rem;
5424
5428
  }
5425
5429
 
5430
+ .pl-\[30px\] {
5431
+ padding-left: 30px;
5432
+ }
5433
+
5426
5434
  .pr-10 {
5427
5435
  padding-right: 2.5rem;
5428
5436
  }
@@ -5471,6 +5479,10 @@ select {
5471
5479
  padding-top: 2.5rem;
5472
5480
  }
5473
5481
 
5482
+ .pt-12 {
5483
+ padding-top: 3rem;
5484
+ }
5485
+
5474
5486
  .pt-16 {
5475
5487
  padding-top: 4rem;
5476
5488
  }
@@ -5487,18 +5499,6 @@ select {
5487
5499
  padding-top: 1.5rem;
5488
5500
  }
5489
5501
 
5490
- .pb-\[54px\] {
5491
- padding-bottom: 54px;
5492
- }
5493
-
5494
- .pl-\[30px\] {
5495
- padding-left: 30px;
5496
- }
5497
-
5498
- .pt-12 {
5499
- padding-top: 3rem;
5500
- }
5501
-
5502
5502
  .text-left {
5503
5503
  text-align: left;
5504
5504
  }
@@ -6500,18 +6500,10 @@ select {
6500
6500
  transition-duration: 500ms;
6501
6501
  }
6502
6502
 
6503
- .duration-1000 {
6504
- transition-duration: 1000ms;
6505
- }
6506
-
6507
6503
  .ease-in {
6508
6504
  transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
6509
6505
  }
6510
6506
 
6511
- .ease-in-out {
6512
- transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
6513
- }
6514
-
6515
6507
  .ease-out {
6516
6508
  transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
6517
6509
  }
@@ -7298,6 +7290,32 @@ select {
7298
7290
  background: none !important;
7299
7291
  }
7300
7292
 
7293
+ .border-80 {
7294
+ position: relative;
7295
+ }
7296
+
7297
+ .border-80::after {
7298
+ content: "";
7299
+ position: absolute;
7300
+ bottom: 0;
7301
+ left: 8%;
7302
+ width: 80%;
7303
+ border-bottom: 1px solid #E5E7EB;
7304
+ }
7305
+
7306
+ .border-90 {
7307
+ position: relative;
7308
+ }
7309
+
7310
+ .border-90::after {
7311
+ content: "";
7312
+ position: absolute;
7313
+ bottom: 0;
7314
+ left: 0;
7315
+ width: 100%;
7316
+ border-bottom: 1px solid rgb(255, 255, 255);
7317
+ }
7318
+
7301
7319
  .placeholder\:text-neutral-500::-webkit-input-placeholder {
7302
7320
  --tw-text-opacity: 1;
7303
7321
  color: rgb(108 115 127 / var(--tw-text-opacity));
@@ -9447,4 +9465,6 @@ select {
9447
9465
  .\[\&\>ul\]\:ps-4>ul {
9448
9466
  -webkit-padding-start: 1rem;
9449
9467
  padding-inline-start: 1rem;
9450
- }
9468
+ }
9469
+
9470
+