From dc9a390de20b5b9b46bf2e89e5e769e6af2deaf5 Mon Sep 17 00:00:00 2001 From: "tangly1024.com" Date: Sat, 14 Sep 2024 15:57:56 +0800 Subject: [PATCH] =?UTF-8?q?=E9=BB=98=E8=AE=A4=E5=8F=8B=E6=83=85=E9=93=BE?= =?UTF-8?q?=E6=8E=A5=E8=B0=83=E6=95=B4;fix=20build=20bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/ThemeSwitch.js | 10 ---------- themes/magzine/config.js | 25 +++++-------------------- 2 files changed, 5 insertions(+), 30 deletions(-) diff --git a/components/ThemeSwitch.js b/components/ThemeSwitch.js index 6c233393..2d92c625 100644 --- a/components/ThemeSwitch.js +++ b/components/ThemeSwitch.js @@ -24,16 +24,6 @@ const ThemeSwitch = () => { router.push({ pathname: router.pathname, query }).then(() => {}) } - const onLangSelectChange = e => { - document.ontouchmove = - document.ontouchend = - document.onmousemove = - document.onmouseup = - null - const newLang = e.target.value - changeLang(newLang) - } - return ( <> {/* 悬浮的主题切换按钮 */} diff --git a/themes/magzine/config.js b/themes/magzine/config.js index f49dc000..f0ae5f68 100644 --- a/themes/magzine/config.js +++ b/themes/magzine/config.js @@ -41,28 +41,14 @@ const CONFIG = { { name: '友情链接', menus: [ - { title: '尘世の歌', href: 'https://chenge.ink' }, { - title: '设计狮网址导航', - href: 'https://ct.ued.cat/' + title: 'Tangly的学习笔记', + href: 'https://blog.tangly1024.com' }, { - title: '积极的长腿怪', - href: 'https://jjdctg.com' - }, - { - title: '自动驾驶小白说', - href: 'https://www.helloxiaobai.cn/about' - }, - { - title: 'AI-皇帝', - href: 'https://www.ai-hd.com/' - }, - { - title: 'Andy`s Pro', - href: 'https://tw.andys.pro/' - }, - { title: 'LUCEN', href: 'https://www.lucenczz.top/' } + title: 'NotionNext', + href: 'https://www.tangly1024.com' + } ] }, { @@ -87,7 +73,6 @@ const CONFIG = { } ] }, - { name: '支持', menus: [