From dcfe14bf297984a31d6b34d9765be06ef745612c Mon Sep 17 00:00:00 2001 From: ryjiang Date: Tue, 19 Dec 2023 17:23:39 +0800 Subject: [PATCH] update index page Signed-off-by: ryjiang --- src/components/home/attu.jsx | 7 ++- src/components/home/code-example.js | 73 ++++++++++++++++++++--------- src/components/home/code.jsx | 7 +-- src/pages/blogs/versions/master | 2 +- src/pages/docs/versions/master | 2 +- src/pages/index.less | 4 +- 6 files changed, 63 insertions(+), 32 deletions(-) diff --git a/src/components/home/attu.jsx b/src/components/home/attu.jsx index 10ab97cdd..5bebf2286 100644 --- a/src/components/home/attu.jsx +++ b/src/components/home/attu.jsx @@ -64,9 +64,10 @@ const Attu = props => { onKeyDown={() => handleActiveClick(0)} tabIndex={0} > - {t('v3trans.home.attu.statistics')} + {t('v3trans.home.attu.operation')} +
{ {t('v3trans.home.attu.manage')}
+
{ onKeyDown={() => handleActiveClick(2)} tabIndex={0} > - {t('v3trans.home.attu.operation')} + {t('v3trans.home.attu.statistics')}
+
{ switch (activeExample) { case EXAMPLES.search: return { - tabs: ['Vector search', 'Hybrid search', 'Time travel'], + tabs: ['Vector search', 'Hybrid search', 'Range Search', 'Iterator'], learnMoreLink: `/docs/search.md`, }; case EXAMPLES.manage: return { - tabs: ['Create collection', 'Create index', 'Insert data'], + tabs: ['Create collection', 'Create index', 'Insert data', 'Upsert data'], learnMoreLink: `/docs/create_collection.md`, }; case EXAMPLES.install: default: return { - tabs: ['Ubuntu', 'CentOS', 'Kubernetes'], + tabs: ['Docker Compose', 'Kubernetes'], learnMoreLink: `/docs/install_cluster-helm.md`, }; } @@ -143,6 +143,7 @@ const Code = props => { +