mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-08 01:53:34 +08:00
docs: remove hotjar (#38654)
This commit is contained in:
parent
a2b424946b
commit
af139e9d13
@ -1525,10 +1525,6 @@ const GlobalStyles = () => {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#_hj_feedback_container {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
/** home 区块 **/
|
/** home 区块 **/
|
||||||
.home-page-wrapper {
|
.home-page-wrapper {
|
||||||
.page {
|
.page {
|
||||||
@ -1763,25 +1759,6 @@ const GlobalStyles = () => {
|
|||||||
`}
|
`}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
{/* RTL */}
|
|
||||||
<Global
|
|
||||||
styles={css`
|
|
||||||
[data-direction='rtl'] {
|
|
||||||
#_hj_feedback_container {
|
|
||||||
> div {
|
|
||||||
right: auto;
|
|
||||||
left: 32px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.fixed-widgets {
|
|
||||||
right: auto;
|
|
||||||
left: 32px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
`}
|
|
||||||
/>
|
|
||||||
|
|
||||||
{/* Preview Image */}
|
{/* Preview Image */}
|
||||||
<Global
|
<Global
|
||||||
styles={css`
|
styles={css`
|
||||||
|
20
.dumirc.ts
20
.dumirc.ts
@ -95,25 +95,5 @@ export default defineConfig({
|
|||||||
document.documentElement.className += isZhCN(pathname) ? 'zh-cn' : 'en-us';
|
document.documentElement.className += isZhCN(pathname) ? 'zh-cn' : 'en-us';
|
||||||
})();
|
})();
|
||||||
`,
|
`,
|
||||||
// Hotjar Tracking Code for ant.design
|
|
||||||
`
|
|
||||||
(function (h, o, t, j, a, r) {
|
|
||||||
if (location.hostname === 'localhost') {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
h.hj =
|
|
||||||
h.hj ||
|
|
||||||
function () {
|
|
||||||
(h.hj.q = h.hj.q || []).push(arguments);
|
|
||||||
};
|
|
||||||
h._hjSettings = { hjid: 473408, hjsv: 5 };
|
|
||||||
a = o.getElementsByTagName('head')[0];
|
|
||||||
r = o.createElement('script');
|
|
||||||
r.async = 1;
|
|
||||||
r.src = t + h._hjSettings.hjid + j + h._hjSettings.hjsv;
|
|
||||||
a.appendChild(r);
|
|
||||||
})(window, document, '//static.hotjar.com/c/hotjar-', '.js?sv=');
|
|
||||||
`,
|
|
||||||
],
|
],
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user