mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-14 07:26:52 +00:00
@@ -20,6 +20,7 @@ const ThemeSwitch = () => {
|
||||
// 修改当前路径url中的 theme 参数
|
||||
// 例如 http://localhost?theme=hexo 跳转到 http://localhost?theme=newTheme
|
||||
const onThemeSelectChange = (e) => {
|
||||
document.ontouchmove = document.ontouchend = document.onmousemove = document.onmouseup = null
|
||||
setIsLoading(true)
|
||||
const newTheme = e.target.value
|
||||
const query = router.query
|
||||
@@ -32,6 +33,7 @@ const ThemeSwitch = () => {
|
||||
}
|
||||
|
||||
const onLangSelectChange = (e) => {
|
||||
document.ontouchmove = document.ontouchend = document.onmousemove = document.onmouseup = null
|
||||
const newLang = e.target.value
|
||||
changeLang(newLang)
|
||||
}
|
||||
|
||||
@@ -30,7 +30,7 @@ import { Contact } from './components/Contact'
|
||||
import { Brand } from './components/Brand'
|
||||
import { Footer } from './components/Footer'
|
||||
import { BackToTopButton } from './components/BackToTopButton'
|
||||
import { MadeWithButton } from './components/MadeWithButton'
|
||||
// import { MadeWithButton } from './components/MadeWithButton'
|
||||
import { SVG404 } from './components/svg/SVG404'
|
||||
import { Banner } from './components/Banner'
|
||||
import { SignInForm } from './components/SignInForm'
|
||||
@@ -64,7 +64,7 @@ const LayoutBase = (props) => {
|
||||
|
||||
{/* 悬浮按钮 */}
|
||||
<BackToTopButton/>
|
||||
<MadeWithButton/>
|
||||
{/* <MadeWithButton/> */}
|
||||
</div>
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user