From 85f150b56ba256424689b8f3656262f8c3d9ca1f Mon Sep 17 00:00:00 2001 From: the1812 Date: Sun, 13 Oct 2024 16:00:04 +0800 Subject: [PATCH] Deprecate drawings entry --- .../lib/components/style/custom-navbar/built-in-items.ts | 3 +-- .../style/custom-navbar/simple-links/simple-links.ts | 5 ----- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/registry/lib/components/style/custom-navbar/built-in-items.ts b/registry/lib/components/style/custom-navbar/built-in-items.ts index 1540783c8..3829023a4 100644 --- a/registry/lib/components/style/custom-navbar/built-in-items.ts +++ b/registry/lib/components/style/custom-navbar/built-in-items.ts @@ -6,7 +6,7 @@ import { logo } from './logo/logo' import { home } from './home/home' import { gamesIframe, livesIframe, mangaIframe } from './iframe/iframe' import { blanks } from './flexible-blank/flexible-blank' -import { bangumi, music, drawing, shop, match, creations } from './simple-links/simple-links' +import { bangumi, music, shop, match, creations } from './simple-links/simple-links' import { upload } from './upload/upload' import { search } from './search/search' import { feeds } from './feeds/feeds' @@ -22,7 +22,6 @@ export const getBuiltInItems = (): CustomNavbarItemInit[] => [ home, bangumi, ranking, - drawing, music, gamesIframe, livesIframe, diff --git a/registry/lib/components/style/custom-navbar/simple-links/simple-links.ts b/registry/lib/components/style/custom-navbar/simple-links/simple-links.ts index 93d16396a..426638ddd 100644 --- a/registry/lib/components/style/custom-navbar/simple-links/simple-links.ts +++ b/registry/lib/components/style/custom-navbar/simple-links/simple-links.ts @@ -21,11 +21,6 @@ export const bangumi = getSimpleLinkItem({ displayName: '番剧', href: 'https://www.bilibili.com/anime/', }) -export const drawing = getSimpleLinkItem({ - name: 'drawing', - displayName: '相簿', - href: 'https://h.bilibili.com', -}) export const music = getSimpleLinkItem({ name: 'music', displayName: '音频',