style: fixed deepscan

This commit is contained in:
원더 2021-02-11 21:49:52 +09:00
parent 907ad8cd7b
commit 05b736ccf1
3 changed files with 3 additions and 9 deletions

View File

@ -2,7 +2,7 @@ import { useEffect } from 'react'
const Advertisement = (): JSX.Element => {
useEffect(() => {
if(process.env.NODE_ENV === 'production') window.adsbygoogle.push({}), []
if(process.env.NODE_ENV === 'production') window.adsbygoogle.push({})
})
return <div className={`z-0 mx-auto py-12 w-full text-center text-white ${process.env.NODE_ENV === 'production' ? '' : 'bg-gray-700'}`}>

View File

@ -66,13 +66,7 @@ const BotCard = ({ manage=false, bot }: BotProps): JSX.Element => {
>
</a>
</Link> : <a
rel='noopener noreferrer'
target='_blank'
href={
bot.url ??
`https://discordapp.com/oauth2/authorize?client_id=${bot.id}&scope=bot&permissions=0`
}
</Link> : <a rel='noopener noreferrer' target='_blank' href={bot.url ?? `https://discordapp.com/oauth2/authorize?client_id=${bot.id}&scope=bot&permissions=0`}
className='rounded-br-2xl py-3 w-full text-center text-discord-blurple hover:text-white text-sm font-bold hover:bg-discord-blurple hover:shadow-lg transition duration-100 ease-in'
>

View File

@ -46,7 +46,7 @@ export default function App({ Component, pageProps, err }: KoreanbotsProps): JSX
console.log(`[THEME] ${systemColor.toUpperCase()} THEME DETECTED`)
setTheme(systemColor)
}
else setTheme(localStorage.theme || 'system')
else setTheme('system')
}, [])
return (