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: [