@theguild/components 7.2.0-alpha-20241101220642-0b6682d9cf4196529799e8ad0e38b83426590e93 → 8.0.0-alpha-20241103132221-f9d255adde945cffb98f9f7c914ac29896a15819

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.
Files changed (117) hide show
  1. package/dist/chunk-ME7V4BHY.js +10 -0
  2. package/dist/cn.d.mts +5 -0
  3. package/dist/cn.js +8 -0
  4. package/dist/components/anchor.d.mts +11 -0
  5. package/dist/components/anchor.js +30 -0
  6. package/dist/components/button.d.mts +13 -0
  7. package/dist/components/button.js +25 -0
  8. package/dist/components/call-to-action.d.mts +38 -0
  9. package/dist/components/call-to-action.js +42 -0
  10. package/dist/components/cards-colorful.d.mts +19 -0
  11. package/dist/components/cards-colorful.js +20 -0
  12. package/dist/components/cookies-consent.d.mts +7 -0
  13. package/dist/components/cookies-consent.js +48 -0
  14. package/dist/components/decorations/index.d.mts +11 -0
  15. package/dist/components/decorations/index.js +72 -0
  16. package/dist/components/feature-list.d.mts +9 -0
  17. package/dist/components/feature-list.js +41 -0
  18. package/dist/components/footer.d.mts +9 -0
  19. package/dist/components/footer.js +116 -0
  20. package/dist/components/get-your-api-game-right-section.d.mts +7 -0
  21. package/dist/components/get-your-api-game-right-section.js +122 -0
  22. package/dist/components/giscus.d.mts +6 -0
  23. package/dist/components/giscus.js +14 -0
  24. package/dist/components/guild-navbar-logo.d.mts +19 -0
  25. package/dist/components/guild-navbar-logo.js +62 -0
  26. package/dist/components/heading.d.mts +10 -0
  27. package/dist/components/heading.js +36 -0
  28. package/dist/components/hero-gradient.d.mts +9 -0
  29. package/dist/components/hero-gradient.js +82 -0
  30. package/dist/components/hero-illustration.d.mts +9 -0
  31. package/dist/components/hero-illustration.js +31 -0
  32. package/dist/components/hero-marketplace.d.mts +9 -0
  33. package/dist/components/hero-marketplace.js +78 -0
  34. package/dist/components/hero-video.d.mts +9 -0
  35. package/dist/components/hero-video.js +73 -0
  36. package/dist/components/hive-footer.d.mts +11 -0
  37. package/dist/components/hive-footer.js +252 -0
  38. package/dist/components/hive-navigation/graphql-conf-card.d.mts +9 -0
  39. package/dist/components/hive-navigation/graphql-conf-card.js +26 -0
  40. package/dist/components/hive-navigation/index.d.mts +55 -0
  41. package/dist/components/hive-navigation/index.js +392 -0
  42. package/dist/components/hive-navigation/navigation-menu.d.mts +23 -0
  43. package/dist/components/hive-navigation/navigation-menu.js +179 -0
  44. package/dist/components/icons/index.d.mts +6 -0
  45. package/dist/{chunk-XKCA3AB7.js → components/icons/index.js} +29 -266
  46. package/dist/components/image.d.mts +6 -0
  47. package/dist/components/image.js +8 -0
  48. package/dist/components/index.d.mts +44 -0
  49. package/dist/components/index.js +52 -0
  50. package/dist/components/info-card.d.mts +11 -0
  51. package/dist/components/info-card.js +20 -0
  52. package/dist/components/info-list.d.mts +9 -0
  53. package/dist/components/info-list.js +27 -0
  54. package/dist/components/legacy-package-cmd.d.mts +13 -0
  55. package/dist/components/legacy-package-cmd.js +54 -0
  56. package/dist/components/marketplace-list.d.mts +9 -0
  57. package/dist/components/marketplace-list.js +118 -0
  58. package/dist/components/marketplace-search.d.mts +9 -0
  59. package/dist/components/marketplace-search.js +111 -0
  60. package/dist/components/npm-badge.d.mts +7 -0
  61. package/dist/components/npm-badge.js +16 -0
  62. package/dist/components/schema-type.d.mts +9 -0
  63. package/dist/components/schema-type.js +80 -0
  64. package/dist/components/stud.d.mts +7 -0
  65. package/dist/components/stud.js +17 -0
  66. package/dist/components/tag.d.mts +13 -0
  67. package/dist/components/tag.js +26 -0
  68. package/dist/components/theme-switcher.d.mts +7 -0
  69. package/dist/components/theme-switcher.js +17 -0
  70. package/dist/components/tools-and-libraries-cards.d.mts +7 -0
  71. package/dist/components/tools-and-libraries-cards.js +442 -0
  72. package/dist/constants.d.mts +7 -0
  73. package/dist/constants.js +7 -0
  74. package/dist/helpers/render-slot.d.mts +3 -0
  75. package/dist/helpers/render-slot.js +21 -0
  76. package/dist/index.d.mts +64 -339
  77. package/dist/index.js +21 -3115
  78. package/dist/logos/index.d.mts +26 -0
  79. package/dist/{chunk-EWF5AT2G.js → logos/index.js} +68 -53
  80. package/dist/mdx-components.d.mts +5 -0
  81. package/dist/mdx-components.js +50 -0
  82. package/dist/products.d.mts +10 -5
  83. package/dist/products.js +230 -5
  84. package/dist/server/index.d.mts +5 -0
  85. package/dist/server/index.js +12 -0
  86. package/dist/server/next.config.d.mts +10 -0
  87. package/dist/server/next.config.js +107 -0
  88. package/dist/server/npm.d.mts +21 -0
  89. package/dist/server/npm.js +75 -0
  90. package/dist/server/package.json +1 -0
  91. package/dist/server/pages.d.mts +1 -0
  92. package/dist/server/pages.js +5 -0
  93. package/dist/server/underscore-redirects.d.mts +3 -0
  94. package/dist/server/underscore-redirects.js +40 -0
  95. package/dist/static/illustrations/marketplace-cube-bl.d.mts +2 -0
  96. package/dist/static/illustrations/marketplace-cube-br.d.mts +2 -0
  97. package/dist/static/illustrations/marketplace-cube-tl.d.mts +2 -0
  98. package/dist/static/illustrations/marketplace-cube-tr.d.mts +2 -0
  99. package/dist/static/illustrations/marketplace-desktop.d.mts +2 -0
  100. package/dist/static/illustrations/marketplace-mobile.d.mts +2 -0
  101. package/dist/theme-layout.d.mts +39 -0
  102. package/dist/theme-layout.js +144 -0
  103. package/dist/types/components.d.mts +121 -0
  104. package/dist/types/components.js +0 -0
  105. package/package.json +19 -36
  106. package/style.css +10 -8
  107. package/dist/compile.mjs +0 -11
  108. package/dist/index.css +0 -133
  109. package/dist/logos.d.mts +0 -32
  110. package/dist/logos.js +0 -54
  111. package/dist/next.config.mjs +0 -135
  112. /package/dist/{marketplace-cube-bl-42X7Y3KO.png → static/illustrations/marketplace-cube-bl.png} +0 -0
  113. /package/dist/{marketplace-cube-br-Y5MZRDIL.png → static/illustrations/marketplace-cube-br.png} +0 -0
  114. /package/dist/{marketplace-cube-tl-PEJKW6RX.png → static/illustrations/marketplace-cube-tl.png} +0 -0
  115. /package/dist/{marketplace-cube-tr-O5XQ6Q4N.png → static/illustrations/marketplace-cube-tr.png} +0 -0
  116. /package/dist/{marketplace-desktop-7XUR54PR.png → static/illustrations/marketplace-desktop.png} +0 -0
  117. /package/dist/{marketplace-mobile-DI462WKF.png → static/illustrations/marketplace-mobile.png} +0 -0
@@ -0,0 +1,10 @@
1
+ // src/cn.ts
2
+ import { clsx } from "clsx";
3
+ import { twMerge } from "tailwind-merge";
4
+ var cn = (...args) => {
5
+ return twMerge(clsx(args));
6
+ };
7
+
8
+ export {
9
+ cn
10
+ };
package/dist/cn.d.mts ADDED
@@ -0,0 +1,5 @@
1
+ import { clsx } from 'clsx';
2
+
3
+ declare const cn: typeof clsx;
4
+
5
+ export { cn };
package/dist/cn.js ADDED
@@ -0,0 +1,8 @@
1
+ import { clsx } from "clsx";
2
+ import { twMerge } from "tailwind-merge";
3
+ const cn = (...args) => {
4
+ return twMerge(clsx(args));
5
+ };
6
+ export {
7
+ cn
8
+ };
@@ -0,0 +1,11 @@
1
+ import * as react from 'react';
2
+ import { ILink } from '../types/components.mjs';
3
+ import 'next/image';
4
+ import 'next/link';
5
+ import 'react-player';
6
+
7
+ interface AnchorProps extends ILink {
8
+ }
9
+ declare const Anchor: react.ForwardRefExoticComponent<AnchorProps & react.RefAttributes<HTMLAnchorElement>>;
10
+
11
+ export { Anchor, type AnchorProps };
@@ -0,0 +1,30 @@
1
+ import { Fragment, jsx } from "react/jsx-runtime";
2
+ import { forwardRef } from "react";
3
+ import NextLink from "next/link";
4
+ import clsx from "clsx";
5
+ const Anchor = forwardRef(function Anchor2({ href = "", children, newWindow, className, ...props }, forwardedRef) {
6
+ const classes = clsx(className, "outline-none transition focus-visible:ring");
7
+ if (typeof href === "string") {
8
+ if (href.startsWith("#")) {
9
+ return /* @__PURE__ */ jsx("a", { ref: forwardedRef, href, className: classes, ...props, children });
10
+ }
11
+ if (newWindow && /^https?:\/\//.test(href)) {
12
+ return /* @__PURE__ */ jsx(
13
+ "a",
14
+ {
15
+ ref: forwardedRef,
16
+ href,
17
+ target: "_blank",
18
+ rel: "noreferrer",
19
+ className: classes,
20
+ ...props,
21
+ children
22
+ }
23
+ );
24
+ }
25
+ }
26
+ return /* @__PURE__ */ jsx(NextLink, { ref: forwardedRef, href, ...props, className: classes, legacyBehavior: false, children: /* @__PURE__ */ jsx(Fragment, { children }) });
27
+ });
28
+ export {
29
+ Anchor
30
+ };
@@ -0,0 +1,13 @@
1
+ import { ReactElement } from 'react';
2
+ import { AnchorProps } from './anchor.mjs';
3
+ import '../types/components.mjs';
4
+ import 'next/image';
5
+ import 'next/link';
6
+ import 'react-player';
7
+
8
+ interface ButtonProps extends AnchorProps {
9
+ variant?: 'primary' | 'secondary';
10
+ }
11
+ declare const Button: ({ children, className, variant, ...props }: ButtonProps) => ReactElement;
12
+
13
+ export { Button, type ButtonProps };
@@ -0,0 +1,25 @@
1
+ import { jsx } from "react/jsx-runtime";
2
+ import clsx from "clsx";
3
+ import { Anchor } from "./anchor";
4
+ const Button = ({
5
+ children,
6
+ className,
7
+ variant = "primary",
8
+ ...props
9
+ }) => {
10
+ return /* @__PURE__ */ jsx(
11
+ Anchor,
12
+ {
13
+ className: clsx(
14
+ "flex-none rounded-md p-3 text-center text-xs font-medium hover:shadow-lg md:px-5",
15
+ variant === "primary" ? "bg-cyan-400 text-white hover:shadow-cyan-400/40" : "bg-white text-black hover:shadow-white/40",
16
+ className
17
+ ),
18
+ ...props,
19
+ children
20
+ }
21
+ );
22
+ };
23
+ export {
24
+ Button
25
+ };
@@ -0,0 +1,38 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import { Anchor } from './anchor.mjs';
3
+ import 'react';
4
+ import '../types/components.mjs';
5
+ import 'next/image';
6
+ import 'next/link';
7
+ import 'react-player';
8
+
9
+ declare const variantStyles: {
10
+ primary: string;
11
+ 'primary-inverted': string;
12
+ secondary: string;
13
+ 'secondary-inverted': string;
14
+ tertiary: string;
15
+ };
16
+ declare namespace CallToActionProps {
17
+ type Variant = keyof typeof variantStyles;
18
+ interface BaseProps {
19
+ variant: Variant;
20
+ }
21
+ interface AnchorProps extends BaseProps, React.ComponentPropsWithoutRef<typeof Anchor> {
22
+ href: string;
23
+ }
24
+ interface ButtonProps extends BaseProps, React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement> {
25
+ href?: never;
26
+ onClick: (event: React.MouseEvent<HTMLButtonElement>) => void;
27
+ }
28
+ }
29
+ type CallToActionProps = CallToActionProps.AnchorProps | CallToActionProps.ButtonProps;
30
+ /**
31
+ * This is called `Button` in Figma in the new Hive brand design system.
32
+ * It's a styled variant of {@link Anchor}.
33
+ *
34
+ * // TODO: Consider renaming it to `Button`.
35
+ */
36
+ declare function CallToAction(props: CallToActionProps): react_jsx_runtime.JSX.Element;
37
+
38
+ export { CallToAction, CallToActionProps };
@@ -0,0 +1,42 @@
1
+ import { jsx, jsxs } from "react/jsx-runtime";
2
+ import { cn } from "../cn";
3
+ import { Anchor } from "./anchor";
4
+ const variantStyles = {
5
+ primary: cn(
6
+ "bg-primary hover:bg-green-800 hover:text-white focus-visible:outline-2 focus-visible:outline-offset-1 focus-visible:outline-green-800 dark:bg-neutral-100 dark:text-neutral-800 dark:hover:bg-white dark:hover:text-neutral-900"
7
+ ),
8
+ "primary-inverted": cn(
9
+ "bg-primary hover:bg-white focus-visible:outline-4 focus-visible:outline-offset-0 focus-visible:outline-white/40"
10
+ ),
11
+ secondary: cn(
12
+ "bg-green-300 hover:bg-green-200 focus-visible:outline-2 focus-visible:outline-offset-1 focus-visible:outline-green-300/40"
13
+ ),
14
+ "secondary-inverted": cn(
15
+ "bg-green-800 text-white hover:bg-green-700 focus-visible:outline-2 focus-visible:outline-offset-1 focus-visible:outline-green-800/40"
16
+ ),
17
+ tertiary: cn(
18
+ "bg-transparent text-green-1000 focus-visible:outline-2 focus-visible:outline-offset-1 focus-visible:outline-green-800"
19
+ )
20
+ };
21
+ function CallToAction(props) {
22
+ const className = cn(
23
+ "relative flex items-center justify-center gap-2 text-nowrap rounded-lg px-6 py-3 font-medium leading-6 text-green-1000 focus-visible:outline focus-visible:ring-0 focus-visible:ring-offset-0 sm:w-fit dark:text-neutral-200 [&:hover>:first-child]:-inset-px [&:hover>:first-child]:rounded-[9px]",
24
+ variantStyles[props.variant],
25
+ props.className
26
+ );
27
+ if ("href" in props && typeof props.href === "string") {
28
+ const { className: _12, variant: _22, children: children2, ...rest2 } = props;
29
+ return /* @__PURE__ */ jsxs(Anchor, { className, ...rest2, children: [
30
+ /* @__PURE__ */ jsx("div", { className: "absolute inset-0 rounded-lg border border-green-800 dark:border-neutral-200" }),
31
+ children2
32
+ ] });
33
+ }
34
+ const { className: _1, variant: _2, children, ...rest } = props;
35
+ return /* @__PURE__ */ jsxs("button", { className, ...rest, children: [
36
+ /* @__PURE__ */ jsx("div", { className: "absolute inset-0 rounded-lg border border-green-800 dark:border-neutral-200" }),
37
+ children
38
+ ] });
39
+ }
40
+ export {
41
+ CallToAction
42
+ };
@@ -0,0 +1,19 @@
1
+ import { ReactElement } from 'react';
2
+ import { ILink } from '../types/components.mjs';
3
+ import 'next/image';
4
+ import 'next/link';
5
+ import 'react-player';
6
+
7
+ type CardsColorfulProps = {
8
+ className?: string;
9
+ cards: {
10
+ title: string;
11
+ description: string;
12
+ category: string;
13
+ color: string;
14
+ link: Omit<ILink, 'children'>;
15
+ }[];
16
+ };
17
+ declare const CardsColorful: ({ cards, className }: CardsColorfulProps) => ReactElement;
18
+
19
+ export { CardsColorful, type CardsColorfulProps };
@@ -0,0 +1,20 @@
1
+ import { jsx, jsxs } from "react/jsx-runtime";
2
+ import clsx from "clsx";
3
+ import { Anchor } from "./anchor";
4
+ const CardsColorful = ({ cards, className }) => /* @__PURE__ */ jsx("section", { className: clsx("bg-white py-8 dark:bg-dark", className), children: /* @__PURE__ */ jsx("div", { className: "container flex flex-wrap space-y-6 md:flex-nowrap md:space-x-8 md:space-y-0", children: cards.map((card) => /* @__PURE__ */ jsx(
5
+ Anchor,
6
+ {
7
+ className: "relative min-h-[200px] w-full rounded-3xl p-8 text-white [background:var(--color)] after:absolute after:right-0 after:top-0 after:h-full after:w-[calc(30%-1rem)] after:rounded-3xl after:bg-white/10 after:content-[''] md:h-72 md:w-1/2 md:hover:scale-105 md:hover:shadow-xl lg:after:w-[calc(50%-1rem)]",
8
+ style: { "--color": card.color },
9
+ ...card.link,
10
+ children: /* @__PURE__ */ jsxs("div", { className: "w-3/4 lg:w-1/2", children: [
11
+ /* @__PURE__ */ jsx("h2", { className: "pb-1.5 text-xs font-semibold uppercase opacity-60", children: card.category }),
12
+ /* @__PURE__ */ jsx("h3", { className: "pb-2.5 text-2xl font-bold md:text-3xl", children: card.title }),
13
+ /* @__PURE__ */ jsx("p", { className: "text-xs font-medium opacity-60", children: card.description })
14
+ ] })
15
+ },
16
+ card.title
17
+ )) }) });
18
+ export {
19
+ CardsColorful
20
+ };
@@ -0,0 +1,7 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+
3
+ interface CookiesConsentProps extends React.HTMLAttributes<HTMLElement> {
4
+ }
5
+ declare function CookiesConsent(props: CookiesConsentProps): react_jsx_runtime.JSX.Element | null;
6
+
7
+ export { CookiesConsent, type CookiesConsentProps };
@@ -0,0 +1,48 @@
1
+ "use client";
2
+ import { jsx, jsxs } from "react/jsx-runtime";
3
+ import { useState } from "react";
4
+ import { cn } from "../cn";
5
+ import { CallToAction } from "./call-to-action";
6
+ function CookiesConsent(props) {
7
+ const [consented, setConsented] = useState(() => localStorage.getItem("cookies") === "true");
8
+ const onAccept = () => {
9
+ setConsented(true);
10
+ localStorage.setItem("cookies", "true");
11
+ };
12
+ if (consented) {
13
+ return null;
14
+ }
15
+ return /* @__PURE__ */ jsxs(
16
+ "div",
17
+ {
18
+ ...props,
19
+ className: cn(
20
+ "fixed bottom-0 z-50 flex flex-wrap items-center justify-center gap-x-4 gap-y-3 rounded-lg border border-beige-200 bg-beige-100 p-4 text-sm text-green-800 shadow-xl lg:flex-nowrap lg:justify-between lg:text-left dark:border-neutral-800 dark:bg-neutral-900 dark:text-neutral-200",
21
+ props.className
22
+ ),
23
+ children: [
24
+ /* @__PURE__ */ jsxs("div", { children: [
25
+ /* @__PURE__ */ jsx("p", { className: "max-sm:inline", children: "This site uses cookies for analytics and improving your experience." }),
26
+ " ",
27
+ /* @__PURE__ */ jsx("p", { className: "max-sm:inline", children: "By using our services, you consent to cookies." })
28
+ ] }),
29
+ /* @__PURE__ */ jsxs("div", { className: "ml-auto flex w-auto items-center justify-end gap-4", children: [
30
+ /* @__PURE__ */ jsx(
31
+ "a",
32
+ {
33
+ href: "https://the-guild.dev/graphql/hive/privacy-policy.pdf",
34
+ className: "hive-focus whitespace-nowrap rounded p-1 hover:text-blue-700 hover:underline dark:hover:text-blue-100",
35
+ target: "_blank",
36
+ rel: "noopener noreferrer",
37
+ children: "Privacy Policy"
38
+ }
39
+ ),
40
+ /* @__PURE__ */ jsx(CallToAction, { variant: "tertiary", onClick: onAccept, className: "px-4 py-2", children: "Allow" })
41
+ ] })
42
+ ]
43
+ }
44
+ );
45
+ }
46
+ export {
47
+ CookiesConsent
48
+ };
@@ -0,0 +1,11 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ export { CaretSlimIcon as ArchDecoration, CaretSlimIcon as ArchDecorationGradientDefs, CaretSlimIcon as HighlightDecoration, CaretSlimIcon as LargeHiveIconDecoration } from '../icons/index.mjs';
3
+ import 'react';
4
+ import 'nextra/icons';
5
+
6
+ /**
7
+ * Decorations must be isolated, as clicking id links scrolls the container with overflow: hidden.
8
+ */
9
+ declare function DecorationIsolation(props: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
10
+
11
+ export { DecorationIsolation };
@@ -0,0 +1,72 @@
1
+ import {
2
+ cn
3
+ } from "../../chunk-ME7V4BHY.js";
4
+
5
+ // src/components/decorations/arch-decoration.svg
6
+ import { jsx } from "react/jsx-runtime";
7
+ var SvgArchDecoration = (props) => /* @__PURE__ */ jsx("svg", { width: 432, height: 432, viewBox: "0 0 432 432", preserveAspectRatio: "xMidYMid meet", ...props, children: /* @__PURE__ */ jsx("path", { d: "M.75 431v.25h90.24V160.868c0-38.596 31.282-69.878 69.878-69.878H431.25V.75H191.864a47.017 47.017 0 0 0-33.23 13.771l-68.07 68.071-7.972 7.971-68.07 68.071A47.018 47.018 0 0 0 .75 191.864V431Z", fill: "url(#arch-decoration-a)", stroke: "url(#arch-decoration-b)", strokeWidth: 0.5 }) });
8
+
9
+ // src/components/decorations/arch-decoration-gradient-defs.svg
10
+ import { jsx as jsx2, jsxs } from "react/jsx-runtime";
11
+ var SvgArchDecorationGradientDefs = (props) => /* @__PURE__ */ jsx2("svg", { width: 432, height: 432, viewBox: "0 0 432 432", className: "absolute -z-10", ...props, children: /* @__PURE__ */ jsxs("defs", { children: [
12
+ /* @__PURE__ */ jsxs("linearGradient", { id: "arch-decoration-a", x1: 48.5, y1: 53.5, x2: 302.5, y2: 341, gradientUnits: "userSpaceOnUse", children: [
13
+ /* @__PURE__ */ jsx2("stop", { stopColor: "#fff", stopOpacity: 0.1 }),
14
+ /* @__PURE__ */ jsx2("stop", { offset: 1, stopColor: "#fff", stopOpacity: 0.3 })
15
+ ] }),
16
+ /* @__PURE__ */ jsxs("linearGradient", { id: "arch-decoration-b", x1: 1, y1: 1, x2: 431, y2: 431, gradientUnits: "userSpaceOnUse", children: [
17
+ /* @__PURE__ */ jsx2("stop", { stopColor: "#fff", stopOpacity: 0.1 }),
18
+ /* @__PURE__ */ jsx2("stop", { offset: 1, stopColor: "#fff", stopOpacity: 0.4 })
19
+ ] })
20
+ ] }) });
21
+
22
+ // src/components/decorations/highlight-decoration.svg
23
+ import { jsx as jsx3, jsxs as jsxs2 } from "react/jsx-runtime";
24
+ var SvgHighlightDecoration = (props) => /* @__PURE__ */ jsxs2("svg", { width: 895, height: 674, viewBox: "0 0 895 674", fill: "#86B6C1", className: "firefox-highlight-fix", ...props, children: [
25
+ /* @__PURE__ */ jsx3("g", { filter: "url(#filter0_f_711_1774)", children: /* @__PURE__ */ jsx3("path", { d: "M350 280.534C350 296.208 356.24 311.261 367.33 322.351L453.447 408.468L463.532 418.553L549.649 504.67C560.739 515.76 575.792 522 591.466 522L894 522L894 408.468L552.251 408.468C503.249 408.468 463.532 368.751 463.532 319.749L463.532 -22L350 -22L350 280.534Z" }) }),
26
+ /* @__PURE__ */ jsx3("defs", { children: /* @__PURE__ */ jsxs2("filter", { id: "filter0_f_711_1774", x: -305176e-10, y: -372, width: 1244, height: 1244, filterUnits: "userSpaceOnUse", colorInterpolationFilters: "sRGB", children: [
27
+ /* @__PURE__ */ jsx3("feFlood", { floodOpacity: 0, result: "BackgroundImageFix" }),
28
+ /* @__PURE__ */ jsx3("feBlend", { mode: "normal", in: "SourceGraphic", in2: "BackgroundImageFix", result: "shape" }),
29
+ /* @__PURE__ */ jsx3("feGaussianBlur", { stdDeviation: 175, result: "effect1_foregroundBlur_711_1774" })
30
+ ] }) }),
31
+ /* @__PURE__ */ jsx3("style", { children: "\n @supports (-moz-appearance: none) {\n .firefox-highlight-fix {\n opacity: 0.3;\n filter: blur(175px);\n }\n }\n " })
32
+ ] });
33
+
34
+ // src/components/decorations/large-hive-icon-decoration.svg
35
+ import { jsx as jsx4, jsxs as jsxs3 } from "react/jsx-runtime";
36
+ var SvgLargeHiveIconDecoration = (props) => /* @__PURE__ */ jsxs3("svg", { width: 305, height: 217, viewBox: "0 0 305 217", fill: "none", ...props, children: [
37
+ /* @__PURE__ */ jsxs3("g", { clipPath: "url(#clip0_711_1997)", children: [
38
+ /* @__PURE__ */ jsx4("mask", { id: "a", fill: "#fff", children: /* @__PURE__ */ jsx4("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M91.485 0h122.03L305 91.485v122.03L213.515 305H91.485L0 213.515V91.485L91.485 0zm77.641 285.534l116.396-116.397c9.186-9.186 9.186-24.076 0-33.263L169.126 19.478c-9.187-9.186-24.077-9.186-33.263 0L19.478 135.874c-9.186 9.187-9.186 24.077 0 33.263l116.385 116.397c9.186 9.186 24.076 9.186 33.263 0zm-48.561-133.04l31.928-31.929 31.929 31.929-31.929 31.929-31.928-31.929z" }) }),
39
+ /* @__PURE__ */ jsx4("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M91.485 0h122.03L305 91.485v122.03L213.515 305H91.485L0 213.515V91.485L91.485 0zm77.641 285.534l116.396-116.397c9.186-9.186 9.186-24.076 0-33.263L169.126 19.478c-9.187-9.186-24.077-9.186-33.263 0L19.478 135.874c-9.186 9.187-9.186 24.077 0 33.263l116.385 116.397c9.186 9.186 24.076 9.186 33.263 0zm-48.561-133.04l31.928-31.929 31.929 31.929-31.929 31.929-31.928-31.929z", fill: "url(#paint0_linear_711_1997)" }),
40
+ /* @__PURE__ */ jsx4("path", { d: "M213.515 0l.707-.707L213.93-1h-.415v1zM91.485 0v-1h-.415l-.292.293.707.707zM305 91.485h1v-.415l-.293-.292-.707.707zm0 122.03l.707.707.293-.292v-.415h-1zM213.515 305v1h.415l.292-.293-.707-.707zm-122.03 0l-.707.707.292.293h.415v-1zM0 213.515h-1v.415l.293.292.707-.707zm0-122.03l-.707-.707-.293.292v.415h1zm285.522 77.652l.707.707-.707-.707zM169.126 285.534l-.708-.707.708.707zm116.396-149.66l.707-.707-.707.707zM169.126 19.478l-.708.707.708-.707zm-33.263 0l-.707-.707.707.707zM19.478 135.874l.707.708-.707-.708zm0 33.263l.707-.707-.707.707zm116.385 116.397l-.707.707.707-.707zm16.63-164.969l.708-.707-.708-.707-.707.707.707.707zm-31.928 31.929l-.707-.707-.708.707.708.707.707-.707zm63.857 0l.707.707.708-.707-.708-.707-.707.707zm-31.929 31.929l-.707.707.707.707.708-.707-.708-.707zM213.515-1H91.485v2h122.03v-2zm92.192 91.778L214.222-.707 212.808.707l91.485 91.485 1.414-1.414zM306 213.515V91.485h-2v122.03h2zm-91.778 92.192l91.485-91.485-1.414-1.414-91.485 91.485 1.414 1.414zM91.485 306h122.03v-2H91.485v2zM-.707 214.222l91.485 91.485 1.414-1.414L.707 212.808l-1.414 1.414zM-1 91.485v122.03h2V91.485h-2zM90.778-.707L-.707 90.778l1.414 1.414L92.192.707 90.778-.707zM284.815 168.43L168.418 284.827l1.415 1.414 116.396-116.397-1.414-1.414zm0-31.848c8.796 8.795 8.796 23.053 0 31.848l1.414 1.414c9.577-9.576 9.577-25.1 0-34.677l-1.414 1.415zM168.418 20.185l116.397 116.397 1.414-1.415L169.833 18.771l-1.415 1.414zm-31.848 0c8.795-8.796 23.053-8.796 31.848 0l1.415-1.414c-9.577-9.577-25.101-9.577-34.677 0l1.414 1.414zM20.185 136.582L136.57 20.185l-1.414-1.414L18.771 135.167l1.414 1.415zm0 31.848c-8.796-8.795-8.796-23.053 0-31.848l-1.414-1.415c-9.577 9.577-9.577 25.101 0 34.677l1.414-1.414zM136.57 284.827L20.185 168.43l-1.414 1.414 116.385 116.397 1.414-1.414zm31.848 0c-8.795 8.795-23.053 8.795-31.848 0l-1.414 1.414c9.576 9.577 25.1 9.577 34.677 0l-1.415-1.414zm-16.632-164.969l-31.928 31.929 1.414 1.414 31.929-31.929-1.415-1.414zm33.343 31.929l-31.928-31.929-1.415 1.414 31.929 31.929 1.414-1.414zm-31.928 33.343l31.928-31.929-1.414-1.414-31.929 31.929 1.415 1.414zm-33.343-31.929l31.928 31.929 1.415-1.414-31.929-31.929-1.414 1.414z", fill: "url(#paint1_linear_711_1997)", mask: "url(#a)" })
41
+ ] }),
42
+ /* @__PURE__ */ jsxs3("defs", { children: [
43
+ /* @__PURE__ */ jsxs3("linearGradient", { id: "paint0_linear_711_1997", x1: 0, y1: 0, x2: 305, y2: 305, gradientUnits: "userSpaceOnUse", children: [
44
+ /* @__PURE__ */ jsx4("stop", { stopColor: "#004540", stopOpacity: 0.4 }),
45
+ /* @__PURE__ */ jsx4("stop", { offset: 1, stopColor: "#004540" })
46
+ ] }),
47
+ /* @__PURE__ */ jsxs3("linearGradient", { id: "paint1_linear_711_1997", x1: 0, y1: 0, x2: 305, y2: 305, gradientUnits: "userSpaceOnUse", children: [
48
+ /* @__PURE__ */ jsx4("stop", { stopColor: "#4F6C6A", stopOpacity: 0.1 }),
49
+ /* @__PURE__ */ jsx4("stop", { offset: 1, stopColor: "#4F6C6A", stopOpacity: 0.8 })
50
+ ] }),
51
+ /* @__PURE__ */ jsx4("clipPath", { id: "clip0_711_1997", children: /* @__PURE__ */ jsx4("path", { fill: "#fff", d: "M0 0H305V305H0z" }) })
52
+ ] })
53
+ ] });
54
+
55
+ // src/components/decorations/index.tsx
56
+ import { jsx as jsx5 } from "react/jsx-runtime";
57
+ function DecorationIsolation(props) {
58
+ return /* @__PURE__ */ jsx5(
59
+ "div",
60
+ {
61
+ ...props,
62
+ className: cn("pointer-events-none absolute inset-0 overflow-hidden", props.className)
63
+ }
64
+ );
65
+ }
66
+ export {
67
+ SvgArchDecoration as ArchDecoration,
68
+ SvgArchDecorationGradientDefs as ArchDecorationGradientDefs,
69
+ DecorationIsolation,
70
+ SvgHighlightDecoration as HighlightDecoration,
71
+ SvgLargeHiveIconDecoration as LargeHiveIconDecoration
72
+ };
@@ -0,0 +1,9 @@
1
+ import { ReactElement } from 'react';
2
+ import { IFeatureListProps } from '../types/components.mjs';
3
+ import 'next/image';
4
+ import 'next/link';
5
+ import 'react-player';
6
+
7
+ declare const FeatureList: ({ title, description, items, link, className, }: IFeatureListProps) => ReactElement;
8
+
9
+ export { FeatureList };
@@ -0,0 +1,41 @@
1
+ import { jsx, jsxs } from "react/jsx-runtime";
2
+ import clsx from "clsx";
3
+ import { Anchor } from "./anchor";
4
+ import { Image } from "./image";
5
+ const FeatureList = ({
6
+ title,
7
+ description,
8
+ items,
9
+ link,
10
+ className
11
+ }) => /* @__PURE__ */ jsx("section", { className: clsx("bg-white dark:bg-dark", className), children: /* @__PURE__ */ jsxs("div", { className: "container py-14", children: [
12
+ title && /* @__PURE__ */ jsxs("div", { className: "mb-6 flex flex-col items-center", children: [
13
+ /* @__PURE__ */ jsx("h2", { className: "mb-1.5 mt-0 text-center text-2xl font-bold text-black md:text-3xl dark:text-gray-50", children: title }),
14
+ description && /* @__PURE__ */ jsx("div", { className: "mb-1.5 mt-1 text-center text-base text-gray-500 dark:text-gray-400", children: description }),
15
+ link && /* @__PURE__ */ jsx(
16
+ Anchor,
17
+ {
18
+ ...link,
19
+ className: clsx("w-max text-sm text-cyan-400 hover:text-cyan-300", link.className)
20
+ }
21
+ )
22
+ ] }),
23
+ /* @__PURE__ */ jsx("div", { className: "flex flex-wrap justify-center gap-12", children: items.map((item) => /* @__PURE__ */ jsxs("div", { className: "flex w-56 flex-col items-center", children: [
24
+ /* @__PURE__ */ jsx(Image, { ...item.image, className: clsx("w-28", item.image.className) }),
25
+ /* @__PURE__ */ jsx("h3", { className: "m-0 text-lg font-bold text-black dark:text-gray-50", children: item.title }),
26
+ /* @__PURE__ */ jsx("div", { className: "text-center text-sm text-gray-500 dark:text-gray-400", children: item.description }),
27
+ item.link && /* @__PURE__ */ jsx(
28
+ Anchor,
29
+ {
30
+ ...item.link,
31
+ className: clsx(
32
+ "mt-2 w-max text-sm text-cyan-400 hover:text-cyan-300",
33
+ item.link.className
34
+ )
35
+ }
36
+ )
37
+ ] }, item.title)) })
38
+ ] }) });
39
+ export {
40
+ FeatureList
41
+ };
@@ -0,0 +1,9 @@
1
+ import { ReactElement } from 'react';
2
+ import { IFooterExtendedProps } from '../types/components.mjs';
3
+ import 'next/image';
4
+ import 'next/link';
5
+ import 'react-player';
6
+
7
+ declare function Footer({ className, resources, logo }: IFooterExtendedProps): ReactElement;
8
+
9
+ export { Footer };
@@ -0,0 +1,116 @@
1
+ import { jsx, jsxs } from "react/jsx-runtime";
2
+ import { clsx } from "clsx";
3
+ import { siteOrigin } from "../constants";
4
+ import { GuildLogo, TheGuild } from "../logos";
5
+ import { PRODUCTS } from "../products";
6
+ import { Anchor } from "./anchor";
7
+ import {
8
+ CSAStarLevelOneIcon,
9
+ DiscordIcon,
10
+ GitHubIcon,
11
+ LinkedInIcon,
12
+ TwitterIcon,
13
+ YouTubeIcon
14
+ } from "./icons";
15
+ const COMPANY = [
16
+ {
17
+ children: "About",
18
+ title: "Learn more about us",
19
+ href: `${siteOrigin}/about-us`
20
+ },
21
+ {
22
+ children: "Blog",
23
+ title: "Read our blog",
24
+ href: `${siteOrigin}/blog`
25
+ },
26
+ {
27
+ children: "Newsletter",
28
+ title: "Newsletter",
29
+ href: `${siteOrigin}/newsletter`
30
+ }
31
+ ];
32
+ const COMMUNITY = [
33
+ {
34
+ icon: TwitterIcon,
35
+ title: "Visit our Twitter",
36
+ href: "https://twitter.com/TheGuildDev"
37
+ },
38
+ {
39
+ icon: LinkedInIcon,
40
+ title: "Visit our LinkedIn",
41
+ href: "https://linkedin.com/company/the-guild-software"
42
+ },
43
+ {
44
+ icon: DiscordIcon,
45
+ title: "Reach us on Discord",
46
+ href: "https://discord.com/invite/xud7bH9"
47
+ },
48
+ {
49
+ icon: GitHubIcon,
50
+ title: "Check our GitHub account",
51
+ href: "https://github.com/the-guild-org"
52
+ },
53
+ {
54
+ icon: YouTubeIcon,
55
+ title: "Watch Our Videos",
56
+ href: "https://youtube.com/watch?v=d_GBgH-L5c4&list=PLhCf3AUOg4PgQoY_A6xWDQ70yaNtPYtZd"
57
+ }
58
+ ];
59
+ const products = [
60
+ PRODUCTS.HIVE,
61
+ PRODUCTS.MESH,
62
+ PRODUCTS.YOGA,
63
+ PRODUCTS.CODEGEN,
64
+ PRODUCTS.NEXTRA,
65
+ { ...PRODUCTS.SOFA, name: "GraphQL to REST" }
66
+ ].map(({ name, href, title }) => ({
67
+ children: name,
68
+ href,
69
+ title
70
+ }));
71
+ const classes = {
72
+ title: clsx("mb-2.5 text-lg font-medium text-gray-900 dark:text-gray-100"),
73
+ anchor: clsx("text-gray-500 hover:text-black dark:text-[#b4b5be] hover:dark:text-gray-100")
74
+ };
75
+ const renderLinks = (list) => /* @__PURE__ */ jsx("ul", { className: "m-0 mb-8 list-none p-0 last:mb-0", children: list.map((link, i) => /* @__PURE__ */ jsx("li", { className: "mb-3 last:mb-0", children: /* @__PURE__ */ jsx(Anchor, { className: clsx(classes.anchor, "inline-block text-sm"), ...link }) }, i)) });
76
+ function Footer({ className, resources = [], logo }) {
77
+ return /* @__PURE__ */ jsx(
78
+ "footer",
79
+ {
80
+ className: clsx(
81
+ "bg-[#fafafa] py-[60px] text-base md:py-[140px] dark:bg-[#0f1114]",
82
+ className
83
+ ),
84
+ children: /* @__PURE__ */ jsx("div", { className: "container max-w-[90rem]", children: /* @__PURE__ */ jsxs("div", { className: "relative flex justify-between gap-10 max-md:flex-col", children: [
85
+ /* @__PURE__ */ jsxs(Anchor, { className: "flex items-center gap-2 self-start", href: `${siteOrigin}/`, ...logo, children: [
86
+ /* @__PURE__ */ jsx(GuildLogo, { className: "h-9 w-auto" }),
87
+ /* @__PURE__ */ jsx(TheGuild, { className: "h-7 w-auto" })
88
+ ] }),
89
+ /* @__PURE__ */ jsxs("div", { children: [
90
+ /* @__PURE__ */ jsx("h3", { className: classes.title, children: "Products" }),
91
+ /* @__PURE__ */ jsx("div", { className: "flex gap-6", children: renderLinks(products) })
92
+ ] }),
93
+ /* @__PURE__ */ jsxs("div", { children: [
94
+ /* @__PURE__ */ jsx("h3", { className: classes.title, children: "Resources" }),
95
+ renderLinks([
96
+ {
97
+ children: "Press Kit",
98
+ title: "Press Kit",
99
+ href: `${siteOrigin}/logos`
100
+ },
101
+ ...resources
102
+ ])
103
+ ] }),
104
+ /* @__PURE__ */ jsxs("div", { children: [
105
+ /* @__PURE__ */ jsx("h3", { className: classes.title, children: "Company" }),
106
+ renderLinks(COMPANY)
107
+ ] }),
108
+ /* @__PURE__ */ jsx("div", { className: "flex items-start gap-5 text-[#b4b5be]", children: COMMUNITY.map(({ icon: Icon, ...iconProps }) => /* @__PURE__ */ jsx(Anchor, { className: classes.anchor, ...iconProps, children: /* @__PURE__ */ jsx(Icon, { className: "h-5 w-auto" }) }, iconProps.title)) }),
109
+ /* @__PURE__ */ jsx(CSAStarLevelOneIcon, { className: "absolute right-0 ml-auto h-[4.5rem] w-auto md:bottom-0" })
110
+ ] }) })
111
+ }
112
+ );
113
+ }
114
+ export {
115
+ Footer
116
+ };
@@ -0,0 +1,7 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+
3
+ declare function GetYourAPIGameRightSection({ className }: {
4
+ className?: string;
5
+ }): react_jsx_runtime.JSX.Element;
6
+
7
+ export { GetYourAPIGameRightSection };