afc163
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
0 additions and
43 deletions
-
.dumi/theme/common/GlobalStyles.tsx
-
.dumirc.ts
|
@ -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` |
|
|
|
@ -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='); |
|
|
|
|
|
`,
|
|
|
|
|
|
], |
|
|
], |
|
|
}); |
|
|
}); |
|
|