@theguild/components 7.5.2 → 7.6.0
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/dist/index.d.mts +27 -9
- package/dist/index.js +291 -260
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1106,7 +1106,7 @@ function MarketplaceSearchTabs({
|
|
|
1106
1106
|
) });
|
|
1107
1107
|
}
|
|
1108
1108
|
|
|
1109
|
-
// src/components/mdx-components.tsx
|
|
1109
|
+
// src/components/mdx-components/mdx-components.tsx
|
|
1110
1110
|
import { addBasePath } from "next/dist/client/add-base-path";
|
|
1111
1111
|
import NextImage2 from "next/image";
|
|
1112
1112
|
import clsx11 from "clsx";
|
|
@@ -1145,11 +1145,38 @@ var mdxComponents = {
|
|
|
1145
1145
|
}
|
|
1146
1146
|
};
|
|
1147
1147
|
|
|
1148
|
-
// src/components/
|
|
1148
|
+
// src/components/mdx-components/mdx-link.tsx
|
|
1149
|
+
import { forwardRef as forwardRef2 } from "react";
|
|
1149
1150
|
import { jsx as jsx18 } from "react/jsx-runtime";
|
|
1151
|
+
var MDXLink = forwardRef2(
|
|
1152
|
+
({ className, href, children, ...rest }, ref) => {
|
|
1153
|
+
return /* @__PURE__ */ jsx18(
|
|
1154
|
+
Anchor,
|
|
1155
|
+
{
|
|
1156
|
+
ref,
|
|
1157
|
+
className: cn(
|
|
1158
|
+
"hive-focus -mx-1 -my-0.5 rounded px-1 py-0.5 font-medium text-blue-700 underline underline-offset-2 hover:no-underline focus-visible:no-underline focus-visible:ring-current focus-visible:ring-offset-blue-200 dark:text-primary/90 dark:focus-visible:ring-primary/50",
|
|
1159
|
+
className
|
|
1160
|
+
),
|
|
1161
|
+
href: href || "",
|
|
1162
|
+
...rest,
|
|
1163
|
+
children
|
|
1164
|
+
}
|
|
1165
|
+
);
|
|
1166
|
+
}
|
|
1167
|
+
);
|
|
1168
|
+
MDXLink.displayName = "MDXLink";
|
|
1169
|
+
|
|
1170
|
+
// src/components/mdx-components/hive-mdx-components.ts
|
|
1171
|
+
var hiveMdxComponents = {
|
|
1172
|
+
a: MDXLink
|
|
1173
|
+
};
|
|
1174
|
+
|
|
1175
|
+
// src/components/npm-badge.tsx
|
|
1176
|
+
import { jsx as jsx19 } from "react/jsx-runtime";
|
|
1150
1177
|
var NPMBadge = ({ name }) => {
|
|
1151
1178
|
const encodedPackage = encodeURIComponent(name);
|
|
1152
|
-
return /* @__PURE__ */
|
|
1179
|
+
return /* @__PURE__ */ jsx19(Anchor, { href: `https://npmjs.com/package/${encodedPackage}`, newWindow: true, children: /* @__PURE__ */ jsx19(
|
|
1153
1180
|
"img",
|
|
1154
1181
|
{
|
|
1155
1182
|
src: `https://badge.fury.io/js/${encodedPackage}.svg`,
|
|
@@ -1161,7 +1188,7 @@ var NPMBadge = ({ name }) => {
|
|
|
1161
1188
|
|
|
1162
1189
|
// src/components/guild-navbar-logo.tsx
|
|
1163
1190
|
import clsx12 from "clsx";
|
|
1164
|
-
import { Fragment as Fragment4, jsx as
|
|
1191
|
+
import { Fragment as Fragment4, jsx as jsx20, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
1165
1192
|
function GuildUnifiedLogo({
|
|
1166
1193
|
children,
|
|
1167
1194
|
title,
|
|
@@ -1178,20 +1205,20 @@ function GuildUnifiedLogo({
|
|
|
1178
1205
|
),
|
|
1179
1206
|
href: "https://the-guild.dev",
|
|
1180
1207
|
children: [
|
|
1181
|
-
/* @__PURE__ */
|
|
1182
|
-
/* @__PURE__ */
|
|
1208
|
+
/* @__PURE__ */ jsx20(SvgGuild, { className: "h-9 w-auto" }),
|
|
1209
|
+
/* @__PURE__ */ jsx20(SvgTheGuild, { className: "w-11" })
|
|
1183
1210
|
]
|
|
1184
1211
|
}
|
|
1185
1212
|
),
|
|
1186
1213
|
children && /* @__PURE__ */ jsxs12(Fragment4, { children: [
|
|
1187
|
-
/* @__PURE__ */
|
|
1214
|
+
/* @__PURE__ */ jsx20(
|
|
1188
1215
|
"svg",
|
|
1189
1216
|
{
|
|
1190
1217
|
height: "22",
|
|
1191
1218
|
viewBox: "0 0 10 22",
|
|
1192
1219
|
stroke: "currentColor",
|
|
1193
1220
|
className: "mx-6 shrink-0 max-md:hidden",
|
|
1194
|
-
children: /* @__PURE__ */
|
|
1221
|
+
children: /* @__PURE__ */ jsx20("path", { d: "M8.6001 0.833313L0.600097 20.8333" })
|
|
1195
1222
|
}
|
|
1196
1223
|
),
|
|
1197
1224
|
/* @__PURE__ */ jsxs12(
|
|
@@ -1203,8 +1230,8 @@ function GuildUnifiedLogo({
|
|
|
1203
1230
|
children: [
|
|
1204
1231
|
typeof children === "function" ? children({}) : children,
|
|
1205
1232
|
/* @__PURE__ */ jsxs12("div", { children: [
|
|
1206
|
-
/* @__PURE__ */
|
|
1207
|
-
/* @__PURE__ */
|
|
1233
|
+
/* @__PURE__ */ jsx20("h1", { className: "text-sm font-bold leading-tight", children: title }),
|
|
1234
|
+
/* @__PURE__ */ jsx20("h2", { className: "text-xs max-lg:hidden", children: description })
|
|
1208
1235
|
] })
|
|
1209
1236
|
]
|
|
1210
1237
|
}
|
|
@@ -1213,32 +1240,32 @@ function GuildUnifiedLogo({
|
|
|
1213
1240
|
] });
|
|
1214
1241
|
}
|
|
1215
1242
|
function getNavbarLogo(logo, websiteName, description) {
|
|
1216
|
-
return websiteName === "Hive" ? /* @__PURE__ */
|
|
1243
|
+
return websiteName === "Hive" ? /* @__PURE__ */ jsx20(Anchor, { title: websiteName, href: "/", children: typeof logo === "function" ? logo({}) : logo }) : /* @__PURE__ */ jsx20(GuildUnifiedLogo, { description, title: websiteName, children: logo });
|
|
1217
1244
|
}
|
|
1218
1245
|
|
|
1219
1246
|
// src/components/theme-switcher.tsx
|
|
1220
1247
|
import { useTheme } from "nextra-theme-docs";
|
|
1221
|
-
import { jsx as
|
|
1248
|
+
import { jsx as jsx21 } from "react/jsx-runtime";
|
|
1222
1249
|
function ThemeSwitcherButton() {
|
|
1223
1250
|
const { resolvedTheme, setTheme } = useTheme();
|
|
1224
|
-
return /* @__PURE__ */
|
|
1251
|
+
return /* @__PURE__ */ jsx21(
|
|
1225
1252
|
"button",
|
|
1226
1253
|
{
|
|
1227
1254
|
onClick: () => setTheme(resolvedTheme === "light" ? "dark" : "light"),
|
|
1228
1255
|
className: "self-center rounded-sm p-2 outline-none focus-visible:ring",
|
|
1229
|
-
children: /* @__PURE__ */
|
|
1256
|
+
children: /* @__PURE__ */ jsx21(SvgMoon, { className: "fill-transparent stroke-gray-500 dark:fill-gray-100 dark:stroke-gray-100" })
|
|
1230
1257
|
}
|
|
1231
1258
|
);
|
|
1232
1259
|
}
|
|
1233
1260
|
|
|
1234
1261
|
// src/components/company-menu.tsx
|
|
1235
|
-
import { jsx as
|
|
1262
|
+
import { jsx as jsx22, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
1236
1263
|
var productsItems = Object.fromEntries(
|
|
1237
1264
|
Object.values(PRODUCTS).map((product) => [
|
|
1238
1265
|
product.name,
|
|
1239
1266
|
{
|
|
1240
1267
|
title: /* @__PURE__ */ jsxs13("span", { className: "flex items-center gap-2", title: product.title, children: [
|
|
1241
|
-
/* @__PURE__ */
|
|
1268
|
+
/* @__PURE__ */ jsx22(product.logo, { className: "size-7 shrink-0" }),
|
|
1242
1269
|
product.name
|
|
1243
1270
|
] }),
|
|
1244
1271
|
href: product.href
|
|
@@ -1282,7 +1309,7 @@ function addGuildCompanyMenu(items) {
|
|
|
1282
1309
|
}
|
|
1283
1310
|
|
|
1284
1311
|
// src/components/call-to-action.tsx
|
|
1285
|
-
import { jsx as
|
|
1312
|
+
import { jsx as jsx23, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
1286
1313
|
var variantStyles = {
|
|
1287
1314
|
primary: cn(
|
|
1288
1315
|
"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"
|
|
@@ -1309,71 +1336,71 @@ function CallToAction(props) {
|
|
|
1309
1336
|
if ("href" in props && typeof props.href === "string") {
|
|
1310
1337
|
const { className: _12, variant: _22, children: children2, ...rest2 } = props;
|
|
1311
1338
|
return /* @__PURE__ */ jsxs14(Anchor, { className, ...rest2, children: [
|
|
1312
|
-
/* @__PURE__ */
|
|
1339
|
+
/* @__PURE__ */ jsx23("div", { className: "absolute inset-0 rounded-lg border border-green-800 dark:border-neutral-200" }),
|
|
1313
1340
|
children2
|
|
1314
1341
|
] });
|
|
1315
1342
|
}
|
|
1316
1343
|
const { className: _1, variant: _2, children, ...rest } = props;
|
|
1317
1344
|
return /* @__PURE__ */ jsxs14("button", { className, ...rest, children: [
|
|
1318
|
-
/* @__PURE__ */
|
|
1345
|
+
/* @__PURE__ */ jsx23("div", { className: "absolute inset-0 rounded-lg border border-green-800 dark:border-neutral-200" }),
|
|
1319
1346
|
children
|
|
1320
1347
|
] });
|
|
1321
1348
|
}
|
|
1322
1349
|
|
|
1323
1350
|
// src/components/decorations/arch-decoration.svg
|
|
1324
|
-
import { jsx as
|
|
1325
|
-
var SvgArchDecoration = (props) => /* @__PURE__ */
|
|
1351
|
+
import { jsx as jsx24 } from "react/jsx-runtime";
|
|
1352
|
+
var SvgArchDecoration = (props) => /* @__PURE__ */ jsx24("svg", { width: 432, height: 432, viewBox: "0 0 432 432", preserveAspectRatio: "xMidYMid meet", ...props, children: /* @__PURE__ */ jsx24("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 }) });
|
|
1326
1353
|
|
|
1327
1354
|
// src/components/decorations/arch-decoration-gradient-defs.svg
|
|
1328
|
-
import { jsx as
|
|
1329
|
-
var SvgArchDecorationGradientDefs = (props) => /* @__PURE__ */
|
|
1355
|
+
import { jsx as jsx25, jsxs as jsxs15 } from "react/jsx-runtime";
|
|
1356
|
+
var SvgArchDecorationGradientDefs = (props) => /* @__PURE__ */ jsx25("svg", { width: 432, height: 432, viewBox: "0 0 432 432", className: "absolute -z-10", ...props, children: /* @__PURE__ */ jsxs15("defs", { children: [
|
|
1330
1357
|
/* @__PURE__ */ jsxs15("linearGradient", { id: "arch-decoration-a", x1: 48.5, y1: 53.5, x2: 302.5, y2: 341, gradientUnits: "userSpaceOnUse", children: [
|
|
1331
|
-
/* @__PURE__ */
|
|
1332
|
-
/* @__PURE__ */
|
|
1358
|
+
/* @__PURE__ */ jsx25("stop", { stopColor: "#fff", stopOpacity: 0.1 }),
|
|
1359
|
+
/* @__PURE__ */ jsx25("stop", { offset: 1, stopColor: "#fff", stopOpacity: 0.3 })
|
|
1333
1360
|
] }),
|
|
1334
1361
|
/* @__PURE__ */ jsxs15("linearGradient", { id: "arch-decoration-b", x1: 1, y1: 1, x2: 431, y2: 431, gradientUnits: "userSpaceOnUse", children: [
|
|
1335
|
-
/* @__PURE__ */
|
|
1336
|
-
/* @__PURE__ */
|
|
1362
|
+
/* @__PURE__ */ jsx25("stop", { stopColor: "#fff", stopOpacity: 0.1 }),
|
|
1363
|
+
/* @__PURE__ */ jsx25("stop", { offset: 1, stopColor: "#fff", stopOpacity: 0.4 })
|
|
1337
1364
|
] })
|
|
1338
1365
|
] }) });
|
|
1339
1366
|
|
|
1340
1367
|
// src/components/decorations/highlight-decoration.svg
|
|
1341
|
-
import { jsx as
|
|
1368
|
+
import { jsx as jsx26, jsxs as jsxs16 } from "react/jsx-runtime";
|
|
1342
1369
|
var SvgHighlightDecoration = (props) => /* @__PURE__ */ jsxs16("svg", { width: 895, height: 674, viewBox: "0 0 895 674", fill: "#86B6C1", className: "firefox-highlight-fix", ...props, children: [
|
|
1343
|
-
/* @__PURE__ */
|
|
1344
|
-
/* @__PURE__ */
|
|
1345
|
-
/* @__PURE__ */
|
|
1346
|
-
/* @__PURE__ */
|
|
1347
|
-
/* @__PURE__ */
|
|
1370
|
+
/* @__PURE__ */ jsx26("g", { filter: "url(#filter0_f_711_1774)", children: /* @__PURE__ */ jsx26("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" }) }),
|
|
1371
|
+
/* @__PURE__ */ jsx26("defs", { children: /* @__PURE__ */ jsxs16("filter", { id: "filter0_f_711_1774", x: -305176e-10, y: -372, width: 1244, height: 1244, filterUnits: "userSpaceOnUse", colorInterpolationFilters: "sRGB", children: [
|
|
1372
|
+
/* @__PURE__ */ jsx26("feFlood", { floodOpacity: 0, result: "BackgroundImageFix" }),
|
|
1373
|
+
/* @__PURE__ */ jsx26("feBlend", { mode: "normal", in: "SourceGraphic", in2: "BackgroundImageFix", result: "shape" }),
|
|
1374
|
+
/* @__PURE__ */ jsx26("feGaussianBlur", { stdDeviation: 175, result: "effect1_foregroundBlur_711_1774" })
|
|
1348
1375
|
] }) }),
|
|
1349
|
-
/* @__PURE__ */
|
|
1376
|
+
/* @__PURE__ */ jsx26("style", { children: "\n @supports (-moz-appearance: none) {\n .firefox-highlight-fix {\n opacity: 0.3;\n filter: blur(175px);\n }\n }\n " })
|
|
1350
1377
|
] });
|
|
1351
1378
|
|
|
1352
1379
|
// src/components/decorations/large-hive-icon-decoration.svg
|
|
1353
|
-
import { jsx as
|
|
1380
|
+
import { jsx as jsx27, jsxs as jsxs17 } from "react/jsx-runtime";
|
|
1354
1381
|
var SvgLargeHiveIconDecoration = (props) => /* @__PURE__ */ jsxs17("svg", { width: 305, height: 217, viewBox: "0 0 305 217", fill: "none", ...props, children: [
|
|
1355
1382
|
/* @__PURE__ */ jsxs17("g", { clipPath: "url(#clip0_711_1997)", children: [
|
|
1356
|
-
/* @__PURE__ */
|
|
1357
|
-
/* @__PURE__ */
|
|
1358
|
-
/* @__PURE__ */
|
|
1383
|
+
/* @__PURE__ */ jsx27("mask", { id: "a", fill: "#fff", children: /* @__PURE__ */ jsx27("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" }) }),
|
|
1384
|
+
/* @__PURE__ */ jsx27("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)" }),
|
|
1385
|
+
/* @__PURE__ */ jsx27("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)" })
|
|
1359
1386
|
] }),
|
|
1360
1387
|
/* @__PURE__ */ jsxs17("defs", { children: [
|
|
1361
1388
|
/* @__PURE__ */ jsxs17("linearGradient", { id: "paint0_linear_711_1997", x1: 0, y1: 0, x2: 305, y2: 305, gradientUnits: "userSpaceOnUse", children: [
|
|
1362
|
-
/* @__PURE__ */
|
|
1363
|
-
/* @__PURE__ */
|
|
1389
|
+
/* @__PURE__ */ jsx27("stop", { stopColor: "#004540", stopOpacity: 0.4 }),
|
|
1390
|
+
/* @__PURE__ */ jsx27("stop", { offset: 1, stopColor: "#004540" })
|
|
1364
1391
|
] }),
|
|
1365
1392
|
/* @__PURE__ */ jsxs17("linearGradient", { id: "paint1_linear_711_1997", x1: 0, y1: 0, x2: 305, y2: 305, gradientUnits: "userSpaceOnUse", children: [
|
|
1366
|
-
/* @__PURE__ */
|
|
1367
|
-
/* @__PURE__ */
|
|
1393
|
+
/* @__PURE__ */ jsx27("stop", { stopColor: "#4F6C6A", stopOpacity: 0.1 }),
|
|
1394
|
+
/* @__PURE__ */ jsx27("stop", { offset: 1, stopColor: "#4F6C6A", stopOpacity: 0.8 })
|
|
1368
1395
|
] }),
|
|
1369
|
-
/* @__PURE__ */
|
|
1396
|
+
/* @__PURE__ */ jsx27("clipPath", { id: "clip0_711_1997", children: /* @__PURE__ */ jsx27("path", { fill: "#fff", d: "M0 0H305V305H0z" }) })
|
|
1370
1397
|
] })
|
|
1371
1398
|
] });
|
|
1372
1399
|
|
|
1373
1400
|
// src/components/decorations/index.tsx
|
|
1374
|
-
import { jsx as
|
|
1401
|
+
import { jsx as jsx28 } from "react/jsx-runtime";
|
|
1375
1402
|
function DecorationIsolation(props) {
|
|
1376
|
-
return /* @__PURE__ */
|
|
1403
|
+
return /* @__PURE__ */ jsx28(
|
|
1377
1404
|
"div",
|
|
1378
1405
|
{
|
|
1379
1406
|
...props,
|
|
@@ -1383,7 +1410,7 @@ function DecorationIsolation(props) {
|
|
|
1383
1410
|
}
|
|
1384
1411
|
|
|
1385
1412
|
// src/components/get-your-api-game-right-section.tsx
|
|
1386
|
-
import { jsx as
|
|
1413
|
+
import { jsx as jsx29, jsxs as jsxs18 } from "react/jsx-runtime";
|
|
1387
1414
|
function GetYourAPIGameRightSection({ className }) {
|
|
1388
1415
|
return /* @__PURE__ */ jsxs18(
|
|
1389
1416
|
"section",
|
|
@@ -1391,11 +1418,11 @@ function GetYourAPIGameRightSection({ className }) {
|
|
|
1391
1418
|
className: cn(className, "relative overflow-hidden rounded-3xl bg-primary md:h-[308px]"),
|
|
1392
1419
|
children: [
|
|
1393
1420
|
/* @__PURE__ */ jsxs18(DecorationIsolation, { children: [
|
|
1394
|
-
/* @__PURE__ */
|
|
1395
|
-
/* @__PURE__ */
|
|
1421
|
+
/* @__PURE__ */ jsx29(GreenArchDecoration, { className: "absolute inset-y-0 right-0 hidden opacity-10 md:block [@media(min-width:1300px)]:opacity-100" }),
|
|
1422
|
+
/* @__PURE__ */ jsx29(StrokeDecoration, { className: "absolute right-[607px] max-md:right-[-36px] max-md:top-[-71px] max-md:size-[200px] max-md:rotate-180 md:bottom-0" })
|
|
1396
1423
|
] }),
|
|
1397
1424
|
/* @__PURE__ */ jsxs18("div", { className: "flex flex-col items-stretch justify-between gap-x-6 gap-y-4 p-4 sm:items-center md:h-[308px] md:flex-row md:px-24", children: [
|
|
1398
|
-
/* @__PURE__ */
|
|
1425
|
+
/* @__PURE__ */ jsx29(
|
|
1399
1426
|
Heading,
|
|
1400
1427
|
{
|
|
1401
1428
|
as: "h2",
|
|
@@ -1405,8 +1432,8 @@ function GetYourAPIGameRightSection({ className }) {
|
|
|
1405
1432
|
}
|
|
1406
1433
|
),
|
|
1407
1434
|
/* @__PURE__ */ jsxs18("div", { className: "flex flex-col gap-x-4 gap-y-2 whitespace-pre sm:flex-row", children: [
|
|
1408
|
-
/* @__PURE__ */
|
|
1409
|
-
/* @__PURE__ */
|
|
1435
|
+
/* @__PURE__ */ jsx29(CallToAction, { variant: "secondary-inverted", href: "https://app.graphql-hive.com/", children: "Get started for free" }),
|
|
1436
|
+
/* @__PURE__ */ jsx29(
|
|
1410
1437
|
CallToAction,
|
|
1411
1438
|
{
|
|
1412
1439
|
variant: "tertiary",
|
|
@@ -1437,14 +1464,14 @@ function GreenArchDecoration(props) {
|
|
|
1437
1464
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1438
1465
|
...props,
|
|
1439
1466
|
children: [
|
|
1440
|
-
/* @__PURE__ */
|
|
1467
|
+
/* @__PURE__ */ jsx29(
|
|
1441
1468
|
"path",
|
|
1442
1469
|
{
|
|
1443
1470
|
d: "M0 127.88c0 11.695 4.565 22.926 12.679 31.201l63.005 64.257 7.378 7.524 63.005 64.257c8.113 8.275 19.126 12.931 30.594 12.931H546.5v-84.712H147.971c-35.852 0-64.91-29.635-64.91-66.199V-97.857H0V127.88z",
|
|
1444
1471
|
fill: "url(#paint0_linear_711_2526)"
|
|
1445
1472
|
}
|
|
1446
1473
|
),
|
|
1447
|
-
/* @__PURE__ */
|
|
1474
|
+
/* @__PURE__ */ jsx29("defs", { children: /* @__PURE__ */ jsxs18(
|
|
1448
1475
|
"linearGradient",
|
|
1449
1476
|
{
|
|
1450
1477
|
id: "paint0_linear_711_2526",
|
|
@@ -1454,8 +1481,8 @@ function GreenArchDecoration(props) {
|
|
|
1454
1481
|
y2: 308.05,
|
|
1455
1482
|
gradientUnits: "userSpaceOnUse",
|
|
1456
1483
|
children: [
|
|
1457
|
-
/* @__PURE__ */
|
|
1458
|
-
/* @__PURE__ */
|
|
1484
|
+
/* @__PURE__ */ jsx29("stop", { stopColor: "#55998D" }),
|
|
1485
|
+
/* @__PURE__ */ jsx29("stop", { offset: 1, stopColor: "#245850" })
|
|
1459
1486
|
]
|
|
1460
1487
|
}
|
|
1461
1488
|
) })
|
|
@@ -1474,14 +1501,14 @@ function StrokeDecoration(props) {
|
|
|
1474
1501
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1475
1502
|
...props,
|
|
1476
1503
|
children: [
|
|
1477
|
-
/* @__PURE__ */
|
|
1504
|
+
/* @__PURE__ */ jsx29(
|
|
1478
1505
|
"path",
|
|
1479
1506
|
{
|
|
1480
1507
|
d: "M293.962 111.972a32.561 32.561 0 019.538 23.014V303.55h-62.444V113.073c0-27.66-22.419-50.079-50.079-50.079H.5V.55h168.563a32.565 32.565 0 0123.015 9.538l48.124 48.124 5.636 5.636 48.124 48.124z",
|
|
1481
1508
|
stroke: "url(#paint0_linear_711_2520)"
|
|
1482
1509
|
}
|
|
1483
1510
|
),
|
|
1484
|
-
/* @__PURE__ */
|
|
1511
|
+
/* @__PURE__ */ jsx29("defs", { children: /* @__PURE__ */ jsxs18(
|
|
1485
1512
|
"linearGradient",
|
|
1486
1513
|
{
|
|
1487
1514
|
id: "paint0_linear_711_2520",
|
|
@@ -1491,8 +1518,8 @@ function StrokeDecoration(props) {
|
|
|
1491
1518
|
y2: 5.04982,
|
|
1492
1519
|
gradientUnits: "userSpaceOnUse",
|
|
1493
1520
|
children: [
|
|
1494
|
-
/* @__PURE__ */
|
|
1495
|
-
/* @__PURE__ */
|
|
1521
|
+
/* @__PURE__ */ jsx29("stop", { stopColor: "#A2C1C4", stopOpacity: 0 }),
|
|
1522
|
+
/* @__PURE__ */ jsx29("stop", { offset: 1, stopColor: "#A2C1C4", stopOpacity: 0.8 })
|
|
1496
1523
|
]
|
|
1497
1524
|
}
|
|
1498
1525
|
) })
|
|
@@ -1502,7 +1529,7 @@ function StrokeDecoration(props) {
|
|
|
1502
1529
|
}
|
|
1503
1530
|
|
|
1504
1531
|
// src/components/hive-navigation/index.tsx
|
|
1505
|
-
import React, { forwardRef as
|
|
1532
|
+
import React, { forwardRef as forwardRef4, Fragment as Fragment5, useEffect as useEffect3, useRef } from "react";
|
|
1506
1533
|
import { createPortal } from "react-dom";
|
|
1507
1534
|
import { useRouter as useRouter2 } from "next/router";
|
|
1508
1535
|
import { useMenu, useThemeConfig } from "nextra-theme-docs";
|
|
@@ -1511,10 +1538,10 @@ import { MenuIcon } from "nextra/icons";
|
|
|
1511
1538
|
|
|
1512
1539
|
// src/helpers/render-slot.tsx
|
|
1513
1540
|
import { cloneElement } from "react";
|
|
1514
|
-
import { jsx as
|
|
1541
|
+
import { jsx as jsx30 } from "react/jsx-runtime";
|
|
1515
1542
|
function renderSlot(Slot, props) {
|
|
1516
1543
|
if (typeof Slot === "function") {
|
|
1517
|
-
return /* @__PURE__ */
|
|
1544
|
+
return /* @__PURE__ */ jsx30(Slot, { ...props });
|
|
1518
1545
|
}
|
|
1519
1546
|
if (!(typeof Slot === "object" && Slot && "props" in Slot)) return null;
|
|
1520
1547
|
if ("className" in props) {
|
|
@@ -1528,15 +1555,15 @@ function renderSlot(Slot, props) {
|
|
|
1528
1555
|
|
|
1529
1556
|
// src/components/hive-navigation/navigation-menu.tsx
|
|
1530
1557
|
import {
|
|
1531
|
-
forwardRef as
|
|
1558
|
+
forwardRef as forwardRef3,
|
|
1532
1559
|
useEffect as useEffect2,
|
|
1533
1560
|
useLayoutEffect
|
|
1534
1561
|
} from "react";
|
|
1535
1562
|
import * as NavigationMenuPrimitive from "@radix-ui/react-navigation-menu";
|
|
1536
|
-
import { jsx as
|
|
1563
|
+
import { jsx as jsx31, jsxs as jsxs19 } from "react/jsx-runtime";
|
|
1537
1564
|
var CONTAINER_ID = "h-navmenu-container";
|
|
1538
1565
|
var VIEWPORT_ID = "h-navmenu-viewport";
|
|
1539
|
-
var NavigationMenu =
|
|
1566
|
+
var NavigationMenu = forwardRef3(({ className, children, forceMount, ...rest }, ref) => /* @__PURE__ */ jsxs19(
|
|
1540
1567
|
NavigationMenuPrimitive.Root,
|
|
1541
1568
|
{
|
|
1542
1569
|
id: CONTAINER_ID,
|
|
@@ -1546,13 +1573,13 @@ var NavigationMenu = forwardRef2(({ className, children, forceMount, ...rest },
|
|
|
1546
1573
|
...rest,
|
|
1547
1574
|
children: [
|
|
1548
1575
|
children,
|
|
1549
|
-
/* @__PURE__ */
|
|
1550
|
-
/* @__PURE__ */
|
|
1576
|
+
/* @__PURE__ */ jsx31(NavigationMenuViewport, { forceMount }),
|
|
1577
|
+
/* @__PURE__ */ jsx31(RemoveMotionIfPreferred, {})
|
|
1551
1578
|
]
|
|
1552
1579
|
}
|
|
1553
1580
|
));
|
|
1554
1581
|
NavigationMenu.displayName = NavigationMenuPrimitive.Root.displayName;
|
|
1555
|
-
var NavigationMenuList =
|
|
1582
|
+
var NavigationMenuList = forwardRef3(({ className, ...rest }, ref) => /* @__PURE__ */ jsx31(
|
|
1556
1583
|
NavigationMenuPrimitive.List,
|
|
1557
1584
|
{
|
|
1558
1585
|
ref,
|
|
@@ -1565,7 +1592,7 @@ var NavigationMenuList = forwardRef2(({ className, ...rest }, ref) => /* @__PURE
|
|
|
1565
1592
|
));
|
|
1566
1593
|
NavigationMenuList.displayName = NavigationMenuPrimitive.List.displayName;
|
|
1567
1594
|
var NavigationMenuItem = NavigationMenuPrimitive.Item;
|
|
1568
|
-
var NavigationMenuTrigger =
|
|
1595
|
+
var NavigationMenuTrigger = forwardRef3(({ className, children, ...rest }, ref) => /* @__PURE__ */ jsx31(
|
|
1569
1596
|
NavigationMenuPrimitive.Trigger,
|
|
1570
1597
|
{
|
|
1571
1598
|
ref,
|
|
@@ -1591,7 +1618,7 @@ var NavigationMenuTrigger = forwardRef2(({ className, children, ...rest }, ref)
|
|
|
1591
1618
|
}
|
|
1592
1619
|
));
|
|
1593
1620
|
NavigationMenuTrigger.displayName = NavigationMenuPrimitive.Trigger.displayName;
|
|
1594
|
-
var NavigationMenuContent =
|
|
1621
|
+
var NavigationMenuContent = forwardRef3(({ className, ...rest }, ref) => /* @__PURE__ */ jsx31(
|
|
1595
1622
|
NavigationMenuPrimitive.Content,
|
|
1596
1623
|
{
|
|
1597
1624
|
ref,
|
|
@@ -1607,9 +1634,9 @@ var NavigationMenuContent = forwardRef2(({ className, ...rest }, ref) => /* @__P
|
|
|
1607
1634
|
}
|
|
1608
1635
|
));
|
|
1609
1636
|
NavigationMenuContent.displayName = NavigationMenuPrimitive.Content.displayName;
|
|
1610
|
-
var NavigationMenuLink =
|
|
1637
|
+
var NavigationMenuLink = forwardRef3(({ className, arrow, children, href, ...rest }, ref) => {
|
|
1611
1638
|
const isActive = false;
|
|
1612
|
-
return /* @__PURE__ */
|
|
1639
|
+
return /* @__PURE__ */ jsx31(NavigationMenuPrimitive.Link, { active: isActive, ...rest, asChild: true, ref, children: /* @__PURE__ */ jsxs19(
|
|
1613
1640
|
Anchor,
|
|
1614
1641
|
{
|
|
1615
1642
|
href,
|
|
@@ -1621,14 +1648,14 @@ var NavigationMenuLink = forwardRef2(({ className, arrow, children, href, ...res
|
|
|
1621
1648
|
...href.startsWith("http") ? { target: "_blank", rel: "noopener noreferrer" } : {},
|
|
1622
1649
|
children: [
|
|
1623
1650
|
children,
|
|
1624
|
-
arrow && /* @__PURE__ */
|
|
1651
|
+
arrow && /* @__PURE__ */ jsx31(SvgArrowIcon, { className: "ml-auto size-6 shrink-0 opacity-0 transition-all" })
|
|
1625
1652
|
]
|
|
1626
1653
|
}
|
|
1627
1654
|
) });
|
|
1628
1655
|
});
|
|
1629
1656
|
NavigationMenuLink.displayName = NavigationMenuPrimitive.Link.displayName;
|
|
1630
1657
|
var useIsomorphicLayoutEffect = typeof window === "undefined" ? useEffect2 : useLayoutEffect;
|
|
1631
|
-
var NavigationMenuViewport =
|
|
1658
|
+
var NavigationMenuViewport = forwardRef3(({ className, ...rest }, ref) => {
|
|
1632
1659
|
useIsomorphicLayoutEffect(() => {
|
|
1633
1660
|
const viewport = document.getElementById(VIEWPORT_ID);
|
|
1634
1661
|
const container = document.getElementById(CONTAINER_ID);
|
|
@@ -1640,7 +1667,7 @@ var NavigationMenuViewport = forwardRef2(({ className, ...rest }, ref) => {
|
|
|
1640
1667
|
viewport.style.transform = `translateX(${getTransformX(firstCollectionItem, viewport, container)}px)`;
|
|
1641
1668
|
}
|
|
1642
1669
|
}, []);
|
|
1643
|
-
return /* @__PURE__ */
|
|
1670
|
+
return /* @__PURE__ */ jsx31(
|
|
1644
1671
|
"div",
|
|
1645
1672
|
{
|
|
1646
1673
|
id: VIEWPORT_ID,
|
|
@@ -1648,7 +1675,7 @@ var NavigationMenuViewport = forwardRef2(({ className, ...rest }, ref) => {
|
|
|
1648
1675
|
style: {
|
|
1649
1676
|
perspective: "2000px"
|
|
1650
1677
|
},
|
|
1651
|
-
children: /* @__PURE__ */
|
|
1678
|
+
children: /* @__PURE__ */ jsx31(
|
|
1652
1679
|
NavigationMenuPrimitive.Viewport,
|
|
1653
1680
|
{
|
|
1654
1681
|
className: cn(
|
|
@@ -1666,7 +1693,7 @@ var NavigationMenuViewport = forwardRef2(({ className, ...rest }, ref) => {
|
|
|
1666
1693
|
);
|
|
1667
1694
|
});
|
|
1668
1695
|
NavigationMenuViewport.displayName = NavigationMenuPrimitive.Viewport.displayName;
|
|
1669
|
-
var NavigationMenuIndicator =
|
|
1696
|
+
var NavigationMenuIndicator = forwardRef3(({ className, ...rest }, ref) => /* @__PURE__ */ jsx31(
|
|
1670
1697
|
NavigationMenuPrimitive.Indicator,
|
|
1671
1698
|
{
|
|
1672
1699
|
ref,
|
|
@@ -1675,7 +1702,7 @@ var NavigationMenuIndicator = forwardRef2(({ className, ...rest }, ref) => /* @_
|
|
|
1675
1702
|
className
|
|
1676
1703
|
),
|
|
1677
1704
|
...rest,
|
|
1678
|
-
children: /* @__PURE__ */
|
|
1705
|
+
children: /* @__PURE__ */ jsx31("div", { className: "relative top-[60%] size-2 rotate-45 rounded-tl-sm bg-beige-200 shadow-md" })
|
|
1679
1706
|
}
|
|
1680
1707
|
));
|
|
1681
1708
|
NavigationMenuIndicator.displayName = NavigationMenuPrimitive.Indicator.displayName;
|
|
@@ -1691,11 +1718,11 @@ function getTransformX(element, viewport, container) {
|
|
|
1691
1718
|
return newX;
|
|
1692
1719
|
}
|
|
1693
1720
|
function RemoveMotionIfPreferred() {
|
|
1694
|
-
return /* @__PURE__ */
|
|
1721
|
+
return /* @__PURE__ */ jsx31("style", { children: `@media (prefers-reduced-motion: reduce) { #${CONTAINER_ID} * { animation-duration: 0ms !important; transition-duration: 0ms !important; } }` });
|
|
1695
1722
|
}
|
|
1696
1723
|
|
|
1697
1724
|
// src/components/hive-navigation/graphql-conf-card.tsx
|
|
1698
|
-
import { jsx as
|
|
1725
|
+
import { jsx as jsx32, jsxs as jsxs20 } from "react/jsx-runtime";
|
|
1699
1726
|
function GraphQLConfCard({ image }) {
|
|
1700
1727
|
return /* @__PURE__ */ jsxs20(
|
|
1701
1728
|
NavigationMenuLink,
|
|
@@ -1703,13 +1730,13 @@ function GraphQLConfCard({ image }) {
|
|
|
1703
1730
|
href: "https://www.youtube.com/playlist?list=PL43V96KpNj7OMvmfL0WFKP6LpoboM8Hde",
|
|
1704
1731
|
className: "group w-[358px]",
|
|
1705
1732
|
children: [
|
|
1706
|
-
/* @__PURE__ */
|
|
1707
|
-
/* @__PURE__ */
|
|
1708
|
-
/* @__PURE__ */
|
|
1709
|
-
/* @__PURE__ */
|
|
1733
|
+
/* @__PURE__ */ jsx32(Image, { alt: "", ...image, width: 358, height: 200 }),
|
|
1734
|
+
/* @__PURE__ */ jsx32("strong", { className: "mt-6 block text-xl font-medium leading-7 text-green-1000 dark:text-neutral-100", children: "GraphQLConf 2024" }),
|
|
1735
|
+
/* @__PURE__ */ jsx32("p", { className: "mt-4 text-sm font-medium leading-5 text-green-800 dark:text-neutral-200", children: "September 10-12 | San Francisco CA" }),
|
|
1736
|
+
/* @__PURE__ */ jsx32("p", { className: "mt-2 text-sm font-normal leading-5 text-green-800 dark:text-neutral-200", children: "The official GraphQL conference hosted by GraphQL Foundation." }),
|
|
1710
1737
|
/* @__PURE__ */ jsxs20("span", { className: "mt-6 flex items-center gap-2 rounded-lg font-medium text-green-800 transition-colors group-hover:text-green-1000 dark:text-neutral-200 dark:group-hover:text-neutral-100", children: [
|
|
1711
1738
|
"Watch The Guild at GraphQLConf 2024",
|
|
1712
|
-
/* @__PURE__ */
|
|
1739
|
+
/* @__PURE__ */ jsx32(SvgArrowIcon, {})
|
|
1713
1740
|
] })
|
|
1714
1741
|
]
|
|
1715
1742
|
}
|
|
@@ -1717,7 +1744,7 @@ function GraphQLConfCard({ image }) {
|
|
|
1717
1744
|
}
|
|
1718
1745
|
|
|
1719
1746
|
// src/components/hive-navigation/index.tsx
|
|
1720
|
-
import { jsx as
|
|
1747
|
+
import { jsx as jsx33, jsxs as jsxs21 } from "react/jsx-runtime";
|
|
1721
1748
|
var ENTERPRISE_MENU_HIDDEN = true;
|
|
1722
1749
|
function HiveNavigation({
|
|
1723
1750
|
companyMenuChildren,
|
|
@@ -1732,7 +1759,7 @@ function HiveNavigation({
|
|
|
1732
1759
|
const Search = themeConfig?.search?.component;
|
|
1733
1760
|
const isHive = productName === "Hive";
|
|
1734
1761
|
const containerRef = useRef(null);
|
|
1735
|
-
logo || (logo = /* @__PURE__ */
|
|
1762
|
+
logo || (logo = /* @__PURE__ */ jsx33(HiveLogoLink, { isHive }));
|
|
1736
1763
|
navLinks || (navLinks = [
|
|
1737
1764
|
{
|
|
1738
1765
|
href: isHive ? "/pricing" : "https://the-guild.dev/graphql/hive/pricing",
|
|
@@ -1749,7 +1776,7 @@ function HiveNavigation({
|
|
|
1749
1776
|
),
|
|
1750
1777
|
style: { "--border-opacity": 0 },
|
|
1751
1778
|
children: [
|
|
1752
|
-
/* @__PURE__ */
|
|
1779
|
+
/* @__PURE__ */ jsx33(
|
|
1753
1780
|
TopOfSiteMarker,
|
|
1754
1781
|
{
|
|
1755
1782
|
onChange: (scrolled) => {
|
|
@@ -1760,30 +1787,30 @@ function HiveNavigation({
|
|
|
1760
1787
|
),
|
|
1761
1788
|
/* @__PURE__ */ jsxs21("div", { className: "flex items-center justify-between md:hidden", children: [
|
|
1762
1789
|
logo,
|
|
1763
|
-
/* @__PURE__ */
|
|
1790
|
+
/* @__PURE__ */ jsx33(HamburgerButton, {})
|
|
1764
1791
|
] }),
|
|
1765
1792
|
/* @__PURE__ */ jsxs21(NavigationMenu, { className: cn("mx-auto hidden md:flex", className), delayDuration: 0, children: [
|
|
1766
1793
|
logo,
|
|
1767
1794
|
/* @__PURE__ */ jsxs21(NavigationMenuList, { className: "ml-4 bg-white dark:bg-transparent [@media(min-width:1180px)]:ml-16", children: [
|
|
1768
1795
|
/* @__PURE__ */ jsxs21(NavigationMenuItem, { children: [
|
|
1769
|
-
/* @__PURE__ */
|
|
1770
|
-
/* @__PURE__ */
|
|
1796
|
+
/* @__PURE__ */ jsx33(NavigationMenuTrigger, { children: "Products" }),
|
|
1797
|
+
/* @__PURE__ */ jsx33(NavigationMenuContent, { children: /* @__PURE__ */ jsx33(ProductsMenu, { productName }) })
|
|
1771
1798
|
] }),
|
|
1772
1799
|
/* @__PURE__ */ jsxs21(NavigationMenuItem, { children: [
|
|
1773
|
-
/* @__PURE__ */
|
|
1774
|
-
/* @__PURE__ */
|
|
1800
|
+
/* @__PURE__ */ jsx33(NavigationMenuTrigger, { children: "Developer" }),
|
|
1801
|
+
/* @__PURE__ */ jsx33(NavigationMenuContent, { children: /* @__PURE__ */ jsx33(DeveloperMenu, { isHive, developerMenu }) })
|
|
1775
1802
|
] }),
|
|
1776
1803
|
!ENTERPRISE_MENU_HIDDEN && /* @__PURE__ */ jsxs21(NavigationMenuItem, { children: [
|
|
1777
|
-
/* @__PURE__ */
|
|
1778
|
-
/* @__PURE__ */
|
|
1804
|
+
/* @__PURE__ */ jsx33(NavigationMenuTrigger, { children: "Enterprise" }),
|
|
1805
|
+
/* @__PURE__ */ jsx33(NavigationMenuContent, { children: /* @__PURE__ */ jsx33(EnterpriseMenu, {}) })
|
|
1779
1806
|
] }),
|
|
1780
1807
|
/* @__PURE__ */ jsxs21(NavigationMenuItem, { children: [
|
|
1781
|
-
/* @__PURE__ */
|
|
1782
|
-
/* @__PURE__ */
|
|
1808
|
+
/* @__PURE__ */ jsx33(NavigationMenuTrigger, { children: "Company" }),
|
|
1809
|
+
/* @__PURE__ */ jsx33(NavigationMenuContent, { children: /* @__PURE__ */ jsx33(CompanyMenu, { children: companyMenuChildren }) })
|
|
1783
1810
|
] }),
|
|
1784
|
-
navLinks.map(({ href, children: children2 }, i) => /* @__PURE__ */
|
|
1811
|
+
navLinks.map(({ href, children: children2 }, i) => /* @__PURE__ */ jsx33(NavigationMenuItem, { className: "flex", children: /* @__PURE__ */ jsx33(NavigationMenuLink, { href, className: "font-medium", children: children2 }) }, i))
|
|
1785
1812
|
] }),
|
|
1786
|
-
/* @__PURE__ */
|
|
1813
|
+
/* @__PURE__ */ jsx33("div", { className: "flex-1" }),
|
|
1787
1814
|
children,
|
|
1788
1815
|
renderSlot(Search, {
|
|
1789
1816
|
className: cn(
|
|
@@ -1806,11 +1833,11 @@ function HiveNavigation({
|
|
|
1806
1833
|
},
|
|
1807
1834
|
children: [
|
|
1808
1835
|
"Contact ",
|
|
1809
|
-
/* @__PURE__ */
|
|
1836
|
+
/* @__PURE__ */ jsx33("span", { className: "hidden xl:contents", children: "us" })
|
|
1810
1837
|
]
|
|
1811
1838
|
}
|
|
1812
1839
|
),
|
|
1813
|
-
isHive ? /* @__PURE__ */
|
|
1840
|
+
isHive ? /* @__PURE__ */ jsx33(CallToAction, { variant: "primary", href: "https://app.graphql-hive.com/", className: "ml-4", children: "Sign in" }) : /* @__PURE__ */ jsx33(CallToAction, { variant: "primary", href: "/docs", className: "ml-4", children: "Docs" })
|
|
1814
1841
|
] })
|
|
1815
1842
|
]
|
|
1816
1843
|
}
|
|
@@ -1827,11 +1854,11 @@ var ProductsMenu = React.forwardRef(
|
|
|
1827
1854
|
};
|
|
1828
1855
|
return /* @__PURE__ */ jsxs21(MenuContentColumns, { ref, ...rest, children: [
|
|
1829
1856
|
/* @__PURE__ */ jsxs21("div", { className: "w-[220px]", children: [
|
|
1830
|
-
/* @__PURE__ */
|
|
1857
|
+
/* @__PURE__ */ jsx33(ColumnLabel, { children: "Platform" }),
|
|
1831
1858
|
/* @__PURE__ */ jsxs21(NavigationMenuLink, { href: bidirectionalProductLink(PRODUCTS.HIVE), className: "p-4", children: [
|
|
1832
|
-
/* @__PURE__ */
|
|
1833
|
-
/* @__PURE__ */
|
|
1834
|
-
/* @__PURE__ */
|
|
1859
|
+
/* @__PURE__ */ jsx33("div", { className: "w-fit rounded-lg bg-green-800 p-3 dark:bg-white/10", children: /* @__PURE__ */ jsx33(SvgHive, { className: "size-10 text-white" }) }),
|
|
1860
|
+
/* @__PURE__ */ jsx33("p", { className: "mt-4 text-base font-medium leading-normal text-green-1000 dark:text-neutral-200", children: "Hive" }),
|
|
1861
|
+
/* @__PURE__ */ jsx33("p", { className: "mt-1 text-sm leading-5 text-green-800 dark:text-neutral-400", children: "GraphQL Federation Platform with Schema Registry and Analytics" })
|
|
1835
1862
|
] }),
|
|
1836
1863
|
/* @__PURE__ */ jsxs21(
|
|
1837
1864
|
Anchor,
|
|
@@ -1840,32 +1867,32 @@ var ProductsMenu = React.forwardRef(
|
|
|
1840
1867
|
title: "Discover the Hive platform",
|
|
1841
1868
|
className: "hive-focus -my-2 ml-2 flex items-center gap-2 rounded-lg p-2 font-medium text-green-800 transition-colors hover:bg-beige-100 hover:text-green-1000 dark:text-neutral-400 dark:hover:bg-neutral-800/50 dark:hover:text-neutral-200",
|
|
1842
1869
|
children: [
|
|
1843
|
-
/* @__PURE__ */
|
|
1870
|
+
/* @__PURE__ */ jsx33("span", { children: "Get started" }),
|
|
1844
1871
|
" ",
|
|
1845
|
-
/* @__PURE__ */
|
|
1872
|
+
/* @__PURE__ */ jsx33(SvgArrowIcon, {})
|
|
1846
1873
|
]
|
|
1847
1874
|
}
|
|
1848
1875
|
)
|
|
1849
1876
|
] }),
|
|
1850
1877
|
/* @__PURE__ */ jsxs21("div", { className: "w-[269px] xl:w-[281px]", children: [
|
|
1851
|
-
/* @__PURE__ */
|
|
1852
|
-
/* @__PURE__ */
|
|
1878
|
+
/* @__PURE__ */ jsx33(ColumnLabel, { children: "The GraphQL Stack" }),
|
|
1879
|
+
/* @__PURE__ */ jsx33("ul", { children: [
|
|
1853
1880
|
[PRODUCTS.HIVE_GATEWAY, "GraphQL Federation Gateway"],
|
|
1854
1881
|
[PRODUCTS.MESH, "Anything to GraphQL"],
|
|
1855
1882
|
[PRODUCTS.YOGA, "GraphQL Server & Subgraph"]
|
|
1856
1883
|
].map(([product, description]) => {
|
|
1857
1884
|
const Logo = product.logo;
|
|
1858
|
-
return /* @__PURE__ */
|
|
1885
|
+
return /* @__PURE__ */ jsx33("li", { children: /* @__PURE__ */ jsxs21(
|
|
1859
1886
|
NavigationMenuLink,
|
|
1860
1887
|
{
|
|
1861
1888
|
href: bidirectionalProductLink(product),
|
|
1862
1889
|
title: product.title,
|
|
1863
1890
|
className: "flex flex-row items-center gap-4 p-4",
|
|
1864
1891
|
children: [
|
|
1865
|
-
/* @__PURE__ */
|
|
1892
|
+
/* @__PURE__ */ jsx33("div", { className: "size-12 rounded-lg bg-blue-400 p-2.5", children: /* @__PURE__ */ jsx33(Logo, { className: "size-7 text-green-1000" }) }),
|
|
1866
1893
|
/* @__PURE__ */ jsxs21("div", { children: [
|
|
1867
|
-
/* @__PURE__ */
|
|
1868
|
-
/* @__PURE__ */
|
|
1894
|
+
/* @__PURE__ */ jsx33("p", { className: "text-base font-medium leading-normal text-green-1000 dark:text-neutral-200", children: product.name }),
|
|
1895
|
+
/* @__PURE__ */ jsx33("p", { className: "col-start-2 mt-1 text-sm leading-5 text-green-800 dark:text-neutral-300", children: description })
|
|
1869
1896
|
] })
|
|
1870
1897
|
]
|
|
1871
1898
|
}
|
|
@@ -1873,18 +1900,18 @@ var ProductsMenu = React.forwardRef(
|
|
|
1873
1900
|
}) })
|
|
1874
1901
|
] }),
|
|
1875
1902
|
/* @__PURE__ */ jsxs21("div", { className: "w-[364px]", children: [
|
|
1876
|
-
/* @__PURE__ */
|
|
1877
|
-
/* @__PURE__ */
|
|
1903
|
+
/* @__PURE__ */ jsx33(ColumnLabel, { children: "Libraries" }),
|
|
1904
|
+
/* @__PURE__ */ jsx33("ul", { className: "grid grid-cols-2 gap-x-4", children: SIX_HIGHLIGHTED_PRODUCTS.map((product) => {
|
|
1878
1905
|
const Logo = product.logo;
|
|
1879
|
-
return /* @__PURE__ */
|
|
1906
|
+
return /* @__PURE__ */ jsx33("li", { children: /* @__PURE__ */ jsxs21(
|
|
1880
1907
|
NavigationMenuLink,
|
|
1881
1908
|
{
|
|
1882
1909
|
href: bidirectionalProductLink(product),
|
|
1883
1910
|
className: "flex flex-row items-center gap-3 px-4 py-2",
|
|
1884
1911
|
arrow: true,
|
|
1885
1912
|
children: [
|
|
1886
|
-
/* @__PURE__ */
|
|
1887
|
-
/* @__PURE__ */
|
|
1913
|
+
/* @__PURE__ */ jsx33("div", { className: "flex size-8 items-center justify-center rounded bg-beige-200 p-[5px] dark:bg-white/5", children: /* @__PURE__ */ jsx33(Logo, { className: "size-8 text-green-1000 dark:text-neutral-300" }) }),
|
|
1914
|
+
/* @__PURE__ */ jsx33("div", { children: /* @__PURE__ */ jsx33("p", { className: "text-base font-medium leading-normal text-green-1000 dark:text-neutral-200", children: product.name === PRODUCTS.ESLINT.name ? "ESLint" : product.name }) })
|
|
1888
1915
|
]
|
|
1889
1916
|
}
|
|
1890
1917
|
) }, product.name);
|
|
@@ -1895,9 +1922,9 @@ var ProductsMenu = React.forwardRef(
|
|
|
1895
1922
|
href: productName === "Hive" ? "/ecosystem" : "https://the-guild.dev/graphql/hive/ecosystem",
|
|
1896
1923
|
className: "hive-focus -my-2 ml-2 flex items-center gap-2 rounded-lg p-2 font-medium text-green-800 transition-colors hover:bg-beige-100 hover:text-green-1000 dark:text-neutral-400 dark:hover:bg-neutral-800/50 dark:hover:text-neutral-200",
|
|
1897
1924
|
children: [
|
|
1898
|
-
/* @__PURE__ */
|
|
1925
|
+
/* @__PURE__ */ jsx33("span", { children: "Explore all libraries" }),
|
|
1899
1926
|
" ",
|
|
1900
|
-
/* @__PURE__ */
|
|
1927
|
+
/* @__PURE__ */ jsx33(SvgArrowIcon, {})
|
|
1901
1928
|
]
|
|
1902
1929
|
}
|
|
1903
1930
|
)
|
|
@@ -1906,12 +1933,12 @@ var ProductsMenu = React.forwardRef(
|
|
|
1906
1933
|
}
|
|
1907
1934
|
);
|
|
1908
1935
|
ProductsMenu.displayName = "ProductsMenu";
|
|
1909
|
-
var MenuContentColumns =
|
|
1936
|
+
var MenuContentColumns = forwardRef4(
|
|
1910
1937
|
(props, ref) => {
|
|
1911
|
-
return /* @__PURE__ */
|
|
1938
|
+
return /* @__PURE__ */ jsx33("div", { className: "flex gap-x-6 *:flex *:flex-col *:gap-4", ref, ...props, children: React.Children.toArray(props.children).filter(Boolean).map((child, index, array) => {
|
|
1912
1939
|
return /* @__PURE__ */ jsxs21(Fragment5, { children: [
|
|
1913
1940
|
child,
|
|
1914
|
-
index < array.length - 1 && /* @__PURE__ */
|
|
1941
|
+
index < array.length - 1 && /* @__PURE__ */ jsx33("div", { className: "w-px bg-beige-200 dark:bg-neutral-800" })
|
|
1915
1942
|
] }, index);
|
|
1916
1943
|
}) });
|
|
1917
1944
|
}
|
|
@@ -1953,12 +1980,12 @@ var DeveloperMenu = React.forwardRef(
|
|
|
1953
1980
|
]);
|
|
1954
1981
|
return /* @__PURE__ */ jsxs21(MenuContentColumns, { ...rest, ref, children: [
|
|
1955
1982
|
/* @__PURE__ */ jsxs21("div", { children: [
|
|
1956
|
-
/* @__PURE__ */
|
|
1957
|
-
/* @__PURE__ */
|
|
1983
|
+
/* @__PURE__ */ jsx33(ColumnLabel, { children: "Developer" }),
|
|
1984
|
+
/* @__PURE__ */ jsx33("ul", { children: developerMenu.map(({ href, title, icon, children }, i) => /* @__PURE__ */ jsx33(MenuColumnListItem, { title, href, icon, children }, i)) })
|
|
1958
1985
|
] }),
|
|
1959
1986
|
/* @__PURE__ */ jsxs21("div", { children: [
|
|
1960
|
-
/* @__PURE__ */
|
|
1961
|
-
/* @__PURE__ */
|
|
1987
|
+
/* @__PURE__ */ jsx33(ColumnLabel, { children: "Community" }),
|
|
1988
|
+
/* @__PURE__ */ jsx33("ul", { children: [
|
|
1962
1989
|
[
|
|
1963
1990
|
"YouTube",
|
|
1964
1991
|
YouTubeIcon,
|
|
@@ -1967,7 +1994,7 @@ var DeveloperMenu = React.forwardRef(
|
|
|
1967
1994
|
["X", TwitterIcon, "https://x.com/theguilddev"],
|
|
1968
1995
|
["LinkedIn", LinkedInIcon, "https://www.linkedin.com/company/the-guild-software/"],
|
|
1969
1996
|
["Discord", DiscordIcon2, "https://discord.com/invite/xud7bH9"]
|
|
1970
|
-
].map(([text, Icon, href], i) => /* @__PURE__ */
|
|
1997
|
+
].map(([text, Icon, href], i) => /* @__PURE__ */ jsx33(MenuColumnListItem, { href, icon: Icon, children: text }, i)) })
|
|
1971
1998
|
] })
|
|
1972
1999
|
] });
|
|
1973
2000
|
}
|
|
@@ -1979,7 +2006,7 @@ function MenuColumnListItem({
|
|
|
1979
2006
|
title,
|
|
1980
2007
|
icon: Icon
|
|
1981
2008
|
}) {
|
|
1982
|
-
return /* @__PURE__ */
|
|
2009
|
+
return /* @__PURE__ */ jsx33("li", { children: /* @__PURE__ */ jsxs21(
|
|
1983
2010
|
NavigationMenuLink,
|
|
1984
2011
|
{
|
|
1985
2012
|
href,
|
|
@@ -1987,85 +2014,85 @@ function MenuColumnListItem({
|
|
|
1987
2014
|
className: "flex flex-row items-center gap-3 text-nowrap px-4 py-2",
|
|
1988
2015
|
arrow: true,
|
|
1989
2016
|
children: [
|
|
1990
|
-
/* @__PURE__ */
|
|
1991
|
-
/* @__PURE__ */
|
|
2017
|
+
/* @__PURE__ */ jsx33(Icon, { className: "size-6 shrink-0" }),
|
|
2018
|
+
/* @__PURE__ */ jsx33("p", { className: "text-base font-medium leading-normal text-green-1000 dark:text-neutral-200", children })
|
|
1992
2019
|
]
|
|
1993
2020
|
}
|
|
1994
2021
|
) });
|
|
1995
2022
|
}
|
|
1996
2023
|
function ColumnLabel({ children }) {
|
|
1997
|
-
return /* @__PURE__ */
|
|
2024
|
+
return /* @__PURE__ */ jsx33("p", { className: "px-4 text-sm leading-5 text-green-700 dark:text-neutral-300", children });
|
|
1998
2025
|
}
|
|
1999
2026
|
function YouTubeIcon(props) {
|
|
2000
|
-
return /* @__PURE__ */
|
|
2027
|
+
return /* @__PURE__ */ jsx33("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "currentColor", ...props, children: /* @__PURE__ */ jsx33("path", { d: "M20.5887 7.04819C21 8.65199 21 12 21 12C21 12 21 15.348 20.5887 16.9518C20.3601 17.8383 19.6914 18.5358 18.8445 18.7716C17.3064 19.2 12 19.2 12 19.2C12 19.2 6.6963 19.2 5.1555 18.7716C4.305 18.5322 3.6372 17.8356 3.4113 16.9518C3 15.348 3 12 3 12C3 12 3 8.65199 3.4113 7.04819C3.6399 6.16169 4.3086 5.46419 5.1555 5.22839C6.6963 4.79999 12 4.79999 12 4.79999C12 4.79999 17.3064 4.79999 18.8445 5.22839C19.695 5.46779 20.3628 6.16439 20.5887 7.04819ZM10.2 15.15L15.6 12L10.2 8.84999V15.15Z" }) });
|
|
2001
2028
|
}
|
|
2002
2029
|
function TwitterIcon(props) {
|
|
2003
|
-
return /* @__PURE__ */
|
|
2030
|
+
return /* @__PURE__ */ jsx33("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "currentColor", ...props, children: /* @__PURE__ */ jsx33("path", { d: "M16.6536 4.6875H19.1346L13.7144 10.8825L20.0909 19.3125H15.0981L11.1876 14.1997L6.71313 19.3125H4.23063L10.0281 12.6862L3.91113 4.6875H9.03063L12.5654 9.36075L16.6536 4.6875ZM15.7829 17.8275H17.1576L8.28363 6.0945H6.80838L15.7829 17.8275Z" }) });
|
|
2004
2031
|
}
|
|
2005
2032
|
function LinkedInIcon(props) {
|
|
2006
|
-
return /* @__PURE__ */
|
|
2033
|
+
return /* @__PURE__ */ jsx33("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "currentColor", ...props, children: /* @__PURE__ */ jsx33("path", { d: "M17.7015 17.7051H15.303V13.9458C15.303 13.0494 15.285 11.8956 14.052 11.8956C12.8019 11.8956 12.6111 12.8712 12.6111 13.8801V17.7051H10.2117V9.97499H12.5157V11.028H12.5472C12.8694 10.4214 13.6524 9.77969 14.8224 9.77969C17.2524 9.77969 17.7024 11.3799 17.7024 13.4616V17.7051H17.7015ZM7.50272 8.91749C7.31962 8.91773 7.13828 8.88183 6.96908 8.81184C6.79988 8.74185 6.64617 8.63916 6.51674 8.50965C6.38731 8.38013 6.28471 8.22635 6.21483 8.05711C6.14496 7.88786 6.10917 7.70649 6.10952 7.52339C6.1097 7.24785 6.19159 6.97854 6.34482 6.74953C6.49806 6.52051 6.71576 6.34208 6.9704 6.2368C7.22504 6.13152 7.50519 6.10411 7.77541 6.15804C8.04563 6.21197 8.29378 6.34482 8.4885 6.53979C8.68322 6.73476 8.81575 6.98309 8.86933 7.25338C8.92291 7.52367 8.89514 7.80377 8.78953 8.05828C8.68392 8.31279 8.50521 8.53026 8.276 8.6832C8.04679 8.83614 7.77737 8.91767 7.50182 8.91749H7.50272ZM8.70512 17.7051H6.29942V9.97499H8.70602V17.7051H8.70512ZM18.903 3.89999H5.09612C4.43372 3.89999 3.90002 4.42199 3.90002 5.06729V18.9327C3.90002 19.578 4.43462 20.1 5.09522 20.1H18.8994C19.56 20.1 20.1 19.578 20.1 18.9327V5.06729C20.1 4.42199 19.56 3.89999 18.8994 3.89999H18.9021H18.903Z" }) });
|
|
2007
2034
|
}
|
|
2008
2035
|
function DiscordIcon2(props) {
|
|
2009
|
-
return /* @__PURE__ */
|
|
2036
|
+
return /* @__PURE__ */ jsx33("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "currentColor", ...props, children: /* @__PURE__ */ jsx33("path", { d: "M10.2684 11.1C10.8084 11.1 11.2458 11.505 11.2359 12C11.2359 12.495 10.8093 12.9 10.2684 12.9C9.73742 12.9 9.30002 12.495 9.30002 12C9.30002 11.505 9.72752 11.1 10.2684 11.1ZM13.7316 11.1C14.2725 11.1 14.7 11.505 14.7 12C14.7 12.495 14.2725 12.9 13.7316 12.9C13.2006 12.9 12.7641 12.495 12.7641 12C12.7641 11.505 13.1907 11.1 13.7316 11.1ZM18.2019 3C19.2486 3 20.1 3.8694 20.1 4.9467V21.9L18.1101 20.1045L16.9896 19.0461L15.8043 17.9211L16.2957 19.6698H5.79812C4.75142 19.6698 3.90002 18.8004 3.90002 17.7231V4.9467C3.90002 3.8694 4.75142 3 5.79812 3H18.201H18.2019ZM14.6289 15.3417C16.6746 15.276 17.4621 13.9053 17.4621 13.9053C17.4621 10.8624 16.1283 8.3955 16.1283 8.3955C14.7963 7.3758 13.5273 7.4037 13.5273 7.4037L13.3977 7.5549C14.9718 8.0463 15.7026 8.7555 15.7026 8.7555C14.8432 8.27129 13.896 7.9629 12.9162 7.8483C12.2947 7.7781 11.667 7.78415 11.0469 7.8663C10.9911 7.8663 10.9443 7.8762 10.8894 7.8852C10.5654 7.914 9.77792 8.0364 8.78792 8.481C8.44592 8.6412 8.24162 8.7555 8.24162 8.7555C8.24162 8.7555 9.01022 8.0085 10.6761 7.5171L10.5834 7.4037C10.5834 7.4037 9.31532 7.3758 7.98242 8.3964C7.98242 8.3964 6.64952 10.8624 6.64952 13.9053C6.64952 13.9053 7.42712 15.2751 9.47283 15.3417C9.47283 15.3417 9.81482 14.9169 10.0938 14.5578C8.91752 14.1978 8.47382 13.4418 8.47382 13.4418C8.47382 13.4418 8.56563 13.5084 8.73212 13.6029C8.74113 13.6119 8.75012 13.6218 8.76902 13.6308C8.79692 13.6506 8.82482 13.6596 8.85273 13.6785C9.08402 13.8108 9.31532 13.9143 9.52772 13.9998C9.90753 14.151 10.3611 14.3022 10.8894 14.4066C11.6808 14.5617 12.4945 14.5648 13.287 14.4156C13.7487 14.3332 14.199 14.197 14.6289 14.0097C14.9529 13.8864 15.3138 13.7064 15.6936 13.4517C15.6936 13.4517 15.231 14.2266 14.0178 14.5767C14.2959 14.9358 14.6298 15.3417 14.6298 15.3417H14.6289Z" }) });
|
|
2010
2037
|
}
|
|
2011
2038
|
function EnterpriseMenu() {
|
|
2012
|
-
return /* @__PURE__ */
|
|
2039
|
+
return /* @__PURE__ */ jsx33("ul", { children: [
|
|
2013
2040
|
// TODO: Enable these when the pages are created.
|
|
2014
2041
|
[SvgAccountBox, "Customer Stories", ""],
|
|
2015
2042
|
[SvgBard, "Why GraphQL", ""],
|
|
2016
2043
|
[SvgHonour, "Professional Services", ""],
|
|
2017
2044
|
[SvgShieldFlash, "Commitment to Security", ""]
|
|
2018
2045
|
].map(([Icon, text, href], i) => {
|
|
2019
|
-
return /* @__PURE__ */
|
|
2046
|
+
return /* @__PURE__ */ jsx33(MenuColumnListItem, { href, icon: Icon, children: text }, i);
|
|
2020
2047
|
}) });
|
|
2021
2048
|
}
|
|
2022
2049
|
function CompanyMenu({ children }) {
|
|
2023
2050
|
return /* @__PURE__ */ jsxs21(MenuContentColumns, { children: [
|
|
2024
2051
|
/* @__PURE__ */ jsxs21("div", { children: [
|
|
2025
|
-
/* @__PURE__ */
|
|
2052
|
+
/* @__PURE__ */ jsx33(ColumnLabel, { children: "Company" }),
|
|
2026
2053
|
/* @__PURE__ */ jsxs21("ul", { children: [
|
|
2027
|
-
/* @__PURE__ */
|
|
2028
|
-
/* @__PURE__ */
|
|
2054
|
+
/* @__PURE__ */ jsx33(MenuColumnListItem, { icon: SvgGroup, href: "https://the-guild.dev/about-us", children: "About Us" }),
|
|
2055
|
+
/* @__PURE__ */ jsx33(MenuColumnListItem, { icon: SvgApps, href: "https://the-guild.dev/logos", children: "Brand Assets" })
|
|
2029
2056
|
] }),
|
|
2030
|
-
/* @__PURE__ */
|
|
2057
|
+
/* @__PURE__ */ jsx33(ColumnLabel, { children: "Proudly made by" }),
|
|
2031
2058
|
/* @__PURE__ */ jsxs21(NavigationMenuLink, { href: "https://the-guild.dev", className: "px-4 py-2", arrow: true, children: [
|
|
2032
|
-
/* @__PURE__ */
|
|
2033
|
-
/* @__PURE__ */
|
|
2059
|
+
/* @__PURE__ */ jsx33(SvgGuild, { className: "-my-2 size-10" }),
|
|
2060
|
+
/* @__PURE__ */ jsx33(SvgTheGuild, { className: "h-8" })
|
|
2034
2061
|
] }),
|
|
2035
|
-
/* @__PURE__ */
|
|
2036
|
-
/* @__PURE__ */
|
|
2062
|
+
/* @__PURE__ */ jsx33(ColumnLabel, { children: "Part of" }),
|
|
2063
|
+
/* @__PURE__ */ jsx33(
|
|
2037
2064
|
NavigationMenuLink,
|
|
2038
2065
|
{
|
|
2039
2066
|
href: "https://graphql.org/community/foundation/",
|
|
2040
2067
|
className: "px-4 py-2 text-blue-800 hover:text-blue-1000",
|
|
2041
2068
|
arrow: true,
|
|
2042
|
-
children: /* @__PURE__ */
|
|
2069
|
+
children: /* @__PURE__ */ jsx33(SvgGraphqlFoundation, { className: "" })
|
|
2043
2070
|
}
|
|
2044
2071
|
)
|
|
2045
2072
|
] }),
|
|
2046
|
-
children && /* @__PURE__ */
|
|
2073
|
+
children && /* @__PURE__ */ jsx33("div", { children })
|
|
2047
2074
|
] });
|
|
2048
2075
|
}
|
|
2049
2076
|
function HiveLogoLink({ isHive }) {
|
|
2050
|
-
return /* @__PURE__ */
|
|
2077
|
+
return /* @__PURE__ */ jsx33(
|
|
2051
2078
|
Anchor,
|
|
2052
2079
|
{
|
|
2053
2080
|
href: isHive ? "/" : "https://the-guild.dev/graphql/hive",
|
|
2054
2081
|
className: "hive-focus -m-2 flex items-center rounded-md p-2",
|
|
2055
|
-
children: /* @__PURE__ */
|
|
2082
|
+
children: /* @__PURE__ */ jsx33(SvgHiveCombinationMark, { className: "text-green-1000 dark:text-neutral-200" })
|
|
2056
2083
|
}
|
|
2057
2084
|
);
|
|
2058
2085
|
}
|
|
2059
2086
|
function HamburgerButton() {
|
|
2060
2087
|
const { menu, setMenu } = useMenu();
|
|
2061
|
-
return /* @__PURE__ */
|
|
2088
|
+
return /* @__PURE__ */ jsx33(
|
|
2062
2089
|
"button",
|
|
2063
2090
|
{
|
|
2064
2091
|
type: "button",
|
|
2065
2092
|
"aria-label": "Menu",
|
|
2066
2093
|
className: "md:_hidden hover nextra-hamburger -m-1 rounded-lg bg-transparent p-1 text-green-1000 focus-visible:outline-none focus-visible:ring active:bg-beige-200 dark:text-neutral-200 dark:active:bg-neutral-800",
|
|
2067
2094
|
onClick: () => setMenu(!menu),
|
|
2068
|
-
children: /* @__PURE__ */
|
|
2095
|
+
children: /* @__PURE__ */ jsx33(
|
|
2069
2096
|
MenuIcon,
|
|
2070
2097
|
{
|
|
2071
2098
|
className: cn({ open: menu }, "size-6 stroke-current [&_path]:[stroke-linecap:square]")
|
|
@@ -2098,13 +2125,13 @@ var TopOfSiteMarker = function TopOfSiteMarker2({
|
|
|
2098
2125
|
return null;
|
|
2099
2126
|
}
|
|
2100
2127
|
return createPortal(
|
|
2101
|
-
/* @__PURE__ */
|
|
2128
|
+
/* @__PURE__ */ jsx33("div", { ref: markerRef, className: cn("absolute left-0 top-0 -z-50 size-px", className) }),
|
|
2102
2129
|
document.body
|
|
2103
2130
|
);
|
|
2104
2131
|
};
|
|
2105
2132
|
|
|
2106
2133
|
// src/components/hive-footer.tsx
|
|
2107
|
-
import { jsx as
|
|
2134
|
+
import { jsx as jsx34, jsxs as jsxs22 } from "react/jsx-runtime";
|
|
2108
2135
|
function HiveFooter({
|
|
2109
2136
|
className,
|
|
2110
2137
|
logo,
|
|
@@ -2117,27 +2144,27 @@ function HiveFooter({
|
|
|
2117
2144
|
return /* @__PURE__ */ jsxs22("footer", { className: cn("relative flex justify-center px-4 py-6 xl:px-[120px]", className), children: [
|
|
2118
2145
|
/* @__PURE__ */ jsxs22("div", { className: "mx-4 grid w-full max-w-[75rem] grid-cols-1 gap-x-6 text-green-800 max-lg:gap-y-16 sm:grid-cols-4 lg:gap-x-8 xl:gap-x-10 dark:text-neutral-400", children: [
|
|
2119
2146
|
/* @__PURE__ */ jsxs22("div", { className: "max-lg:col-span-full", children: [
|
|
2120
|
-
/* @__PURE__ */
|
|
2147
|
+
/* @__PURE__ */ jsx34(
|
|
2121
2148
|
Anchor,
|
|
2122
2149
|
{
|
|
2123
2150
|
href: "/",
|
|
2124
2151
|
sameSite,
|
|
2125
2152
|
...logo,
|
|
2126
2153
|
className: "hive-focus -m-1.5 flex rounded p-1.5 text-green-1000 dark:text-white",
|
|
2127
|
-
children: logo?.children || /* @__PURE__ */
|
|
2154
|
+
children: logo?.children || /* @__PURE__ */ jsx34(SvgHiveCombinationMark, { className: "h-8 w-auto" })
|
|
2128
2155
|
}
|
|
2129
2156
|
),
|
|
2130
|
-
/* @__PURE__ */
|
|
2157
|
+
/* @__PURE__ */ jsx34("p", { className: "mt-6 lg:mt-8", children: description })
|
|
2131
2158
|
] }),
|
|
2132
2159
|
/* @__PURE__ */ jsxs22("div", { className: "col-span-full grid grid-flow-row grid-cols-2 justify-stretch gap-6 text-sm sm:col-span-4 sm:grid-cols-3 lg:col-span-3 lg:pb-12 lg:text-base", children: [
|
|
2133
|
-
/* @__PURE__ */
|
|
2160
|
+
/* @__PURE__ */ jsx34(List2, { heading: "Products", links: productLinks }),
|
|
2134
2161
|
/* @__PURE__ */ jsxs22("div", { className: "flex flex-col gap-[inherit]", children: [
|
|
2135
|
-
/* @__PURE__ */
|
|
2136
|
-
/* @__PURE__ */
|
|
2162
|
+
/* @__PURE__ */ jsx34(List2, { heading: "Developer", links: items.developer }),
|
|
2163
|
+
/* @__PURE__ */ jsx34(List2, { heading: "Resources", links: items.resources })
|
|
2137
2164
|
] }),
|
|
2138
2165
|
/* @__PURE__ */ jsxs22("div", { className: "flex flex-col gap-[inherit]", children: [
|
|
2139
|
-
/* @__PURE__ */
|
|
2140
|
-
items.links?.map((link, i) => /* @__PURE__ */
|
|
2166
|
+
/* @__PURE__ */ jsx34(List2, { heading: "Company", links: items.company }),
|
|
2167
|
+
items.links?.map((link, i) => /* @__PURE__ */ jsx34(
|
|
2141
2168
|
Anchor,
|
|
2142
2169
|
{
|
|
2143
2170
|
className: "hive-focus -m-2 rounded p-2 font-medium hover:text-blue-700 hover:underline dark:hover:text-blue-100",
|
|
@@ -2145,7 +2172,7 @@ function HiveFooter({
|
|
|
2145
2172
|
},
|
|
2146
2173
|
i
|
|
2147
2174
|
)),
|
|
2148
|
-
/* @__PURE__ */
|
|
2175
|
+
/* @__PURE__ */ jsx34(
|
|
2149
2176
|
"a",
|
|
2150
2177
|
{
|
|
2151
2178
|
className: "hive-focus -m-2 rounded p-2 font-medium hover:text-blue-700 hover:underline dark:hover:text-blue-100",
|
|
@@ -2160,15 +2187,15 @@ function HiveFooter({
|
|
|
2160
2187
|
}
|
|
2161
2188
|
)
|
|
2162
2189
|
] }),
|
|
2163
|
-
/* @__PURE__ */
|
|
2190
|
+
/* @__PURE__ */ jsx34(CSAStarLink, { className: "sm:col-start-[-1] lg:col-start-[-2]" })
|
|
2164
2191
|
] }),
|
|
2165
2192
|
/* @__PURE__ */ jsxs22("div", { className: "col-span-full flex flex-row flex-wrap justify-between gap-x-[inherit] gap-y-8 lg:w-full lg:pb-2 lg:pt-8", children: [
|
|
2166
|
-
/* @__PURE__ */
|
|
2193
|
+
/* @__PURE__ */ jsx34("div", { className: "flex gap-6 lg:order-1", children: SOCIAL_ICONS.map(({ icon: Icon, ...iconProps }) => /* @__PURE__ */ jsx34(
|
|
2167
2194
|
Anchor,
|
|
2168
2195
|
{
|
|
2169
2196
|
className: "hive-focus -m-1 rounded-md p-1 hover:text-blue-700 dark:hover:text-blue-100",
|
|
2170
2197
|
...iconProps,
|
|
2171
|
-
children: /* @__PURE__ */
|
|
2198
|
+
children: /* @__PURE__ */ jsx34(Icon, { className: "h-5 w-auto" })
|
|
2172
2199
|
},
|
|
2173
2200
|
iconProps.title
|
|
2174
2201
|
)) }),
|
|
@@ -2179,7 +2206,7 @@ function HiveFooter({
|
|
|
2179
2206
|
] })
|
|
2180
2207
|
] })
|
|
2181
2208
|
] }),
|
|
2182
|
-
/* @__PURE__ */
|
|
2209
|
+
/* @__PURE__ */ jsx34(DecorationArch, { className: "pointer-events-none absolute bottom-0 left-0 hidden mix-blend-multiply lg:block dark:opacity-5 dark:mix-blend-normal" })
|
|
2183
2210
|
] });
|
|
2184
2211
|
}
|
|
2185
2212
|
function List2({
|
|
@@ -2189,8 +2216,8 @@ function List2({
|
|
|
2189
2216
|
}) {
|
|
2190
2217
|
if (!links?.length) return null;
|
|
2191
2218
|
return /* @__PURE__ */ jsxs22("div", { className: cn("flex flex-col gap-y-3 text-nowrap lg:gap-y-4", className), children: [
|
|
2192
|
-
/* @__PURE__ */
|
|
2193
|
-
/* @__PURE__ */
|
|
2219
|
+
/* @__PURE__ */ jsx34("h3", { className: "font-medium dark:text-white", children: heading }),
|
|
2220
|
+
/* @__PURE__ */ jsx34("ul", { className: "contents", children: links.map((link, i) => /* @__PURE__ */ jsx34("li", { children: /* @__PURE__ */ jsx34(
|
|
2194
2221
|
Anchor,
|
|
2195
2222
|
{
|
|
2196
2223
|
...link,
|
|
@@ -2297,14 +2324,14 @@ function DecorationArch(props) {
|
|
|
2297
2324
|
fill: "none",
|
|
2298
2325
|
...props,
|
|
2299
2326
|
children: [
|
|
2300
|
-
/* @__PURE__ */
|
|
2327
|
+
/* @__PURE__ */ jsx34(
|
|
2301
2328
|
"path",
|
|
2302
2329
|
{
|
|
2303
2330
|
d: "M360 159.793a39.152 39.152 0 00-11.468-27.672l-56.99-56.99-6.673-6.673-56.99-56.99A39.153 39.153 0 00200.207 0H0v75.131h226.157c32.428 0 58.712 26.284 58.712 58.712V360H360V159.793z",
|
|
2304
2331
|
fill: "url(#paint0_linear_711_2541)"
|
|
2305
2332
|
}
|
|
2306
2333
|
),
|
|
2307
|
-
/* @__PURE__ */
|
|
2334
|
+
/* @__PURE__ */ jsx34("defs", { children: /* @__PURE__ */ jsxs22(
|
|
2308
2335
|
"linearGradient",
|
|
2309
2336
|
{
|
|
2310
2337
|
id: "paint0_linear_711_2541",
|
|
@@ -2314,8 +2341,8 @@ function DecorationArch(props) {
|
|
|
2314
2341
|
y2: 360,
|
|
2315
2342
|
gradientUnits: "userSpaceOnUse",
|
|
2316
2343
|
children: [
|
|
2317
|
-
/* @__PURE__ */
|
|
2318
|
-
/* @__PURE__ */
|
|
2344
|
+
/* @__PURE__ */ jsx34("stop", { stopColor: "#C1D3D7" }),
|
|
2345
|
+
/* @__PURE__ */ jsx34("stop", { offset: 1, stopColor: "#86B6C1" })
|
|
2319
2346
|
]
|
|
2320
2347
|
}
|
|
2321
2348
|
) })
|
|
@@ -2324,7 +2351,7 @@ function DecorationArch(props) {
|
|
|
2324
2351
|
);
|
|
2325
2352
|
}
|
|
2326
2353
|
function CSAStarLink({ className }) {
|
|
2327
|
-
return /* @__PURE__ */
|
|
2354
|
+
return /* @__PURE__ */ jsx34(
|
|
2328
2355
|
"a",
|
|
2329
2356
|
{
|
|
2330
2357
|
href: "https://cloudsecurityalliance.org/star/registry/software-products-guild-ltd-the-guild/services/graphql-hive",
|
|
@@ -2334,7 +2361,7 @@ function CSAStarLink({ className }) {
|
|
|
2334
2361
|
"hive-focus w-fit rounded-full focus-visible:outline-none focus-visible:ring-offset-2 focus-visible:ring-offset-[rgb(var(--nextra-bg))]",
|
|
2335
2362
|
className
|
|
2336
2363
|
),
|
|
2337
|
-
children: /* @__PURE__ */
|
|
2364
|
+
children: /* @__PURE__ */ jsx34(SvgCsaStarLevelOne, { className: "size-20 lg:size-[120px] dark:opacity-95" })
|
|
2338
2365
|
}
|
|
2339
2366
|
);
|
|
2340
2367
|
}
|
|
@@ -2343,23 +2370,23 @@ function CSAStarLink({ className }) {
|
|
|
2343
2370
|
import { useId } from "react";
|
|
2344
2371
|
|
|
2345
2372
|
// src/components/product-card/hive-decoration.svg
|
|
2346
|
-
import { jsx as
|
|
2347
|
-
var SvgHiveDecoration = (props) => /* @__PURE__ */
|
|
2373
|
+
import { jsx as jsx35 } from "react/jsx-runtime";
|
|
2374
|
+
var SvgHiveDecoration = (props) => /* @__PURE__ */ jsx35("svg", { viewBox: "0 0 160 172", ...props, children: /* @__PURE__ */ jsx35("path", { d: "M79.8868 -51H185.113L264 27.8868V133.113L185.113 212H79.8868L1 133.113V27.8868L79.8868 -51ZM146.836 195.215L247.204 94.8463C255.126 86.9252 255.126 74.085 247.204 66.1639L146.836 -34.2043C138.915 -42.1255 126.075 -42.1255 118.154 -34.2043L17.7957 66.1639C9.87451 74.085 9.87451 86.9252 17.7957 94.8463L118.154 195.215C126.075 203.136 138.915 203.136 146.836 195.215ZM104.963 80.4952L132.495 52.9631L160.027 80.4952L132.495 108.027L104.963 80.4952Z" }) });
|
|
2348
2375
|
|
|
2349
2376
|
// src/components/product-card/hive-gateway-decoration.svg
|
|
2350
|
-
import { jsx as
|
|
2351
|
-
var SvgHiveGatewayDecoration = (props) => /* @__PURE__ */
|
|
2377
|
+
import { jsx as jsx36 } from "react/jsx-runtime";
|
|
2378
|
+
var SvgHiveGatewayDecoration = (props) => /* @__PURE__ */ jsx36("svg", { viewBox: "0 0 177 172", ...props, children: /* @__PURE__ */ jsx36("path", { d: "m150 -11.850765-46.65480.000006V67.1886c0 13.4292-10.8768 24.306-24.3054 24.306H0l4.32e-6 46.6548H50.90466c6.36576 0 12.47094-2.529 16.97154-7.0308l75.0954-75.1056C147.4716 51.5124 150 45.408 150 39.043620000000004V-11.850765Zm12 0 46.6548.000006V67.1886c0 13.4292 10.8768 24.306 24.3054 24.306H312v46.6548h-50.9046c-6.366 0-12.471-2.529-16.9716-7.0308L168.0284 55.8562C164.5284 51.5124 162 45.408 162 39.043620000000004V-11.850765ZM150 300.1494h-46.6548V221.1096c0-13.4286-10.8768-24.3054-24.3054-24.3054H0l4.32e-6-46.6548H50.90466c6.36576 0 12.47094 2.529 16.97154 7.0302l75.0954 75.1056c4.5 4.5012 7.0284 10.605 7.0284 16.9698v50.8944Zm12 0h46.6548V221.1096c0-13.4286 10.8768-24.3054 24.3054-24.3054H312v-46.6548h-50.9046c-6.366 0-12.471 2.529-16.9716 7.0302L168.0284 232.2852c-4.5 4.5012-7.0284 10.605-7.0284 16.9698v50.8944Zm17.0214-179.022H132.978v46.0434h46.0434v-46.0434Z" }) });
|
|
2352
2379
|
|
|
2353
2380
|
// src/components/product-card/mesh-decoration.svg
|
|
2354
|
-
import { jsx as
|
|
2355
|
-
var SvgMeshDecoration = (props) => /* @__PURE__ */
|
|
2381
|
+
import { jsx as jsx37 } from "react/jsx-runtime";
|
|
2382
|
+
var SvgMeshDecoration = (props) => /* @__PURE__ */ jsx37("svg", { viewBox: "0 0 156 172", ...props, children: /* @__PURE__ */ jsx37("path", { d: "M213.474 -37.2159L246.99 -3.69922H247V101.699L213.483 135.216L210.216 138.483L176.699 172H71.3008L37.7841 138.483L34.5167 135.216L1 101.699V-3.69922L34.5071 -37.2159L37.7745 -40.4833L71.2912 -74H176.69L210.206 -40.4833L213.474 -37.2159ZM56.9474 135.206H191.043C201.631 135.206 210.206 126.631 210.206 116.043V-18.0526C210.206 -28.6403 201.631 -37.2159 191.043 -37.2159H56.9474C46.3597 -37.2159 37.7841 -28.6403 37.7841 -18.0526V116.043C37.7841 126.631 46.3597 135.206 56.9474 135.206ZM70.9266 83.0905V14.8977C70.9266 4.30997 79.5022 -4.26562 90.09 -4.26562H157.9C168.487 -4.26562 177.063 4.30997 177.063 14.8977V83.0905C177.063 93.6783 168.487 102.254 157.9 102.254H90.09C79.5022 102.254 70.9266 93.6783 70.9266 83.0905ZM140.279 65.4698V32.5184H107.711V65.4698H140.279Z" }) });
|
|
2356
2383
|
|
|
2357
2384
|
// src/components/product-card/yoga-decoration.svg
|
|
2358
|
-
import { jsx as
|
|
2359
|
-
var SvgYogaDecoration = (props) => /* @__PURE__ */
|
|
2385
|
+
import { jsx as jsx38 } from "react/jsx-runtime";
|
|
2386
|
+
var SvgYogaDecoration = (props) => /* @__PURE__ */ jsx38("svg", { viewBox: "0 -11 211 163", ...props, children: /* @__PURE__ */ jsx38("path", { d: "M222.174 67.0744H169.727L201.223 35.5783L166.657 1L132.079 35.5783L163.575 67.0744H111.128C104.378 67.0744 97.8956 69.7617 93.1196 74.5377L1 166.657L35.5783 201.236L148.649 88.1653C158.595 78.2184 174.719 78.2184 184.666 88.1653L297.736 201.236L332.315 166.657L240.182 74.525C235.406 69.749 228.924 67.0617 222.174 67.0617V67.0744ZM166.656 269.854L132.083 304.427L166.656 339L201.229 304.427L166.656 269.854ZM111.141 201.239H166.657H166.683H222.199C228.949 201.239 235.432 203.927 240.208 208.703L266.788 235.283L232.21 269.861L184.679 222.33C174.732 212.383 158.608 212.383 148.661 222.33L101.131 269.861L66.5522 235.283L93.1323 208.703C97.9083 203.927 104.391 201.239 111.141 201.239Z" }) });
|
|
2360
2387
|
|
|
2361
2388
|
// src/components/product-card/index.tsx
|
|
2362
|
-
import { Fragment as Fragment6, jsx as
|
|
2389
|
+
import { Fragment as Fragment6, jsx as jsx39, jsxs as jsxs23 } from "react/jsx-runtime";
|
|
2363
2390
|
var cardDecorations = {
|
|
2364
2391
|
[PRODUCTS.HIVE.name]: SvgHiveDecoration,
|
|
2365
2392
|
[PRODUCTS.YOGA.name]: SvgYogaDecoration,
|
|
@@ -2371,7 +2398,7 @@ function MainProductCard({ as: Root2, product, className, ...rest }) {
|
|
|
2371
2398
|
const Icon = product.logo;
|
|
2372
2399
|
const isHive = product.name === PRODUCTS.HIVE.name;
|
|
2373
2400
|
const id = useId();
|
|
2374
|
-
return /* @__PURE__ */
|
|
2401
|
+
return /* @__PURE__ */ jsx39(
|
|
2375
2402
|
Root2,
|
|
2376
2403
|
{
|
|
2377
2404
|
className: cn(
|
|
@@ -2386,11 +2413,11 @@ function MainProductCard({ as: Root2, product, className, ...rest }) {
|
|
|
2386
2413
|
className: "relative z-10 flex h-full flex-1 flex-col justify-between p-8 outline-none focus-visible:outline-none",
|
|
2387
2414
|
href: product.href,
|
|
2388
2415
|
children: [
|
|
2389
|
-
/* @__PURE__ */
|
|
2390
|
-
/* @__PURE__ */
|
|
2391
|
-
/* @__PURE__ */
|
|
2416
|
+
/* @__PURE__ */ jsx39("p", { className: "font-medium", children: product.name }),
|
|
2417
|
+
/* @__PURE__ */ jsx39(Icon, { className: "mt-8" }),
|
|
2418
|
+
/* @__PURE__ */ jsx39(SvgArrowIcon, { className: "absolute bottom-8 right-8" }),
|
|
2392
2419
|
/* @__PURE__ */ jsxs23(DecorationIsolation, { children: [
|
|
2393
|
-
/* @__PURE__ */
|
|
2420
|
+
/* @__PURE__ */ jsx39(
|
|
2394
2421
|
Decoration,
|
|
2395
2422
|
{
|
|
2396
2423
|
strokeWidth: "0.5px",
|
|
@@ -2401,11 +2428,11 @@ function MainProductCard({ as: Root2, product, className, ...rest }) {
|
|
|
2401
2428
|
fill: `url(#${id})`
|
|
2402
2429
|
}
|
|
2403
2430
|
),
|
|
2404
|
-
/* @__PURE__ */
|
|
2431
|
+
/* @__PURE__ */ jsx39(
|
|
2405
2432
|
"svg",
|
|
2406
2433
|
{
|
|
2407
2434
|
className: "size-0",
|
|
2408
|
-
children: /* @__PURE__ */
|
|
2435
|
+
children: /* @__PURE__ */ jsx39("defs", { children: /* @__PURE__ */ jsx39(
|
|
2409
2436
|
"linearGradient",
|
|
2410
2437
|
{
|
|
2411
2438
|
id,
|
|
@@ -2415,17 +2442,17 @@ function MainProductCard({ as: Root2, product, className, ...rest }) {
|
|
|
2415
2442
|
y2: "171",
|
|
2416
2443
|
gradientUnits: "userSpaceOnUse",
|
|
2417
2444
|
children: isHive ? /* @__PURE__ */ jsxs23(Fragment6, { children: [
|
|
2418
|
-
/* @__PURE__ */
|
|
2419
|
-
/* @__PURE__ */
|
|
2445
|
+
/* @__PURE__ */ jsx39("stop", { stopColor: "#3b736a" }),
|
|
2446
|
+
/* @__PURE__ */ jsx39("stop", { offset: "1", stopColor: "#245850" })
|
|
2420
2447
|
] }) : /* @__PURE__ */ jsxs23(Fragment6, { children: [
|
|
2421
|
-
/* @__PURE__ */
|
|
2422
|
-
/* @__PURE__ */
|
|
2448
|
+
/* @__PURE__ */ jsx39("stop", { stopColor: "white", stopOpacity: "0.1" }),
|
|
2449
|
+
/* @__PURE__ */ jsx39("stop", { offset: "1", stopColor: "white", stopOpacity: "0.4" })
|
|
2423
2450
|
] })
|
|
2424
2451
|
}
|
|
2425
2452
|
) })
|
|
2426
2453
|
}
|
|
2427
2454
|
),
|
|
2428
|
-
/* @__PURE__ */
|
|
2455
|
+
/* @__PURE__ */ jsx39(SvgHighlightDecoration, { className: "pointer-events-none absolute left-0 top-[-15%] h-[150%] w-full opacity-0 transition-opacity duration-1000 group-focus-within:opacity-100 group-hover:opacity-100" })
|
|
2429
2456
|
] })
|
|
2430
2457
|
]
|
|
2431
2458
|
}
|
|
@@ -2435,7 +2462,7 @@ function MainProductCard({ as: Root2, product, className, ...rest }) {
|
|
|
2435
2462
|
}
|
|
2436
2463
|
function AncillaryProductCard({ product, as: Root2, className, ...rest }) {
|
|
2437
2464
|
const Logo = product.logo;
|
|
2438
|
-
return /* @__PURE__ */
|
|
2465
|
+
return /* @__PURE__ */ jsx39(
|
|
2439
2466
|
Root2,
|
|
2440
2467
|
{
|
|
2441
2468
|
className: cn(
|
|
@@ -2450,18 +2477,18 @@ function AncillaryProductCard({ product, as: Root2, className, ...rest }) {
|
|
|
2450
2477
|
className: "relative flex h-full flex-col justify-between rounded-[inherit] p-8 focus:outline-none focus-visible:outline-none",
|
|
2451
2478
|
children: [
|
|
2452
2479
|
/* @__PURE__ */ jsxs23("div", { children: [
|
|
2453
|
-
/* @__PURE__ */
|
|
2454
|
-
/* @__PURE__ */
|
|
2480
|
+
/* @__PURE__ */ jsx39("p", { className: "font-medium", children: product.name }),
|
|
2481
|
+
/* @__PURE__ */ jsx39("p", { className: "mt-2 text-sm text-green-800", children: product.title })
|
|
2455
2482
|
] }),
|
|
2456
|
-
/* @__PURE__ */
|
|
2483
|
+
/* @__PURE__ */ jsx39(
|
|
2457
2484
|
"div",
|
|
2458
2485
|
{
|
|
2459
2486
|
role: "presentation",
|
|
2460
2487
|
className: "mt-8 flex size-8 items-center justify-center rounded bg-green-1000 p-[5px] text-sm/5 font-medium text-white",
|
|
2461
|
-
children: /* @__PURE__ */
|
|
2488
|
+
children: /* @__PURE__ */ jsx39(Logo, {})
|
|
2462
2489
|
}
|
|
2463
2490
|
),
|
|
2464
|
-
/* @__PURE__ */
|
|
2491
|
+
/* @__PURE__ */ jsx39(SvgArrowIcon, { className: "absolute bottom-8 right-8" })
|
|
2465
2492
|
]
|
|
2466
2493
|
}
|
|
2467
2494
|
)
|
|
@@ -2470,11 +2497,11 @@ function AncillaryProductCard({ product, as: Root2, className, ...rest }) {
|
|
|
2470
2497
|
}
|
|
2471
2498
|
function ProductCard(props) {
|
|
2472
2499
|
const isMainProduct = FOUR_MAIN_PRODUCTS.some((p) => p.name === props.product.name);
|
|
2473
|
-
return isMainProduct ? /* @__PURE__ */
|
|
2500
|
+
return isMainProduct ? /* @__PURE__ */ jsx39(MainProductCard, { ...props }) : /* @__PURE__ */ jsx39(AncillaryProductCard, { ...props });
|
|
2474
2501
|
}
|
|
2475
2502
|
|
|
2476
2503
|
// src/components/tools-and-libraries-cards/index.tsx
|
|
2477
|
-
import { jsx as
|
|
2504
|
+
import { jsx as jsx40, jsxs as jsxs24 } from "react/jsx-runtime";
|
|
2478
2505
|
function ToolsAndLibrariesCards({
|
|
2479
2506
|
className,
|
|
2480
2507
|
isHive,
|
|
@@ -2489,12 +2516,12 @@ function ToolsAndLibrariesCards({
|
|
|
2489
2516
|
),
|
|
2490
2517
|
...rest,
|
|
2491
2518
|
children: [
|
|
2492
|
-
/* @__PURE__ */
|
|
2493
|
-
/* @__PURE__ */
|
|
2494
|
-
/* @__PURE__ */
|
|
2495
|
-
/* @__PURE__ */
|
|
2496
|
-
/* @__PURE__ */
|
|
2497
|
-
/* @__PURE__ */
|
|
2519
|
+
/* @__PURE__ */ jsx40(Heading, { as: "h2", size: "md", className: "text-green-1000", children: "Discover the complete ecosystem of tools and libraries" }),
|
|
2520
|
+
/* @__PURE__ */ jsx40("p", { className: "text-green-800", children: "Complete GraphQL Federation Stack" }),
|
|
2521
|
+
/* @__PURE__ */ jsx40("ul", { className: "nextra-scrollbar -mx-12 -my-2 flex grid-cols-2 gap-[22px] overflow-auto px-12 py-2 lg:grid xl:grid-cols-4", children: FOUR_MAIN_PRODUCTS.map((product) => /* @__PURE__ */ jsx40(MainProductCard, { as: "li", product }, product.name)) }),
|
|
2522
|
+
/* @__PURE__ */ jsx40("p", { className: "text-green-800", children: "Our libraries to support all your GraphQL needs" }),
|
|
2523
|
+
/* @__PURE__ */ jsx40("ul", { className: "nextra-scrollbar -mx-12 -my-2 flex h-max grid-cols-6 gap-[22px] overflow-x-auto overflow-y-hidden px-12 py-2 max-sm:-mx-8 max-sm:px-8 sm:grid sm:grid-cols-2 lg:grid-cols-3", children: SIX_HIGHLIGHTED_PRODUCTS.map((product) => /* @__PURE__ */ jsx40(AncillaryProductCard, { as: "li", product }, product.name)) }),
|
|
2524
|
+
/* @__PURE__ */ jsx40(
|
|
2498
2525
|
CallToAction,
|
|
2499
2526
|
{
|
|
2500
2527
|
href: isHive ? "/ecosystem" : "https://the-guild.dev/graphql/hive/ecosystem",
|
|
@@ -2509,7 +2536,7 @@ function ToolsAndLibrariesCards({
|
|
|
2509
2536
|
|
|
2510
2537
|
// src/components/cookies-consent.tsx
|
|
2511
2538
|
import { useState as useState3 } from "react";
|
|
2512
|
-
import { jsx as
|
|
2539
|
+
import { jsx as jsx41, jsxs as jsxs25 } from "react/jsx-runtime";
|
|
2513
2540
|
function CookiesConsent(props) {
|
|
2514
2541
|
const [consented, setConsented] = useState3(() => localStorage.getItem("cookies") === "true");
|
|
2515
2542
|
const onAccept = () => {
|
|
@@ -2529,12 +2556,12 @@ function CookiesConsent(props) {
|
|
|
2529
2556
|
),
|
|
2530
2557
|
children: [
|
|
2531
2558
|
/* @__PURE__ */ jsxs25("div", { children: [
|
|
2532
|
-
/* @__PURE__ */
|
|
2559
|
+
/* @__PURE__ */ jsx41("p", { className: "max-sm:inline", children: "This site uses cookies for analytics and improving your experience." }),
|
|
2533
2560
|
" ",
|
|
2534
|
-
/* @__PURE__ */
|
|
2561
|
+
/* @__PURE__ */ jsx41("p", { className: "max-sm:inline", children: "By using our services, you consent to cookies." })
|
|
2535
2562
|
] }),
|
|
2536
2563
|
/* @__PURE__ */ jsxs25("div", { className: "ml-auto flex w-auto items-center justify-end gap-4", children: [
|
|
2537
|
-
/* @__PURE__ */
|
|
2564
|
+
/* @__PURE__ */ jsx41(
|
|
2538
2565
|
"a",
|
|
2539
2566
|
{
|
|
2540
2567
|
href: "https://the-guild.dev/graphql/hive/privacy-policy.pdf",
|
|
@@ -2544,7 +2571,7 @@ function CookiesConsent(props) {
|
|
|
2544
2571
|
children: "Privacy Policy"
|
|
2545
2572
|
}
|
|
2546
2573
|
),
|
|
2547
|
-
/* @__PURE__ */
|
|
2574
|
+
/* @__PURE__ */ jsx41(CallToAction, { variant: "tertiary", onClick: onAccept, className: "px-4 py-2", children: "Allow" })
|
|
2548
2575
|
] })
|
|
2549
2576
|
]
|
|
2550
2577
|
}
|
|
@@ -2552,9 +2579,9 @@ function CookiesConsent(props) {
|
|
|
2552
2579
|
}
|
|
2553
2580
|
|
|
2554
2581
|
// src/components/stud.tsx
|
|
2555
|
-
import { jsx as
|
|
2582
|
+
import { jsx as jsx42 } from "react/jsx-runtime";
|
|
2556
2583
|
function Stud(props) {
|
|
2557
|
-
return /* @__PURE__ */
|
|
2584
|
+
return /* @__PURE__ */ jsx42(
|
|
2558
2585
|
"div",
|
|
2559
2586
|
{
|
|
2560
2587
|
...props,
|
|
@@ -2567,7 +2594,7 @@ function Stud(props) {
|
|
|
2567
2594
|
}
|
|
2568
2595
|
|
|
2569
2596
|
// src/components/info-card.tsx
|
|
2570
|
-
import { jsx as
|
|
2597
|
+
import { jsx as jsx43, jsxs as jsxs26 } from "react/jsx-runtime";
|
|
2571
2598
|
function InfoCard({
|
|
2572
2599
|
as: Root2 = "div",
|
|
2573
2600
|
icon,
|
|
@@ -2577,20 +2604,20 @@ function InfoCard({
|
|
|
2577
2604
|
...rest
|
|
2578
2605
|
}) {
|
|
2579
2606
|
return /* @__PURE__ */ jsxs26(Root2, { className: cn("bg-beige-100 p-6 md:p-12", className), ...rest, children: [
|
|
2580
|
-
/* @__PURE__ */
|
|
2581
|
-
/* @__PURE__ */
|
|
2582
|
-
/* @__PURE__ */
|
|
2607
|
+
/* @__PURE__ */ jsx43(Stud, { children: icon }),
|
|
2608
|
+
/* @__PURE__ */ jsx43("h3", { className: "mt-4 text-xl font-medium leading-[1.4] text-green-1000 md:mt-6", children: heading }),
|
|
2609
|
+
/* @__PURE__ */ jsx43("p", { className: "mt-2 text-green-800 md:mt-4", children })
|
|
2583
2610
|
] });
|
|
2584
2611
|
}
|
|
2585
2612
|
|
|
2586
2613
|
// src/components/text-link.tsx
|
|
2587
2614
|
import React2 from "react";
|
|
2588
|
-
import { jsx as
|
|
2615
|
+
import { jsx as jsx44 } from "react/jsx-runtime";
|
|
2589
2616
|
function TextLink({ className, children, ...rest }) {
|
|
2590
2617
|
const hasArrow = children && flattenFragments(children).some(
|
|
2591
2618
|
(child) => typeof child === "object" && child && "type" in child && child.type === SvgArrowIcon
|
|
2592
2619
|
);
|
|
2593
|
-
return /* @__PURE__ */
|
|
2620
|
+
return /* @__PURE__ */ jsx44(
|
|
2594
2621
|
Anchor,
|
|
2595
2622
|
{
|
|
2596
2623
|
className: cn(
|
|
@@ -2610,7 +2637,7 @@ function flattenFragments(children) {
|
|
|
2610
2637
|
}
|
|
2611
2638
|
|
|
2612
2639
|
// src/components/explore-main-product-cards.tsx
|
|
2613
|
-
import { jsx as
|
|
2640
|
+
import { jsx as jsx45, jsxs as jsxs27 } from "react/jsx-runtime";
|
|
2614
2641
|
function ExploreMainProductCards({
|
|
2615
2642
|
className,
|
|
2616
2643
|
isHive,
|
|
@@ -2626,7 +2653,7 @@ function ExploreMainProductCards({
|
|
|
2626
2653
|
...rest,
|
|
2627
2654
|
children: [
|
|
2628
2655
|
/* @__PURE__ */ jsxs27("div", { className: "[@media(min-width:1490px)]:w-[293px]", children: [
|
|
2629
|
-
/* @__PURE__ */
|
|
2656
|
+
/* @__PURE__ */ jsx45(Heading, { as: "h2", size: "xs", className: "text-pretty", children: "Explore Hive 360\xB0 GraphQL Ecosystem to reach full potential" }),
|
|
2630
2657
|
/* @__PURE__ */ jsxs27(
|
|
2631
2658
|
TextLink,
|
|
2632
2659
|
{
|
|
@@ -2634,12 +2661,12 @@ function ExploreMainProductCards({
|
|
|
2634
2661
|
className: "mt-4 lg:mt-6",
|
|
2635
2662
|
children: [
|
|
2636
2663
|
"Learn more",
|
|
2637
|
-
/* @__PURE__ */
|
|
2664
|
+
/* @__PURE__ */ jsx45(SvgArrowIcon, {})
|
|
2638
2665
|
]
|
|
2639
2666
|
}
|
|
2640
2667
|
)
|
|
2641
2668
|
] }),
|
|
2642
|
-
/* @__PURE__ */
|
|
2669
|
+
/* @__PURE__ */ jsx45("ul", { className: "nextra-scrollbar -mx-12 -my-2 flex shrink-0 grow gap-[22px] overflow-auto px-12 py-2 [@media(max-width:1490px)]:w-full [@media(min-width:1490px)]:overflow-visible [&>:nth-child(n+4)]:[@media(min-width:1490px)]:hidden", children: FOUR_MAIN_PRODUCTS.map((product) => /* @__PURE__ */ jsx45(MainProductCard, { as: "li", product }, product.name)) })
|
|
2643
2670
|
]
|
|
2644
2671
|
}
|
|
2645
2672
|
);
|
|
@@ -2647,7 +2674,7 @@ function ExploreMainProductCards({
|
|
|
2647
2674
|
|
|
2648
2675
|
// src/components/dropdown.tsx
|
|
2649
2676
|
import { createContext, useContext, useEffect as useEffect4, useId as useId2, useRef as useRef2, useState as useState4 } from "react";
|
|
2650
|
-
import { jsx as
|
|
2677
|
+
import { jsx as jsx46 } from "react/jsx-runtime";
|
|
2651
2678
|
var DropdownContext = createContext(null);
|
|
2652
2679
|
function useDropdownContext() {
|
|
2653
2680
|
const context = useContext(DropdownContext);
|
|
@@ -2694,11 +2721,11 @@ function Dropdown({ children, className, type, ...props }) {
|
|
|
2694
2721
|
const dismissDelayMs = 200;
|
|
2695
2722
|
const isHoveringRef = useRef2(isHovering);
|
|
2696
2723
|
isHoveringRef.current = isHovering;
|
|
2697
|
-
return /* @__PURE__ */
|
|
2724
|
+
return /* @__PURE__ */ jsx46(
|
|
2698
2725
|
DropdownContext.Provider,
|
|
2699
2726
|
{
|
|
2700
2727
|
value: { isOpen, setIsOpen, isHovering, setIsHovering, buttonId, menuId, buttonRef, menuRef },
|
|
2701
|
-
children: /* @__PURE__ */
|
|
2728
|
+
children: /* @__PURE__ */ jsx46(
|
|
2702
2729
|
"div",
|
|
2703
2730
|
{
|
|
2704
2731
|
className: cn("relative", className),
|
|
@@ -2727,7 +2754,7 @@ function Dropdown({ children, className, type, ...props }) {
|
|
|
2727
2754
|
}
|
|
2728
2755
|
function DropdownTrigger({ children, className, ...props }) {
|
|
2729
2756
|
const { isOpen, setIsOpen, buttonId, menuId, buttonRef, setIsHovering } = useDropdownContext();
|
|
2730
|
-
return /* @__PURE__ */
|
|
2757
|
+
return /* @__PURE__ */ jsx46(
|
|
2731
2758
|
"button",
|
|
2732
2759
|
{
|
|
2733
2760
|
ref: buttonRef,
|
|
@@ -2747,7 +2774,7 @@ function DropdownTrigger({ children, className, ...props }) {
|
|
|
2747
2774
|
}
|
|
2748
2775
|
function DropdownContent({ children, className, ...props }) {
|
|
2749
2776
|
const { isOpen, buttonId, menuId, menuRef } = useDropdownContext();
|
|
2750
|
-
return /* @__PURE__ */
|
|
2777
|
+
return /* @__PURE__ */ jsx46(
|
|
2751
2778
|
"div",
|
|
2752
2779
|
{
|
|
2753
2780
|
ref: menuRef,
|
|
@@ -2764,9 +2791,9 @@ function DropdownContent({ children, className, ...props }) {
|
|
|
2764
2791
|
}
|
|
2765
2792
|
function DropdownItem({ children, onClick, className, href, ...props }) {
|
|
2766
2793
|
if (href) {
|
|
2767
|
-
return /* @__PURE__ */
|
|
2794
|
+
return /* @__PURE__ */ jsx46("a", { role: "menuitem", href, className, onClick, ...props, children });
|
|
2768
2795
|
}
|
|
2769
|
-
return /* @__PURE__ */
|
|
2796
|
+
return /* @__PURE__ */ jsx46(
|
|
2770
2797
|
"button",
|
|
2771
2798
|
{
|
|
2772
2799
|
role: "menuitem",
|
|
@@ -2784,7 +2811,7 @@ function DropdownItem({ children, onClick, className, href, ...props }) {
|
|
|
2784
2811
|
}
|
|
2785
2812
|
|
|
2786
2813
|
// src/components/version-dropdown.tsx
|
|
2787
|
-
import { jsx as
|
|
2814
|
+
import { jsx as jsx47, jsxs as jsxs28 } from "react/jsx-runtime";
|
|
2788
2815
|
function VersionDropdown({
|
|
2789
2816
|
currentVersion,
|
|
2790
2817
|
versions,
|
|
@@ -2792,11 +2819,11 @@ function VersionDropdown({
|
|
|
2792
2819
|
}) {
|
|
2793
2820
|
return /* @__PURE__ */ jsxs28(Dropdown, { type: "hover", className: "relative", children: [
|
|
2794
2821
|
/* @__PURE__ */ jsxs28(DropdownTrigger, { className: "hive-focus flex cursor-default items-center gap-1 py-2 font-medium leading-normal text-green-800 aria-expanded:text-green-1000 dark:text-neutral-300 dark:aria-expanded:text-neutral-100", children: [
|
|
2795
|
-
chevronPosition === "left" && /* @__PURE__ */
|
|
2822
|
+
chevronPosition === "left" && /* @__PURE__ */ jsx47(SvgCaretSlim, { className: "size-3.5" }),
|
|
2796
2823
|
currentVersion,
|
|
2797
|
-
chevronPosition === "right" && /* @__PURE__ */
|
|
2824
|
+
chevronPosition === "right" && /* @__PURE__ */ jsx47(SvgCaretSlim, { className: "size-3.5" })
|
|
2798
2825
|
] }),
|
|
2799
|
-
/* @__PURE__ */
|
|
2826
|
+
/* @__PURE__ */ jsx47(DropdownContent, { className: "absolute left-full min-w-16 -translate-x-full translate-y-2 rounded-xl border border-beige-200 bg-white p-1 shadow-[0px_16px_32px_-12px_rgba(14,18,27,0.10)] transition ease-in-out data-[state=closed]:pointer-events-none data-[state=closed]:translate-y-0 data-[state=closed]:scale-95 data-[state=closed]:opacity-0 data-[state=open]:fade-in-90 dark:border-neutral-800 dark:bg-neutral-900", children: versions.map((version) => /* @__PURE__ */ jsxs28(
|
|
2800
2827
|
DropdownItem,
|
|
2801
2828
|
{
|
|
2802
2829
|
href: version.href,
|
|
@@ -2808,7 +2835,7 @@ function VersionDropdown({
|
|
|
2808
2835
|
children: [
|
|
2809
2836
|
version.label ?? version.value,
|
|
2810
2837
|
" ",
|
|
2811
|
-
version.value === currentVersion && /* @__PURE__ */
|
|
2838
|
+
version.value === currentVersion && /* @__PURE__ */ jsx47(SvgCheck, { className: "size-3.5" })
|
|
2812
2839
|
]
|
|
2813
2840
|
},
|
|
2814
2841
|
version.value
|
|
@@ -2819,11 +2846,12 @@ function VersionDropdown({
|
|
|
2819
2846
|
// src/define-config.tsx
|
|
2820
2847
|
import { useRouter as useRouter3 } from "next/router";
|
|
2821
2848
|
import { Navbar, useConfig } from "nextra-theme-docs";
|
|
2822
|
-
import { Fragment as Fragment7, jsx as
|
|
2849
|
+
import { Fragment as Fragment7, jsx as jsx48, jsxs as jsxs29 } from "react/jsx-runtime";
|
|
2823
2850
|
function defineConfig({
|
|
2824
2851
|
websiteName,
|
|
2825
2852
|
description,
|
|
2826
2853
|
logo,
|
|
2854
|
+
themeVersion = "original",
|
|
2827
2855
|
...config
|
|
2828
2856
|
}) {
|
|
2829
2857
|
if (!config.docsRepositoryBase) {
|
|
@@ -2841,7 +2869,7 @@ function defineConfig({
|
|
|
2841
2869
|
labels: "kind/docs"
|
|
2842
2870
|
},
|
|
2843
2871
|
footer: {
|
|
2844
|
-
component: /* @__PURE__ */
|
|
2872
|
+
component: /* @__PURE__ */ jsx48(Footer, {})
|
|
2845
2873
|
},
|
|
2846
2874
|
sidebar: {
|
|
2847
2875
|
defaultMenuCollapseLevel: 1,
|
|
@@ -2875,38 +2903,39 @@ function defineConfig({
|
|
|
2875
2903
|
} = frontMatter;
|
|
2876
2904
|
const title = `${pageTitle} (${websiteName})`;
|
|
2877
2905
|
return /* @__PURE__ */ jsxs29(Fragment7, { children: [
|
|
2878
|
-
/* @__PURE__ */
|
|
2879
|
-
/* @__PURE__ */
|
|
2906
|
+
/* @__PURE__ */ jsx48("title", { children: title }),
|
|
2907
|
+
/* @__PURE__ */ jsx48("meta", { property: "og:title", content: title }),
|
|
2880
2908
|
description2 && [
|
|
2881
|
-
/* @__PURE__ */
|
|
2882
|
-
/* @__PURE__ */
|
|
2909
|
+
/* @__PURE__ */ jsx48("meta", { name: "description", content: description2 }, 0),
|
|
2910
|
+
/* @__PURE__ */ jsx48("meta", { property: "og:description", content: description2 }, 1)
|
|
2883
2911
|
],
|
|
2884
2912
|
canonical && [
|
|
2885
|
-
/* @__PURE__ */
|
|
2886
|
-
/* @__PURE__ */
|
|
2913
|
+
/* @__PURE__ */ jsx48("link", { rel: "canonical", href: canonical }, 3),
|
|
2914
|
+
/* @__PURE__ */ jsx48("meta", { property: "og:url", content: canonical }, 4)
|
|
2887
2915
|
],
|
|
2888
|
-
/* @__PURE__ */
|
|
2889
|
-
/* @__PURE__ */
|
|
2890
|
-
/* @__PURE__ */
|
|
2891
|
-
/* @__PURE__ */
|
|
2892
|
-
/* @__PURE__ */
|
|
2893
|
-
/* @__PURE__ */
|
|
2894
|
-
/* @__PURE__ */
|
|
2895
|
-
/* @__PURE__ */
|
|
2896
|
-
/* @__PURE__ */
|
|
2897
|
-
/* @__PURE__ */
|
|
2916
|
+
/* @__PURE__ */ jsx48("meta", { name: "twitter:card", content: "summary_large_image" }),
|
|
2917
|
+
/* @__PURE__ */ jsx48("meta", { name: "twitter:site", content: "https://the-guild.dev" }),
|
|
2918
|
+
/* @__PURE__ */ jsx48("meta", { name: "twitter:creator", content: "@TheGuildDev" }),
|
|
2919
|
+
/* @__PURE__ */ jsx48("meta", { property: "og:type", content: type }),
|
|
2920
|
+
/* @__PURE__ */ jsx48("meta", { property: "og:site_name", content: websiteName }),
|
|
2921
|
+
/* @__PURE__ */ jsx48("meta", { property: "og:image", content: image }),
|
|
2922
|
+
/* @__PURE__ */ jsx48("meta", { property: "og:image:alt", content: pageTitle }),
|
|
2923
|
+
/* @__PURE__ */ jsx48("meta", { content: websiteName, name: "apple-mobile-web-app-title" }),
|
|
2924
|
+
/* @__PURE__ */ jsx48("meta", { content: websiteName, name: "application-name" }),
|
|
2925
|
+
/* @__PURE__ */ jsx48("meta", { name: "robots", content: "index,follow" })
|
|
2898
2926
|
] });
|
|
2899
2927
|
},
|
|
2900
2928
|
logoLink: false,
|
|
2901
2929
|
logo: getNavbarLogo(logo, websiteName, description),
|
|
2902
2930
|
navbar: {
|
|
2903
|
-
extraContent: /* @__PURE__ */
|
|
2904
|
-
...logo && { component: (props) => /* @__PURE__ */
|
|
2931
|
+
extraContent: /* @__PURE__ */ jsx48(ThemeSwitcherButton, {}),
|
|
2932
|
+
...logo && { component: (props) => /* @__PURE__ */ jsx48(Navbar, { items: addGuildCompanyMenu(props.items) }) }
|
|
2905
2933
|
},
|
|
2906
2934
|
...config,
|
|
2907
2935
|
components: {
|
|
2908
2936
|
...mdxComponents,
|
|
2909
|
-
...config.components
|
|
2937
|
+
...config.components,
|
|
2938
|
+
...themeVersion === "hive-rebranding" && hiveMdxComponents
|
|
2910
2939
|
}
|
|
2911
2940
|
};
|
|
2912
2941
|
}
|
|
@@ -3051,6 +3080,7 @@ export {
|
|
|
3051
3080
|
LegacyPackageCmd,
|
|
3052
3081
|
SvgLinkedin as LinkedInIcon,
|
|
3053
3082
|
SvgList as ListIcon,
|
|
3083
|
+
MDXLink,
|
|
3054
3084
|
MainProductCard,
|
|
3055
3085
|
MarketplaceList,
|
|
3056
3086
|
MarketplaceSearch,
|
|
@@ -3103,6 +3133,7 @@ export {
|
|
|
3103
3133
|
defineConfig,
|
|
3104
3134
|
fetchPackageInfo,
|
|
3105
3135
|
getNavbarLogo,
|
|
3136
|
+
hiveMdxComponents,
|
|
3106
3137
|
mdxComponents,
|
|
3107
3138
|
productsItems,
|
|
3108
3139
|
useConfig2 as useConfig,
|