添加鼠标单击烟花特效

This commit is contained in:
tangly1024
2022-04-29 17:26:32 +08:00
parent 2496908003
commit c7908a5277
5 changed files with 224 additions and 2 deletions

View File

@@ -15,6 +15,7 @@ import dynamic from 'next/dynamic'
import { GlobalContextProvider } from '@/lib/global'
import { DebugPanel } from '@/components/DebugPanel'
import { ThemeSwitch } from '@/components/ThemeSwitch'
import { Fireworks } from '@/components/Fireworks'
const Ackee = dynamic(() => import('@/components/Ackee'), { ssr: false })
const Gtag = dynamic(() => import('@/components/Gtag'), { ssr: false })
@@ -36,13 +37,14 @@ const MyApp = ({ Component, pageProps }) => {
{JSON.parse(BLOG.ANALYTICS_BUSUANZI_ENABLE) && <Busuanzi />}
{BLOG.ADSENSE_GOOGLE_ID && <GoogleAdsense />}
{BLOG.FACEBOOK_APP_ID && BLOG.FACEBOOK_PAGE_ID && <Messenger />}
{JSON.parse(BLOG.FIREWORKS) && <Fireworks/>}
</>
return (
<GlobalContextProvider>
{externalPlugins}
{/* FontawesomeCDN */}
<link rel="stylesheet" href={BLOG.FONT_AWESOME_PATH} referrerPolicy="no-referrer" />
{externalPlugins}
<Component {...pageProps} />
</GlobalContextProvider>
)