hds-web 1.38.6 → 1.38.7

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.38.6",
3
+ "version": "1.38.7",
4
4
  "private": false,
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.es.js",
@@ -62,7 +62,7 @@ export default function DropdownA(props) {
62
62
  </div>
63
63
  </div>
64
64
  } */}
65
- {props.flyoutD && <FlyoutD />}
65
+ {props.flyoutD && <FlyoutD {...props?.flyoutD} />}
66
66
  </div>
67
67
  </div>
68
68
  );
@@ -1,12 +1,12 @@
1
1
  import React from "react";
2
2
 
3
- export default function FlyoutD() {
3
+ export default function FlyoutD(props) {
4
4
  return (
5
5
  <div className="flex justify-center">
6
- <a href={`https://hasura.io/ddn`}>
6
+ <a href={props?.link}>
7
7
  <img
8
- src="https://res.cloudinary.com/dh8fp23nd/image/upload/v1716906625/Frame_12754_2_iaixzx.png"
9
- alt="Hasura DDN"
8
+ src={props?.cardImg}
9
+ alt={props?.cardImgAlt}
10
10
  className="w-full min-w-[204px] max-w-[204px] mt-2 tb-l:mt-0"
11
11
  />
12
12
  </a>
@@ -39,7 +39,7 @@ export default function V3Header(props) {
39
39
 
40
40
  const signUpLink = props.signUpLink
41
41
  ? props.signUpLink
42
- : "https://cloud.hasura.io/signup?pg=sample-apps&plcmt=header&cta=try-hasura&tech=default";
42
+ : "https://console.hasura.io";
43
43
 
44
44
  const logInLink = props.logInLink
45
45
  ? props.logInLink
@@ -186,8 +186,7 @@ export default function V3Header(props) {
186
186
  </Typography>
187
187
  </a>
188
188
  }
189
- {renderDropdownContainer(headerList, 3)}
190
-
189
+ {/* {renderDropdownContainer(headerList, 3)} */}
191
190
  {
192
191
  <a href="/pricing">
193
192
  <Typography
@@ -226,6 +225,7 @@ export default function V3Header(props) {
226
225
  primaryCard={HEADER_LIST[1]["primaryCard"]}
227
226
  secondaryCardArr={HEADER_LIST[1]["secondaryCardArr"]}
228
227
  tertiaryCard={HEADER_LIST[1]["tertiaryCard"]}
228
+ flyoutD={HEADER_LIST[1]["flyoutD"]}
229
229
  />
230
230
  </div>
231
231
  )}
@@ -631,8 +631,7 @@ V3Header.defaultProps = {
631
631
  cta_leftVariantIcon: "zap",
632
632
  cta_leftVariantIconColor: "#6C737F",
633
633
  cta_text: "Get Started",
634
- cta_link:
635
- "https://cloud.hasura.io/signup?pg=nav&plcmt=product-dropdown&cta=get-started",
634
+ cta_link: "https://console.hasura.io/",
636
635
  },
637
636
  ],
638
637
  },
@@ -649,44 +648,51 @@ V3Header.defaultProps = {
649
648
  },
650
649
  {
651
650
  description: "",
652
- href: "/graphql/database/mongodb",
651
+ href: "/graphql/database/mysql",
653
652
  icon: "database01",
654
- name: "MongoDB",
653
+ name: "MySQL",
655
654
  strokeClass: "stroke-blue-500",
656
655
  },
657
656
  {
658
657
  description: "",
659
- href: "/graphql/database/mysql",
658
+ href: "/graphql/database/elasticsearch",
660
659
  icon: "database01",
661
- name: "MySQL",
660
+ name: "Elasticsearch",
662
661
  strokeClass: "stroke-blue-500",
663
662
  },
664
663
  {
665
664
  description: "",
666
- href: "/graphql/database/snowflake",
665
+ href: "/graphql/database/sql-server",
667
666
  icon: "database01",
668
- name: "Snowflake",
667
+ name: "SQL Server",
669
668
  strokeClass: "stroke-blue-500",
670
669
  },
671
670
  {
672
671
  description: "",
673
- href: "/graphql/database/oracle",
672
+ href: "/graphql/database/mongodb",
674
673
  icon: "database01",
675
- name: "Oracle",
674
+ name: "MongoDB",
676
675
  strokeClass: "stroke-blue-500",
677
676
  },
678
677
  {
679
678
  description: "",
680
- href: "/graphql/database/sql-server",
679
+ href: "/graphql/database/snowflake",
681
680
  icon: "database01",
682
- name: "SQL Server",
681
+ name: "Snowflake",
682
+ strokeClass: "stroke-blue-500",
683
+ },
684
+ {
685
+ description: "",
686
+ href: "/graphql/database/clickhouse",
687
+ icon: "database01",
688
+ name: "ClickHouse",
683
689
  strokeClass: "stroke-blue-500",
684
690
  },
685
691
  {
686
692
  description: "",
687
693
  href: "/graphql/database",
688
694
  icon: "database01",
689
- name: "See all",
695
+ name: "More",
690
696
  strokeClass: "stroke-blue-500",
691
697
  },
692
698
  ],
@@ -694,7 +700,8 @@ V3Header.defaultProps = {
694
700
  ],
695
701
  flyoutD: {
696
702
  link: "https://hasura.io/ddn",
697
- cardImg: `https://res.cloudinary.com/dh8fp23nd/image/upload/v1716906625/Frame_12754_2_iaixzx.png`,
703
+ cardImg: `https://res.cloudinary.com/dh8fp23nd/image/upload/v1721205269/Frame_2610016_1_jluh5u.png`,
704
+ cardImgAlt: "Hasura DDN",
698
705
  },
699
706
  },
700
707
  {
@@ -704,56 +711,16 @@ V3Header.defaultProps = {
704
711
  childArray: [
705
712
  {
706
713
  description: "",
707
- href: "/docs/latest/index/",
714
+ href: "/docs/3.0/index/",
708
715
  icon: "file02",
709
716
  name: "Documentation",
710
717
  strokeClass: "stroke-neutral-500",
711
718
  },
712
719
  {
713
720
  description: "",
714
- href: "/hub",
715
- icon: "hasura",
716
- name: "Hasura Hub",
717
- strokeClass: "stroke-neutral-500",
718
- },
719
- {
720
- description: "",
721
- href: "/reference-app/",
721
+ href: "/connectors",
722
722
  icon: "route",
723
- name: "Guides",
724
- strokeClass: "stroke-neutral-500",
725
- },
726
- {
727
- description: "",
728
- href: "/graphql/",
729
- icon: "asterisk02",
730
- name: "GraphQL Hub",
731
- strokeClass: "stroke-neutral-500",
732
- },
733
- {
734
- description: "",
735
- href: "https://cloud.hasura.io/public/graphiql",
736
- icon: "codebrowser",
737
- name: "GraphiQL",
738
- strokeClass: "stroke-neutral-500",
739
- },
740
- {
741
- description: "",
742
- href: "/changelog",
743
- icon: "gitpullrequest",
744
- name: "Changelog",
745
- strokeClass: "stroke-neutral-500",
746
- },
747
- ],
748
- label: "BUILD",
749
- },
750
- {
751
- childArray: [
752
- {
753
- description: "",
754
- href: "/blog",
755
- icon: "bookopen01",
756
- name: "Blog",
723
+ name: "Connector Hub",
757
724
  strokeClass: "stroke-neutral-500",
758
725
  },
759
726
  {
@@ -763,23 +730,63 @@ V3Header.defaultProps = {
763
730
  name: "Tutorials",
764
731
  strokeClass: "stroke-neutral-500",
765
732
  },
766
- {
767
- description: "",
768
- href: "/events",
769
- icon: "calendarplus02",
770
- name: "Events",
771
- strokeClass: "stroke-neutral-500",
772
- },
773
- {
774
- description: "",
775
- href: "/sample-apps/",
776
- icon: "box",
777
- name: "Resources",
778
- strokeClass: "stroke-neutral-500",
779
- },
733
+ // {
734
+ // description: "",
735
+ // href: "/graphql/",
736
+ // icon: "asterisk02",
737
+ // name: "GraphQL Hub",
738
+ // strokeClass: "stroke-neutral-500",
739
+ // },
740
+ // {
741
+ // description: "",
742
+ // href: "https://cloud.hasura.io/public/graphiql",
743
+ // icon: "codebrowser",
744
+ // name: "GraphiQL",
745
+ // strokeClass: "stroke-neutral-500",
746
+ // },
747
+ // {
748
+ // description: "",
749
+ // href: "/changelog",
750
+ // icon: "gitpullrequest",
751
+ // name: "Changelog",
752
+ // strokeClass: "stroke-neutral-500",
753
+ // },
780
754
  ],
781
- label: "Learn",
755
+ label: "BUILD",
782
756
  },
757
+ // {
758
+ // childArray: [
759
+ // {
760
+ // description: "",
761
+ // href: "/blog",
762
+ // icon: "bookopen01",
763
+ // name: "Blog",
764
+ // strokeClass: "stroke-neutral-500",
765
+ // },
766
+ // {
767
+ // description: "",
768
+ // href: "/learn/",
769
+ // icon: "graduationhat02",
770
+ // name: "Tutorials",
771
+ // strokeClass: "stroke-neutral-500",
772
+ // },
773
+ // {
774
+ // description: "",
775
+ // href: "/events",
776
+ // icon: "calendarplus02",
777
+ // name: "Events",
778
+ // strokeClass: "stroke-neutral-500",
779
+ // },
780
+ // {
781
+ // description: "",
782
+ // href: "/sample-apps/",
783
+ // icon: "box",
784
+ // name: "Resources",
785
+ // strokeClass: "stroke-neutral-500",
786
+ // },
787
+ // ],
788
+ // label: "Learn",
789
+ // },
783
790
  {
784
791
  childArray: [
785
792
  {
@@ -814,6 +821,11 @@ V3Header.defaultProps = {
814
821
  label: "Connect",
815
822
  },
816
823
  ],
824
+ flyoutD: {
825
+ link: "https://hasura.io/events/community-call/latest",
826
+ cardImg: `https://res.cloudinary.com/dh8fp23nd/image/upload/v1721210357/cc-blog-july_2_1_k8k22u.png`,
827
+ cardImgAlt: "Hasura Community Call",
828
+ },
817
829
  tertiaryCard: [
818
830
  {
819
831
  title: "HasuraCon 2023 is here!",
@@ -842,79 +854,6 @@ V3Header.defaultProps = {
842
854
  title: "Customers",
843
855
  href: "",
844
856
  },
845
-
846
- {
847
- title: "Company",
848
- secondaryCardArr: [
849
- {
850
- childArray: [
851
- {
852
- description: "",
853
- href: "/about/",
854
- icon: "pentool02",
855
- name: "Our Story",
856
- strokeClass: "stroke-neutral-500",
857
- },
858
- {
859
- description: "",
860
- href: "/partners",
861
- icon: "intersectcircle",
862
- name: "Partners",
863
- strokeClass: "stroke-neutral-500",
864
- },
865
- {
866
- description: "",
867
- href: "/careers/",
868
- icon: "hearthand",
869
- name: "Work at Hasura",
870
- strokeClass: "stroke-neutral-500",
871
- },
872
- // {
873
- // description: '',
874
- // href: '/press/',
875
- // icon: 'headingsquare',
876
- // name: 'Newsroom',
877
- // strokeClass: 'stroke-neutral-500'
878
- // },
879
- // {
880
- // description: '',
881
- // href: '/brand',
882
- // icon: 'star06',
883
- // name: 'Brand',
884
- // strokeClass: 'stroke-neutral-500'
885
- // },
886
- ],
887
- label: "Company",
888
- },
889
- ],
890
- tertiaryCard: [
891
- {
892
- title: "HasuraCon 2023 is here!",
893
-
894
- title_colorClass: "text-neutral-900",
895
- img_url:
896
- "https://res.cloudinary.com/hasura-cms-uploads/image/upload/v1687040455/hascon_211daeb83a.png",
897
- },
898
- {
899
- title: "Top 6 Architecture Trends for API Development",
900
-
901
- title_colorClass: "text-neutral-900",
902
- img_url:
903
- "https://res.cloudinary.com/hasura-cms-uploads/image/upload/v1687040455/api_trends_0a035678d8.png",
904
- },
905
- {
906
- title: "Announcing Hasura integration with Snowflake",
907
-
908
- title_colorClass: "text-neutral-900",
909
- img_url:
910
- "https://res.cloudinary.com/hasura-cms-uploads/image/upload/v1687040455/snowflake_def20494db.png",
911
- },
912
- ],
913
- },
914
- {
915
- title: "Pricing",
916
- href: "",
917
- },
918
857
  ],
919
858
  headerUrl: "/",
920
859
  };