hds-web 1.36.8 → 1.36.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.
@@ -20,8 +20,6 @@ const updatePGParam = (originalLink, websiteKey) => {
20
20
  } else return originalLink;
21
21
  };
22
22
 
23
- const isBrowser = typeof window !== "undefined";
24
-
25
23
  export default function V3Header(props) {
26
24
  const listSize = props.HEADER_LIST.length;
27
25
  const [mobileNavOpen, setmobileNavOpen] = useState(false);
@@ -53,6 +51,8 @@ export default function V3Header(props) {
53
51
  };
54
52
 
55
53
  const handleDropdownLeave = (index) => {
54
+ // return null;
55
+
56
56
  setDropdownVisibility((prevVisibility) => {
57
57
  const updatedVisibility = [...prevVisibility];
58
58
  updatedVisibility[index] = false;
@@ -564,11 +564,11 @@ V3Header.defaultProps = {
564
564
  title: "Product",
565
565
  primaryCard: {
566
566
  iconVariant: "layersthree01",
567
- mainDescription: `Discover Hasura's core capabilities for automating the building, securing, optimizing, and deploying of APIs.`,
568
- primaryBtnLabel: "Hasura Data API Platform",
567
+ mainDescription: `Enable your backend team to deliver an incredible unified API on all your data effortlessly.`,
568
+ primaryBtnLabel: "What is Hasura?",
569
569
  primaryBtnCTA: "/products",
570
570
  strokeClass: "stroke-neutral-800",
571
- tertiaryBtn: [
571
+ secondaryBtn: [
572
572
  {
573
573
  cta_leftVariantIcon: "checksquarebroken",
574
574
  cta_leftVariantIconColor: "#6C737F",
@@ -576,98 +576,74 @@ V3Header.defaultProps = {
576
576
  cta_link: "/pricing",
577
577
  },
578
578
  ],
579
- secondaryBtn: [
579
+ tertiaryBtn: [
580
580
  {
581
581
  cta_leftVariantIcon: "zap",
582
582
  cta_leftVariantIconColor: "#6C737F",
583
- cta_text: "Deployment Options",
583
+ cta_text: "Get Started",
584
584
  cta_link: "/products/deployment",
585
585
  },
586
586
  ],
587
587
  },
588
588
  secondaryCardArr: [
589
589
  {
590
+ label: "CONNECTORS",
590
591
  childArray: [
591
592
  {
592
593
  description: "",
593
- href: "/products/instant-api",
594
- icon: "lightning01",
595
- name: "Instant API",
596
- strokeClass: "stroke-neutral-500",
597
- },
598
- {
599
- description: "",
600
- href: "/products/authorization",
601
- icon: "eye",
602
- name: "Authorization",
594
+ href: "/connectors/postgres",
595
+ icon: "database01",
596
+ name: "PostgreSQL",
603
597
  strokeClass: "stroke-neutral-500",
604
598
  },
605
599
  {
606
600
  description: "",
607
- href: "/products/performance",
608
- icon: "speedometer03",
609
- name: "Performance",
601
+ href: "/connectors/mongodb",
602
+ icon: "database01",
603
+ name: "MongoDB",
610
604
  strokeClass: "stroke-neutral-500",
611
605
  },
612
606
  {
613
607
  description: "",
614
- href: "/products/federation",
615
- icon: "data",
616
- name: "Federation",
608
+ href: "/connectors#connectors-list",
609
+ icon: "database01",
610
+ name: "MySQL",
617
611
  strokeClass: "stroke-neutral-500",
618
612
  },
619
613
  {
620
614
  description: "",
621
- href: "/products/api-security",
622
- icon: "shieldtick",
623
- name: "API Security",
615
+ href: "/connectors#connectors-list",
616
+ icon: "database01",
617
+ name: "Snowflake",
624
618
  strokeClass: "stroke-neutral-500",
625
619
  },
626
620
  {
627
621
  description: "",
628
- href: "/products/observability",
629
- icon: "piechart01",
630
- name: "Observability",
622
+ href: "/connectors#connectors-list",
623
+ icon: "database01",
624
+ name: "Oracle",
631
625
  strokeClass: "stroke-neutral-500",
632
626
  },
633
- ],
634
- label: "CAPABILITIES",
635
- },
636
- {
637
- childArray: [
638
627
  {
639
628
  description: "",
640
- href: "/graphql/database",
629
+ href: "/connectors/sqlserver",
641
630
  icon: "database01",
642
- name: "All Databases",
631
+ name: "SQL Server",
643
632
  strokeClass: "stroke-neutral-500",
644
633
  },
645
634
  {
646
635
  description: "",
647
- href: "/graphql/database?category=planned",
648
- icon: "checksquare",
649
- name: "Planned Databases",
636
+ href: "/connectors#connectors-list",
637
+ icon: "database01",
638
+ name: "See all",
650
639
  strokeClass: "stroke-neutral-500",
651
640
  },
652
641
  ],
653
- label: "Data sources",
654
642
  },
655
643
  ],
656
644
  flyoutD: {
657
645
  link: "https://hasura.io/ddn",
658
- IconVariant: "aibot",
659
- btnLabel: "The future of data delivery",
660
- description:
661
- "Introducing Hasura Data Delivery Network – a new way to ship amazing APIs on all data!",
662
- childArray: [
663
- {
664
- description: "",
665
- href: "/products/instant-api",
666
- icon: "lightning01",
667
- name: "Instant API",
668
- strokeClass: "stroke-neutral-500",
669
- },
670
- ],
646
+ cardImg: `https://res.cloudinary.com/dh8fp23nd/image/upload/v1716906625/Frame_12754_2_iaixzx.png`,
671
647
  },
672
648
  },
673
649
  {
@@ -1359,6 +1359,10 @@ select{
1359
1359
  margin-bottom: 1.5rem;
1360
1360
  }
1361
1361
 
1362
+ .mb-8{
1363
+ margin-bottom: 2rem;
1364
+ }
1365
+
1362
1366
  .mb-9{
1363
1367
  margin-bottom: 2.25rem;
1364
1368
  }
@@ -1519,18 +1523,15 @@ select{
1519
1523
  margin-top: 70px;
1520
1524
  }
1521
1525
 
1522
- .line-clamp-3{
1523
- overflow: hidden;
1524
- display: -webkit-box;
1525
- -webkit-box-orient: vertical;
1526
- -webkit-line-clamp: 3;
1526
+ .mr-6{
1527
+ margin-right: 1.5rem;
1527
1528
  }
1528
1529
 
1529
- .line-clamp-5{
1530
+ .line-clamp-3{
1530
1531
  overflow: hidden;
1531
1532
  display: -webkit-box;
1532
1533
  -webkit-box-orient: vertical;
1533
- -webkit-line-clamp: 5;
1534
+ -webkit-line-clamp: 3;
1534
1535
  }
1535
1536
 
1536
1537
  .block{
@@ -2055,6 +2056,10 @@ select{
2055
2056
  min-width: 18rem;
2056
2057
  }
2057
2058
 
2059
+ .min-w-\[204px\]{
2060
+ min-width: 204px;
2061
+ }
2062
+
2058
2063
  .min-w-\[20px\]{
2059
2064
  min-width: 20px;
2060
2065
  }
@@ -2097,6 +2102,10 @@ select{
2097
2102
  min-width: 100%;
2098
2103
  }
2099
2104
 
2105
+ .min-w-\[56px\]{
2106
+ min-width: 56px;
2107
+ }
2108
+
2100
2109
  .max-w-2xl{
2101
2110
  max-width: 42rem;
2102
2111
  }
@@ -2129,6 +2138,10 @@ select{
2129
2138
  max-width: 18rem;
2130
2139
  }
2131
2140
 
2141
+ .max-w-\[204px\]{
2142
+ max-width: 204px;
2143
+ }
2144
+
2132
2145
  .max-w-\[20px\]{
2133
2146
  max-width: 20px;
2134
2147
  }
@@ -6727,10 +6740,6 @@ select{
6727
6740
  padding-right: 12rem;
6728
6741
  }
6729
6742
 
6730
- .pr-6{
6731
- padding-right: 1.5rem;
6732
- }
6733
-
6734
6743
  .pr-7{
6735
6744
  padding-right: 1.75rem;
6736
6745
  }
@@ -10518,10 +10527,6 @@ select{
10518
10527
  visibility: visible;
10519
10528
  }
10520
10529
 
10521
- .group\/card:hover .group-hover\/card\:visible{
10522
- visibility: visible;
10523
- }
10524
-
10525
10530
  .group\/eventListing:hover .group-hover\/eventListing\:visible{
10526
10531
  visibility: visible;
10527
10532
  }
@@ -10548,12 +10553,6 @@ select{
10548
10553
  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));
10549
10554
  }
10550
10555
 
10551
- .group\/card:hover .group-hover\/card\:translate-x-1{
10552
- --tw-translate-x: 0.25rem;
10553
- -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));
10554
- 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));
10555
- }
10556
-
10557
10556
  .group\/eventListing:hover .group-hover\/eventListing\:translate-x-\[0\.15rem\]{
10558
10557
  --tw-translate-x: 0.15rem;
10559
10558
  -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));
@@ -10619,11 +10618,6 @@ select{
10619
10618
  background-color: rgb(243 244 246 / var(--tw-bg-opacity));
10620
10619
  }
10621
10620
 
10622
- .group\/icon:hover .group-hover\/icon\:bg-blue-200{
10623
- --tw-bg-opacity: 1;
10624
- background-color: rgb(223 232 255 / var(--tw-bg-opacity));
10625
- }
10626
-
10627
10621
  .group:hover .group-hover\:bg-amber-300{
10628
10622
  --tw-bg-opacity: 1;
10629
10623
  background-color: rgb(255 206 112 / var(--tw-bg-opacity));
@@ -10695,10 +10689,6 @@ select{
10695
10689
  stroke: #3970FD;
10696
10690
  }
10697
10691
 
10698
- .group\/icon:hover .group-hover\/icon\:stroke-blue-600{
10699
- stroke: #1E56E3;
10700
- }
10701
-
10702
10692
  .group:hover .group-hover\:stroke-blue-500{
10703
10693
  stroke: #3970FD;
10704
10694
  }
@@ -10730,6 +10720,11 @@ select{
10730
10720
  color: rgb(30 86 227 / var(--tw-text-opacity));
10731
10721
  }
10732
10722
 
10723
+ .group\/card:hover .group-hover\/card\:text-neutral-1000{
10724
+ --tw-text-opacity: 1;
10725
+ color: rgb(0 6 21 / var(--tw-text-opacity));
10726
+ }
10727
+
10733
10728
  .group\/icon:hover .group-hover\/icon\:text-blue-600{
10734
10729
  --tw-text-opacity: 1;
10735
10730
  color: rgb(30 86 227 / var(--tw-text-opacity));
@@ -10944,8 +10939,8 @@ select{
10944
10939
  position: absolute;
10945
10940
  }
10946
10941
 
10947
- .tb\:left-6{
10948
- left: 1.5rem;
10942
+ .tb\:left-3{
10943
+ left: 0.75rem;
10949
10944
  }
10950
10945
 
10951
10946
  .tb\:left-auto{
@@ -10964,14 +10959,6 @@ select{
10964
10959
  top: 160px;
10965
10960
  }
10966
10961
 
10967
- .tb\:left-4{
10968
- left: 1rem;
10969
- }
10970
-
10971
- .tb\:left-3{
10972
- left: 0.75rem;
10973
- }
10974
-
10975
10962
  .tb\:mb-0{
10976
10963
  margin-bottom: 0px;
10977
10964
  }
@@ -11128,6 +11115,10 @@ select{
11128
11115
  width: 100%;
11129
11116
  }
11130
11117
 
11118
+ .tb\:min-w-\[140px\]{
11119
+ min-width: 140px;
11120
+ }
11121
+
11131
11122
  .tb\:min-w-\[150px\]{
11132
11123
  min-width: 150px;
11133
11124
  }
@@ -11156,6 +11147,22 @@ select{
11156
11147
  min-width: 500px;
11157
11148
  }
11158
11149
 
11150
+ .tb\:min-w-\[130px\]{
11151
+ min-width: 130px;
11152
+ }
11153
+
11154
+ .tb\:min-w-\[120px\]{
11155
+ min-width: 120px;
11156
+ }
11157
+
11158
+ .tb\:min-w-\[116px\]{
11159
+ min-width: 116px;
11160
+ }
11161
+
11162
+ .tb\:min-w-\[135px\]{
11163
+ min-width: 135px;
11164
+ }
11165
+
11159
11166
  .tb\:max-w-\[17rem\]{
11160
11167
  max-width: 17rem;
11161
11168
  }
@@ -12028,6 +12035,10 @@ select{
12028
12035
  margin-top: 0px;
12029
12036
  }
12030
12037
 
12038
+ .tb-l\:-ml-2{
12039
+ margin-left: -0.5rem;
12040
+ }
12041
+
12031
12042
  .tb-l\:block{
12032
12043
  display: block;
12033
12044
  }
@@ -12044,14 +12055,6 @@ select{
12044
12055
  display: none;
12045
12056
  }
12046
12057
 
12047
- .tb-l\:h-12{
12048
- height: 3rem;
12049
- }
12050
-
12051
- .tb-l\:h-\[124px\]{
12052
- height: 124px;
12053
- }
12054
-
12055
12058
  .tb-l\:h-full{
12056
12059
  height: 100%;
12057
12060
  }
@@ -12064,14 +12067,6 @@ select{
12064
12067
  width: 50%;
12065
12068
  }
12066
12069
 
12067
- .tb-l\:w-12{
12068
- width: 3rem;
12069
- }
12070
-
12071
- .tb-l\:w-\[170px\]{
12072
- width: 170px;
12073
- }
12074
-
12075
12070
  .tb-l\:w-\[38\%\]{
12076
12071
  width: 38%;
12077
12072
  }
@@ -12320,21 +12315,11 @@ select{
12320
12315
  }
12321
12316
  }
12322
12317
 
12323
- @media (min-width: 970px){
12324
- .tb-xl\:w-\[175px\]{
12325
- width: 175px;
12326
- }
12327
-
12328
- .tb-xl\:w-\[223px\]{
12329
- width: 223px;
12318
+ @media (min-width: 1024px){
12319
+ .lg\:mr-6{
12320
+ margin-right: 1.5rem;
12330
12321
  }
12331
12322
 
12332
- .tb-xl\:min-w-\[175px\]{
12333
- min-width: 175px;
12334
- }
12335
- }
12336
-
12337
- @media (min-width: 1024px){
12338
12323
  .lg\:flex{
12339
12324
  display: flex;
12340
12325
  }
@@ -12347,6 +12332,10 @@ select{
12347
12332
  height: auto;
12348
12333
  }
12349
12334
 
12335
+ .lg\:min-w-\[56px\]{
12336
+ min-width: 56px;
12337
+ }
12338
+
12350
12339
  .lg\:grid-cols-2{
12351
12340
  grid-template-columns: repeat(2, minmax(0, 1fr));
12352
12341
  }
@@ -12374,6 +12363,10 @@ select{
12374
12363
  padding-right: 2.25rem;
12375
12364
  }
12376
12365
 
12366
+ .lg\:pt-2{
12367
+ padding-top: 0.5rem;
12368
+ }
12369
+
12377
12370
  .db-s\:mb-0{
12378
12371
  margin-bottom: 0px;
12379
12372
  }