mirror of
https://github.com/koreanbots/core.git
synced 2025-12-15 14:10:22 +00:00
style: fixed deepscan
This commit is contained in:
parent
907ad8cd7b
commit
05b736ccf1
@ -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'}`}>
|
||||
|
||||
@ -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'
|
||||
>
|
||||
초대하기
|
||||
|
||||
@ -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 (
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user