diff --git a/.changeset/gold-buses-drop.md b/.changeset/gold-buses-drop.md new file mode 100644 index 000000000..48e6a2468 --- /dev/null +++ b/.changeset/gold-buses-drop.md @@ -0,0 +1,5 @@ +--- +"@theguild/components": patch +--- + +Change links to point to /ecosystem page diff --git a/packages/components/src/components/explore-main-product-cards.tsx b/packages/components/src/components/explore-main-product-cards.tsx index 862d64f63..3b018f9eb 100644 --- a/packages/components/src/components/explore-main-product-cards.tsx +++ b/packages/components/src/components/explore-main-product-cards.tsx @@ -6,9 +6,15 @@ import { ArrowIcon } from './icons'; import { MainProductCard } from './product-card'; import { TextLink } from './text-link'; -export type ExploreMainProductCardsProps = HTMLAttributes; +export interface ExploreMainProductCardsProps extends HTMLAttributes { + isHive?: boolean; +} -export function ExploreMainProductCards({ className, ...rest }: ExploreMainProductCardsProps) { +export function ExploreMainProductCards({ + className, + isHive, + ...rest +}: ExploreMainProductCardsProps) { return (
Explore Hive 360° GraphQL Ecosystem to reach full potential - {/* TODO: Replace with a link to the Libraries page */} - + Learn more diff --git a/packages/components/src/components/hive-navigation/index.tsx b/packages/components/src/components/hive-navigation/index.tsx index 4fc89fcd0..6550c18d9 100644 --- a/packages/components/src/components/hive-navigation/index.tsx +++ b/packages/components/src/components/hive-navigation/index.tsx @@ -36,8 +36,6 @@ import { export * from './graphql-conf-card'; -const EXPLORE_HREF = 'https://github.com/the-guild-org'; - const ENTERPRISE_MENU_HIDDEN = true; export interface HiveNavigationProps { @@ -297,7 +295,9 @@ export const ProductsMenu = React.forwardRef( })} Explore all libraries diff --git a/packages/components/src/components/tools-and-libraries-cards/index.tsx b/packages/components/src/components/tools-and-libraries-cards/index.tsx index ef34c6664..4db170a69 100644 --- a/packages/components/src/components/tools-and-libraries-cards/index.tsx +++ b/packages/components/src/components/tools-and-libraries-cards/index.tsx @@ -1,22 +1,25 @@ +import { HTMLAttributes } from 'react'; import { cn } from '../../cn'; import { FOUR_MAIN_PRODUCTS, SIX_HIGHLIGHTED_PRODUCTS } from '../../products'; import { CallToAction } from '../call-to-action'; import { Heading } from '../heading'; import { AncillaryProductCard, MainProductCard } from '../product-card'; +export interface ToolsAndLibrariesCardsProps extends HTMLAttributes { + isHive?: boolean; +} export function ToolsAndLibrariesCards({ className, isHive, -}: { - className?: string; - isHive?: boolean; -}) { + ...rest +}: ToolsAndLibrariesCardsProps) { return (
Discover the complete ecosystem of tools and libraries