@theguild/components 7.2.3 → 7.2.4
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.js +12 -6
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1410,8 +1410,10 @@ function GetYourAPIGameRightSection({ className }) {
|
|
|
1410
1410
|
variant: "tertiary",
|
|
1411
1411
|
href: "https://the-guild.dev/contact",
|
|
1412
1412
|
onClick: (event) => {
|
|
1413
|
-
window.$crisp
|
|
1414
|
-
|
|
1413
|
+
if (window.$crisp) {
|
|
1414
|
+
window.$crisp.push(["do", "chat:open"]);
|
|
1415
|
+
event.preventDefault();
|
|
1416
|
+
}
|
|
1415
1417
|
},
|
|
1416
1418
|
children: "Talk to us"
|
|
1417
1419
|
}
|
|
@@ -1795,8 +1797,10 @@ function HiveNavigation({
|
|
|
1795
1797
|
target: "_blank",
|
|
1796
1798
|
rel: "noopener noreferrer",
|
|
1797
1799
|
onClick: (event) => {
|
|
1798
|
-
window.$crisp
|
|
1799
|
-
|
|
1800
|
+
if (window.$crisp) {
|
|
1801
|
+
window.$crisp.push(["do", "chat:open"]);
|
|
1802
|
+
event.preventDefault();
|
|
1803
|
+
}
|
|
1800
1804
|
},
|
|
1801
1805
|
children: [
|
|
1802
1806
|
"Contact ",
|
|
@@ -2123,8 +2127,10 @@ function HiveFooter({
|
|
|
2123
2127
|
className: "hive-focus -m-2 rounded p-2 font-medium hover:text-blue-700 hover:underline dark:hover:text-blue-100",
|
|
2124
2128
|
href: "https://the-guild.dev/contact",
|
|
2125
2129
|
onClick: (event) => {
|
|
2126
|
-
window.$crisp
|
|
2127
|
-
|
|
2130
|
+
if (window.$crisp) {
|
|
2131
|
+
window.$crisp.push(["do", "chat:open"]);
|
|
2132
|
+
event.preventDefault();
|
|
2133
|
+
}
|
|
2128
2134
|
},
|
|
2129
2135
|
children: "Contact Us"
|
|
2130
2136
|
}
|