diff --git a/web/app/(commonLayout)/plugins-coming-soon/assets/coming-soon.png b/web/app/(commonLayout)/plugins-coming-soon/assets/coming-soon.png deleted file mode 100644 index a1c48b508d..0000000000 Binary files a/web/app/(commonLayout)/plugins-coming-soon/assets/coming-soon.png and /dev/null differ diff --git a/web/app/(commonLayout)/plugins-coming-soon/assets/plugins-bg.png b/web/app/(commonLayout)/plugins-coming-soon/assets/plugins-bg.png deleted file mode 100644 index 9be76acc52..0000000000 Binary files a/web/app/(commonLayout)/plugins-coming-soon/assets/plugins-bg.png and /dev/null differ diff --git a/web/app/(commonLayout)/plugins-coming-soon/page.module.css b/web/app/(commonLayout)/plugins-coming-soon/page.module.css deleted file mode 100644 index 73aab949c9..0000000000 --- a/web/app/(commonLayout)/plugins-coming-soon/page.module.css +++ /dev/null @@ -1,32 +0,0 @@ -.bg { - position: relative; - width: 750px; - height: 450px; - background: #fff url(./assets/plugins-bg.png) center center no-repeat; - background-size: contain; - box-shadow: 0px 12px 16px -4px rgba(16, 24, 40, 0.08), 0px 4px 6px -2px rgba(16, 24, 40, 0.03); - border-radius: 16px; -} - -.text { - position: absolute; - top: 40px; - left: 48px; - width: 526px; - background: linear-gradient(91.92deg, #104AE1 -1.74%, #0098EE 75.74%); - background-clip: text; - color: transparent; - font-size: 24px; - font-weight: 700; - line-height: 32px; -} - -.tag { - position: absolute; - width: 116.74px; - height: 69.3px; - left: -18.37px; - top: -11.48px; - background: url(./assets/coming-soon.png) center center no-repeat; - background-size: contain; -} \ No newline at end of file diff --git a/web/app/(commonLayout)/plugins-coming-soon/page.tsx b/web/app/(commonLayout)/plugins-coming-soon/page.tsx deleted file mode 100644 index 285b0189a3..0000000000 --- a/web/app/(commonLayout)/plugins-coming-soon/page.tsx +++ /dev/null @@ -1,19 +0,0 @@ -import s from './page.module.css' -import { getLocaleOnServer } from '@/i18n/server' -import { useTranslation } from '@/i18n/i18next-serverside-config' - -const PluginsComingSoon = async () => { - const locale = getLocaleOnServer() - const { t } = await useTranslation(locale, 'common') - - return ( -
-
-
-
{t('menus.pluginsTips')}
-
-
- ) -} - -export default PluginsComingSoon diff --git a/web/app/components/header/index.tsx b/web/app/components/header/index.tsx index 0500c86aef..a81c6c6f6c 100644 --- a/web/app/components/header/index.tsx +++ b/web/app/components/header/index.tsx @@ -7,7 +7,6 @@ import DatasetNav from './dataset-nav' import EnvNav from './env-nav' import ExploreNav from './explore-nav' import GithubStar from './github-star' -import PluginNav from './plugin-nav' import { WorkspaceProvider } from '@/context/workspace-context' import { useAppContext } from '@/context/app-context' import LogoSite from '@/app/components/base/logo/logo-site' @@ -31,7 +30,6 @@ const Header = () => {
- {isCurrentWorkspaceManager && }
diff --git a/web/app/components/header/plugin-nav/index.tsx b/web/app/components/header/plugin-nav/index.tsx deleted file mode 100644 index 7a83854049..0000000000 --- a/web/app/components/header/plugin-nav/index.tsx +++ /dev/null @@ -1,37 +0,0 @@ -'use client' - -import { useTranslation } from 'react-i18next' -import Link from 'next/link' -import { useSelectedLayoutSegment } from 'next/navigation' -import classNames from 'classnames' -import { PuzzlePiece01 } from '@/app/components/base/icons/src/vender/line/development' -import { PuzzlePiece01 as PuzzlePiece01Solid } from '@/app/components/base/icons/src/vender/solid/development' - -type PluginNavProps = { - className?: string -} - -const PluginNav = ({ - className, -}: PluginNavProps) => { - const { t } = useTranslation() - const selectedSegment = useSelectedLayoutSegment() - const isPluginsComingSoon = selectedSegment === 'plugins-coming-soon' - - return ( - - { - isPluginsComingSoon - ? - : - } - {t('common.menus.plugins')} - - ) -} - -export default PluginNav