This is an automated email from the ASF dual-hosted git repository.
luzhijing pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris-website.git
The following commit(s) were added to refs/heads/master by this push:
new 3681a63d2e6 [doc] zh-activity offline (#948)
3681a63d2e6 is described below
commit 3681a63d2e6f3f367b50ea31a4f6bd400f5cdecc
Author: 0xFlackoLFG <[email protected]>
AuthorDate: Mon Aug 5 13:52:15 2024 +0800
[doc] zh-activity offline (#948)
Co-authored-by: 张骏驰 <[email protected]>
---
src/theme/TOC/index.tsx | 21 +++------------------
1 file changed, 3 insertions(+), 18 deletions(-)
diff --git a/src/theme/TOC/index.tsx b/src/theme/TOC/index.tsx
index be3653284ec..1beb375f2db 100644
--- a/src/theme/TOC/index.tsx
+++ b/src/theme/TOC/index.tsx
@@ -18,7 +18,7 @@ export default function TOC({ className, ...props }: Props):
JSX.Element {
const isCN = siteConfig.baseUrl.indexOf('zh-CN') > -1;
return (
<div className={clsx(styles.tableOfContents, 'thin-scrollbar',
className)}>
- {isCN ? (
+ {/* {isCN ? (
<Link
className={clsx(styles.bgCustomGradient, "ml-4 mb-8
text-sm flex items-center hover:no-underline border border-[#aac8d6]
rounded-md")}
href="https://hdxu.cn/S44O0"
@@ -28,23 +28,8 @@ export default function TOC({ className, ...props }: Props):
JSX.Element {
<span className="block">8 月 3 日 Apache Doris x 腾讯云
Meetup 深圳站限时免费参加🔥</span>
<span>立即报名<span
className="ml-1"><ExternalLinkArrowIcon /></span></span>
</div>
- {/* <svg
- viewBox="0 0 1024 1024"
- version="1.1"
- xmlns="http://www.w3.org/2000/svg"
- p-id="8500"
- id="mx_n_1711090272569"
- width="16"
- height="16"
- >
- <path
- d="M522.24 896.512c-25.6 4.608-51.712 7.168-78.336
7.168-79.36 0-157.696-21.504-225.792-62.464l-18.432-10.752-103.936
28.16c-28.672
7.68-54.784-18.432-47.104-47.104l28.16-103.936c-10.752-17.92-17.408-30.208-20.992-36.864C20.992
607.232 3.072 536.064 3.584 463.36c0-243.2 197.12-440.32 440.32-440.32 221.696
0 405.504 164.352 435.712 377.856 90.112 55.808 144.896 154.112 144.896 260.096
0 51.2-12.8 100.352-36.352 144.384-2.048 4.096-6.144 10.752-11.776 20.48l17.4
[...]
- p-id="8501"
- fill="currentColor"
- ></path>
- </svg> */}
</Link>
- ) : (
+ ) : ( */}
<Link
className="ml-4 mb-8 flex items-center hover:no-underline"
href="https://github.com/apache/doris/discussions"
@@ -67,7 +52,7 @@ export default function TOC({ className, ...props }: Props):
JSX.Element {
></path>
</svg>
</Link>
- )}
+ {/* )} */}
<span className="ml-4">{!isCN ? 'On This Page' : '本页导航'}</span>
<TOCItems {...props} linkClassName={LINK_CLASS_NAME}
linkActiveClassName={LINK_ACTIVE_CLASS_NAME} />
</div>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]