hds-web 1.41.8 → 1.42.1

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.41.8",
3
+ "version": "1.42.1",
4
4
  "private": false,
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.es.js",
@@ -21,17 +21,40 @@ const updatePGParam = (originalLink, websiteKey) => {
21
21
  };
22
22
 
23
23
  const HasuraLogo = () => (
24
- <svg width="20" height="21" viewBox="0 0 20 21" fill="none" xmlns="http://www.w3.org/2000/svg">
25
- <path fill-rule="evenodd" clip-rule="evenodd" d="M17.0402 2.08323C17.9627 3.18615 18.2492 6.17362 17.773 7.67111C17.6149 8.16902 17.5703 8.69511 17.6614 9.20617C17.7544 9.71348 17.8474 10.326 17.8474 10.7525C17.8474 15.1304 14.3338 18.6815 9.99814 18.6815C5.6643 18.6815 2.14887 15.1323 2.14887 10.7525C2.14887 10.326 2.24187 9.71348 2.33487 9.20617C2.42787 8.69511 2.38509 8.16902 2.22699 7.67111C1.75083 6.1755 2.03727 3.18803 2.95984 2.08323C3.08074 1.94043 3.3058 1.95922 3.40624 2.11893L4.54271 3.9208C4.82543 4.27968 5.33136 4.36423 5.7108 4.11245C6.94399 3.29701 8.41713 2.82352 10 2.82352C11.5829 2.82352 13.056 3.29701 14.2892 4.11245C14.6705 4.36423 15.1764 4.28156 15.4573 3.9208L16.5938 2.11893C16.6942 1.95922 16.9193 1.93856 17.0402 2.08323ZM11.0787 10.4144L12.6318 13.1351C12.6634 13.1896 12.6634 13.2572 12.6318 13.3098C12.602 13.3643 12.5444 13.3981 12.4811 13.3981H11.2182C11.1568 13.3981 11.0991 13.3643 11.0675 13.3098L10.2379 11.8574L9.31351 13.3154C9.28189 13.3662 9.22609 13.3962 9.16657 13.3962H7.88502C7.81992 13.3962 7.7604 13.3605 7.73064 13.3042C7.70088 13.2478 7.70274 13.1783 7.73808 13.1238L9.44743 10.4896L8.17332 8.32694C8.1417 8.27245 8.13984 8.20481 8.17146 8.15032C8.20308 8.09395 8.26074 8.06013 8.32398 8.06013H9.59624C9.65762 8.06013 9.71528 8.09207 9.7469 8.14656L11.0787 10.4144Z" fill="#000615"/>
24
+ <svg
25
+ width="20"
26
+ height="21"
27
+ viewBox="0 0 20 21"
28
+ fill="none"
29
+ xmlns="http://www.w3.org/2000/svg"
30
+ >
31
+ <path
32
+ fill-rule="evenodd"
33
+ clip-rule="evenodd"
34
+ d="M17.0402 2.08323C17.9627 3.18615 18.2492 6.17362 17.773 7.67111C17.6149 8.16902 17.5703 8.69511 17.6614 9.20617C17.7544 9.71348 17.8474 10.326 17.8474 10.7525C17.8474 15.1304 14.3338 18.6815 9.99814 18.6815C5.6643 18.6815 2.14887 15.1323 2.14887 10.7525C2.14887 10.326 2.24187 9.71348 2.33487 9.20617C2.42787 8.69511 2.38509 8.16902 2.22699 7.67111C1.75083 6.1755 2.03727 3.18803 2.95984 2.08323C3.08074 1.94043 3.3058 1.95922 3.40624 2.11893L4.54271 3.9208C4.82543 4.27968 5.33136 4.36423 5.7108 4.11245C6.94399 3.29701 8.41713 2.82352 10 2.82352C11.5829 2.82352 13.056 3.29701 14.2892 4.11245C14.6705 4.36423 15.1764 4.28156 15.4573 3.9208L16.5938 2.11893C16.6942 1.95922 16.9193 1.93856 17.0402 2.08323ZM11.0787 10.4144L12.6318 13.1351C12.6634 13.1896 12.6634 13.2572 12.6318 13.3098C12.602 13.3643 12.5444 13.3981 12.4811 13.3981H11.2182C11.1568 13.3981 11.0991 13.3643 11.0675 13.3098L10.2379 11.8574L9.31351 13.3154C9.28189 13.3662 9.22609 13.3962 9.16657 13.3962H7.88502C7.81992 13.3962 7.7604 13.3605 7.73064 13.3042C7.70088 13.2478 7.70274 13.1783 7.73808 13.1238L9.44743 10.4896L8.17332 8.32694C8.1417 8.27245 8.13984 8.20481 8.17146 8.15032C8.20308 8.09395 8.26074 8.06013 8.32398 8.06013H9.59624C9.65762 8.06013 9.71528 8.09207 9.7469 8.14656L11.0787 10.4144Z"
35
+ fill="#000615"
36
+ />
26
37
  </svg>
27
- )
38
+ );
28
39
 
29
40
  const PromptQLLogo = () => (
30
- <svg width="20" height="21" viewBox="0 0 20 21" fill="none" xmlns="http://www.w3.org/2000/svg">
31
- <path d="M7.21406 3.77103H4.87892C2.64361 3.77103 0 4.97315 0 8.46755C0 10.7694 1.68562 13.1283 5.25767 13.1283H6.81628L9.72026 16.3549H11.9789V8.61099C11.9789 5.22198 9.61022 3.77103 7.21961 3.77103H7.21406ZM9.72026 8.61099V13.2203L7.87072 10.9691H5.20277C3.84939 10.9691 2.26859 10.3146 2.26859 8.46755C2.26859 6.23779 4.15445 5.99928 4.96981 5.99928H7.07199C8.36437 5.99928 9.72026 6.70294 9.72026 8.61099Z" fill="#000615"/>
32
- <path d="M16.7398 14.0011C16.3127 14.0011 15.9688 13.6517 15.9688 13.2135V3.97275H13.6392V13.4021C13.6392 15.0217 14.9371 16.3418 16.5345 16.3418H19.9994V14.0011H16.7398Z" fill="#000615"/>
41
+ <svg
42
+ width="20"
43
+ height="21"
44
+ viewBox="0 0 20 21"
45
+ fill="none"
46
+ xmlns="http://www.w3.org/2000/svg"
47
+ >
48
+ <path
49
+ d="M7.21406 3.77103H4.87892C2.64361 3.77103 0 4.97315 0 8.46755C0 10.7694 1.68562 13.1283 5.25767 13.1283H6.81628L9.72026 16.3549H11.9789V8.61099C11.9789 5.22198 9.61022 3.77103 7.21961 3.77103H7.21406ZM9.72026 8.61099V13.2203L7.87072 10.9691H5.20277C3.84939 10.9691 2.26859 10.3146 2.26859 8.46755C2.26859 6.23779 4.15445 5.99928 4.96981 5.99928H7.07199C8.36437 5.99928 9.72026 6.70294 9.72026 8.61099Z"
50
+ fill="#000615"
51
+ />
52
+ <path
53
+ d="M16.7398 14.0011C16.3127 14.0011 15.9688 13.6517 15.9688 13.2135V3.97275H13.6392V13.4021C13.6392 15.0217 14.9371 16.3418 16.5345 16.3418H19.9994V14.0011H16.7398Z"
54
+ fill="#000615"
55
+ />
33
56
  </svg>
34
- )
57
+ );
35
58
 
36
59
  export default function V3Header(props) {
37
60
  // const listSize = props.HEADER_LIST.length;
@@ -161,7 +184,7 @@ export default function V3Header(props) {
161
184
  animate={{ opacity: 1 }}
162
185
  transition={{ ease: "easeInOut", duration: 0.1 }}
163
186
  className={
164
- "absolute -left-[137px] z-[2] transform " +
187
+ "absolute top-[21px] -left-[137px] z-[2] transform " +
165
188
  (dropdownVisibility[0] ? "-left-[137px] " : "") +
166
189
  (dropdownVisibility[1] ? "-left-[218px]" : "") +
167
190
  (dropdownVisibility[3] ? "-left-[50px] " : "")
@@ -667,6 +690,27 @@ export default function V3Header(props) {
667
690
  />
668
691
  </div>
669
692
  </a>
693
+ <a href="https://hasura.io/pricing">
694
+ <div
695
+ key={`Contact`}
696
+ className="flex justify-between items-center p-4 cursor-pointer group"
697
+ >
698
+ <div className="flex items-center justify-center gap-2">
699
+ {/* <Icon height="h-5 w-5" variant="home03" strokeColor="#3970FD" /> */}
700
+ <Typography
701
+ textStyle="body3c-medium"
702
+ className="text-neutral-700 hover:text-neutral-1000 transition-all duration-300 ease-in-out"
703
+ >
704
+ Pricing
705
+ </Typography>
706
+ </div>
707
+ <Icon
708
+ height="h-5 w-5 stroke-[1.5px] group-hover:translate-x-1 ease-in-out transition duration-300"
709
+ variant="chevronright"
710
+ strokeClass="stroke-neutral-500"
711
+ />
712
+ </div>
713
+ </a>
670
714
  <a href="https://hasura.io/contact-us">
671
715
  <div
672
716
  key={`Contact`}
@@ -760,7 +804,7 @@ V3Header.defaultProps = {
760
804
  iconVariant: <PromptQLLogo />,
761
805
  description: `A data access agent with out-of-the-box connectors and agentic query planning.`,
762
806
  title: "PromptQL by Hasura",
763
- btnCTA: "/book-demo/promptql",
807
+ btnCTA: `https://promptql.hasura.io/`,
764
808
  strokeClass: "stroke-blue-500",
765
809
  },
766
810
  ],
@@ -849,9 +893,9 @@ V3Header.defaultProps = {
849
893
  },
850
894
  ],
851
895
  flyoutD: {
852
- link: "https://console.hasura.io/",
853
- cardImg: `https://res.cloudinary.com/dh8fp23nd/image/upload/v1721205269/Frame_2610016_1_jluh5u.png`,
854
- cardImgAlt: "Hasura DDN",
896
+ link: "https://hasura.io/book-demo/promptql",
897
+ cardImg: `https://res.cloudinary.com/dh8fp23nd/image/upload/v1738570236/ph-promo-1_1_sw8qus.png`,
898
+ cardImgAlt: "Hasura PromptQL",
855
899
  },
856
900
  },
857
901
  {