@theguild/components 8.0.0-alpha-20241128124726-f5711b92727cb3c831128cec8e16cbcad4b9052b → 8.0.0-alpha-20241128131301-d456edb69435ed4c8bf8e9b8970e040254a529f9
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.
|
@@ -4,7 +4,9 @@ import { useState } from "react";
|
|
|
4
4
|
import { cn } from "../cn";
|
|
5
5
|
import { CallToAction } from "./call-to-action";
|
|
6
6
|
function CookiesConsent(props) {
|
|
7
|
-
const [consented, setConsented] = useState(() =>
|
|
7
|
+
const [consented, setConsented] = useState(() => {
|
|
8
|
+
return typeof localStorage === "undefined" ? false : localStorage.getItem("cookies") === "true";
|
|
9
|
+
});
|
|
8
10
|
const onAccept = () => {
|
|
9
11
|
setConsented(true);
|
|
10
12
|
if (typeof localStorage !== "undefined") {
|
|
@@ -9,7 +9,7 @@ function GraphQLConfCard({ image }) {
|
|
|
9
9
|
href: "https://www.youtube.com/playlist?list=PL43V96KpNj7OMvmfL0WFKP6LpoboM8Hde",
|
|
10
10
|
className: "group w-[358px]",
|
|
11
11
|
children: [
|
|
12
|
-
/* @__PURE__ */ jsx(Image, { alt: "",
|
|
12
|
+
/* @__PURE__ */ jsx(Image, { alt: "", src: image, width: 358, height: 200 }),
|
|
13
13
|
/* @__PURE__ */ jsx("strong", { className: "mt-6 block text-xl font-medium leading-7 text-green-1000 dark:text-neutral-100", children: "GraphQLConf 2024" }),
|
|
14
14
|
/* @__PURE__ */ jsx("p", { className: "mt-4 text-sm font-medium leading-5 text-green-800 dark:text-neutral-200", children: "September 10-12 | San Francisco CA" }),
|
|
15
15
|
/* @__PURE__ */ jsx("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." }),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theguild/components",
|
|
3
|
-
"version": "8.0.0-alpha-
|
|
3
|
+
"version": "8.0.0-alpha-20241128131301-d456edb69435ed4c8bf8e9b8970e040254a529f9",
|
|
4
4
|
"repository": {
|
|
5
5
|
"url": "https://github.com/the-guild-org/docs",
|
|
6
6
|
"directory": "packages/components"
|