diff --git a/apps/web-antd/src/router/routes/modules/vben.ts b/apps/web-antd/src/router/routes/modules/vben.ts index 807a8239..4a8cdb0a 100644 --- a/apps/web-antd/src/router/routes/modules/vben.ts +++ b/apps/web-antd/src/router/routes/modules/vben.ts @@ -8,6 +8,7 @@ import { VBEN_NAIVE_PREVIEW_URL, VBEN_TD_PREVIEW_URL, } from '@vben/constants'; +import { SvgTDesignIcon } from '@vben/icons'; import { IFrameView } from '#/layouts'; import { $t } from '#/locales'; @@ -60,7 +61,7 @@ const routes: RouteRecordRaw[] = [ component: IFrameView, meta: { badgeType: 'dot', - icon: 'simple-icons:tdesign', + icon: SvgTDesignIcon, link: VBEN_TD_PREVIEW_URL, title: $t('demos.vben.tdesign'), }, diff --git a/apps/web-ele/src/router/routes/modules/vben.ts b/apps/web-ele/src/router/routes/modules/vben.ts index fa87a901..98bdaf32 100644 --- a/apps/web-ele/src/router/routes/modules/vben.ts +++ b/apps/web-ele/src/router/routes/modules/vben.ts @@ -8,7 +8,7 @@ import { VBEN_NAIVE_PREVIEW_URL, VBEN_TD_PREVIEW_URL, } from '@vben/constants'; -import { SvgAntdvLogoIcon } from '@vben/icons'; +import { SvgAntdvLogoIcon, SvgTDesignIcon } from '@vben/icons'; import { IFrameView } from '#/layouts'; import { $t } from '#/locales'; @@ -72,6 +72,7 @@ const routes: RouteRecordRaw[] = [ component: IFrameView, meta: { badgeType: 'dot', + icon: SvgTDesignIcon, link: VBEN_TD_PREVIEW_URL, title: $t('demos.vben.tdesign'), }, diff --git a/apps/web-naive/src/router/routes/modules/vben.ts b/apps/web-naive/src/router/routes/modules/vben.ts index a5333ed8..8f8803b3 100644 --- a/apps/web-naive/src/router/routes/modules/vben.ts +++ b/apps/web-naive/src/router/routes/modules/vben.ts @@ -8,7 +8,7 @@ import { VBEN_LOGO_URL, VBEN_TD_PREVIEW_URL, } from '@vben/constants'; -import { SvgAntdvLogoIcon } from '@vben/icons'; +import { SvgAntdvLogoIcon, SvgTDesignIcon } from '@vben/icons'; import { IFrameView } from '#/layouts'; import { $t } from '#/locales'; @@ -61,6 +61,7 @@ const routes: RouteRecordRaw[] = [ component: IFrameView, meta: { badgeType: 'dot', + icon: SvgTDesignIcon, link: VBEN_TD_PREVIEW_URL, title: $t('demos.vben.tdesign'), }, diff --git a/packages/icons/src/svg/icons/tdesign-logo.svg b/packages/icons/src/svg/icons/tdesign-logo.svg new file mode 100644 index 00000000..bdbba5cd --- /dev/null +++ b/packages/icons/src/svg/icons/tdesign-logo.svg @@ -0,0 +1,39 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/packages/icons/src/svg/index.ts b/packages/icons/src/svg/index.ts index accf9582..af83e317 100644 --- a/packages/icons/src/svg/index.ts +++ b/packages/icons/src/svg/index.ts @@ -16,6 +16,7 @@ const SvgGoogleIcon = createIconifyIcon('svg:google'); const SvgQQChatIcon = createIconifyIcon('svg:qqchat'); const SvgWeChatIcon = createIconifyIcon('svg:wechat'); const SvgDingDingIcon = createIconifyIcon('svg:dingding'); +const SvgTDesignIcon = createIconifyIcon('svg:tdesign-logo'); export { SvgAntdvLogoIcon, @@ -31,5 +32,6 @@ export { SvgGithubIcon, SvgGoogleIcon, SvgQQChatIcon, + SvgTDesignIcon, SvgWeChatIcon, }; diff --git a/playground/src/router/routes/modules/vben.ts b/playground/src/router/routes/modules/vben.ts index 8f0efdd2..1c177798 100644 --- a/playground/src/router/routes/modules/vben.ts +++ b/playground/src/router/routes/modules/vben.ts @@ -9,7 +9,7 @@ import { VBEN_NAIVE_PREVIEW_URL, VBEN_TD_PREVIEW_URL, } from '@vben/constants'; -import { SvgAntdvLogoIcon } from '@vben/icons'; +import { SvgAntdvLogoIcon, SvgTDesignIcon } from '@vben/icons'; import { IFrameView } from '#/layouts'; import { $t } from '#/locales'; @@ -84,7 +84,7 @@ const routes: RouteRecordRaw[] = [ component: IFrameView, meta: { badgeType: 'dot', - icon: 'logos:tdesign', + icon: SvgTDesignIcon, link: VBEN_TD_PREVIEW_URL, title: $t('demos.vben.tdesign'), },