style: prettier

This commit is contained in:
원더 2021-01-09 15:28:48 +09:00
parent c4224bb192
commit 0bec52aebc
2 changed files with 10 additions and 5 deletions

View File

@ -73,7 +73,12 @@ const BotCard = ({ bot }: BotProps): JSX.Element => {
</a> </a>
</Link> </Link>
<a <a
href="#" rel="noopener noreferrer"
target="_blank"
href={
bot.url ??
`https://discordapp.com/oauth2/authorize?client_id=${data.id}&scope=bot&permissions=0`
}
className="bg py-3 w-full text-center text-discord-blurple hover:text-white text-sm font-bold hover:bg-discord-blurple hover:shadow-lg" className="bg py-3 w-full text-center text-discord-blurple hover:text-white text-sm font-bold hover:bg-discord-blurple hover:shadow-lg"
> >

View File

@ -19,8 +19,8 @@ const Tag = ({
? 'bg-discord-blurple' ? 'bg-discord-blurple'
: 'bg-little-white-hover dark:bg-very-black' : 'bg-little-white-hover dark:bg-very-black'
: github : github
? 'bg-gray-900 text-white' ? 'bg-gray-900 text-white'
: 'bg-little-white dark:bg-discord-black' : 'bg-little-white dark:bg-discord-black'
} ${!blurple && !github ? 'text-black dark:text-gray-400' : ''} ${ } ${!blurple && !github ? 'text-black dark:text-gray-400' : ''} ${
circular ? 'rounded-3xl px-2.5 py-1.5' : 'rounded px-2 py-1' circular ? 'rounded-3xl px-2.5 py-1.5' : 'rounded px-2 py-1'
} mr-1 mb-${marginBottom} hover:bg-little-white-hover dark:hover:bg-discord-dark-hover`} } mr-1 mb-${marginBottom} hover:bg-little-white-hover dark:hover:bg-discord-dark-hover`}
@ -35,8 +35,8 @@ const Tag = ({
? blurple ? blurple
? 'font-bg text-white bg-discord-blurple text-black' ? 'font-bg text-white bg-discord-blurple text-black'
: github : github
? 'bg-gray-900 text-white' ? 'bg-gray-900 text-white'
: 'bg-little-white-hover dark:bg-very-black' : 'bg-little-white-hover dark:bg-very-black'
: 'bg-little-white dark:bg-discord-black' : 'bg-little-white dark:bg-discord-black'
} ${!blurple && !github ? 'text-black dark:text-gray-400' : ''} ${ } ${!blurple && !github ? 'text-black dark:text-gray-400' : ''} ${
circular ? 'rounded-3xl px-2.5 py-1.5' : 'rounded px-2 py-1' circular ? 'rounded-3xl px-2.5 py-1.5' : 'rounded px-2 py-1'