hds-web 1.40.2 → 1.40.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hds-web",
3
- "version": "1.40.2",
3
+ "version": "1.40.4",
4
4
  "private": false,
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.es.js",
@@ -251,10 +251,10 @@ V3Footer.defaultProps = {
251
251
  {
252
252
  title: "Learn",
253
253
  links: [
254
- // {
255
- // linkText: `Enterprise`,
256
- // linkUrl: "https://hasura.io/enterprise",
257
- // },
254
+ {
255
+ linkText: `Enterprise`,
256
+ linkUrl: "https://hasura.io/enterprise",
257
+ },
258
258
  {
259
259
  linkText: "Blog",
260
260
  linkUrl: "https://hasura.io/blog",
@@ -174,7 +174,7 @@ export default function V3Header(props) {
174
174
  <>
175
175
  {renderDropdownContainer(headerList, 0)}
176
176
  {renderDropdownContainer(headerList, 1)}
177
- {/* {
177
+ {
178
178
  <a href="/enterprise">
179
179
  <Typography
180
180
  className={
@@ -187,7 +187,7 @@ export default function V3Header(props) {
187
187
  {`Enterprise`}
188
188
  </Typography>
189
189
  </a>
190
- } */}
190
+ }
191
191
  {renderDropdownContainer(headerList, 2)}
192
192
  {
193
193
  <a href="/customers">
@@ -233,7 +233,7 @@ export default function V3Header(props) {
233
233
  <a href="https://hasura.io/graphql/database/mongodb">MongoDB</a>
234
234
  <a href="https://hasura.io/graphql/database/snowflake">Snowflake</a>
235
235
  <a href="https://hasura.io/graphql/database/clickhouse">Clickhouse</a>
236
- <a href="https://hasura.io/graphql/database">More</a>
236
+ <a href="https://hasura.io/connectors">More</a>
237
237
  {/* Developer */}
238
238
  <p>Developer</p>
239
239
  <a href="https://hasura.io/docs/3.0/index/">Documentation</a>
@@ -364,9 +364,9 @@ export default function V3Header(props) {
364
364
  if (title === "Pricing") {
365
365
  window.location.href = "/pricing";
366
366
  }
367
- // if (title === "Enterprise") {
368
- // window.location.href = "/enterprise";
369
- // }
367
+ if (title === "Enterprise") {
368
+ window.location.href = "/enterprise";
369
+ }
370
370
  if (title === "Product") {
371
371
  setIsProduct(true);
372
372
  }
@@ -464,6 +464,7 @@ export default function V3Header(props) {
464
464
  ? "text-neutral-0 hover:text-blue-400"
465
465
  : "text-neutral-800 hover:text-blue-600"
466
466
  }
467
+ data-testid={`${props?.website_key}-contact-us`}
467
468
  >
468
469
  Contact Us
469
470
  </Typography>
@@ -481,6 +482,7 @@ export default function V3Header(props) {
481
482
  rightAnimatedArrowColor="#3970FD"
482
483
  animatedHoverStroke="group-hover:stroke-neutral-0"
483
484
  className="hds-hidden tb-l:flex"
485
+ data-testid={`${props?.website_key}-log-in`}
484
486
  />
485
487
  </a>
486
488
  )}
@@ -496,6 +498,7 @@ export default function V3Header(props) {
496
498
  rightAnimatedArrowColor="#ffffff"
497
499
  animatedHoverStroke="group-hover:stroke-neutral-0"
498
500
  className="hds-hidden tb:flex"
501
+ data-testid={`${props?.website_key}-get-started`}
499
502
  />
500
503
  </a>
501
504
  </div>
@@ -612,13 +615,13 @@ export default function V3Header(props) {
612
615
  />
613
616
  </div>
614
617
  ))}
615
- {/* <a href="https://hasura.io/enterprise">
618
+ <a href="https://hasura.io/enterprise">
616
619
  <div
617
620
  key={`Contact`}
618
621
  className="flex justify-between items-center p-4 cursor-pointer group"
619
622
  >
620
623
  <div className="flex items-center justify-center gap-2">
621
- <Icon height="h-5 w-5" variant="home03" strokeColor="#3970FD" />
624
+ {/* <Icon height="h-5 w-5" variant="home03" strokeColor="#3970FD" /> */}
622
625
  <Typography
623
626
  textStyle="body3c-medium"
624
627
  className="text-neutral-700 hover:text-neutral-1000 transition-all duration-300 ease-in-out"
@@ -632,7 +635,7 @@ export default function V3Header(props) {
632
635
  strokeClass="stroke-neutral-500"
633
636
  />
634
637
  </div>
635
- </a> */}
638
+ </a>
636
639
  <a href="https://hasura.io/customers">
637
640
  <div
638
641
  key={`Contact`}
@@ -810,7 +813,7 @@ V3Header.defaultProps = {
810
813
  },
811
814
  {
812
815
  description: "",
813
- href: "/graphql/database",
816
+ href: "/connectors",
814
817
  icon: "database01",
815
818
  name: "More",
816
819
  strokeClass: "stroke-blue-500",