chore: added hover animation

This commit is contained in:
원더 2021-02-10 16:22:45 +09:00
parent d53161a252
commit fea9bdcb50

View File

@ -8,7 +8,8 @@ import DiscordAvatar from './DiscordAvatar'
const BotCard = ({ manage=false, bot }: BotProps): JSX.Element => { const BotCard = ({ manage=false, bot }: BotProps): JSX.Element => {
return ( return (
<div className='container mb-16'> <Link href={makeBotURL(bot)}>
<div className='container mb-16 transform hover:-translate-y-1 transition duration-100 ease-in cursor-pointer'>
<div className='relative'> <div className='relative'>
<div className='container mx-auto'> <div className='container mx-auto'>
<div className='h-full'> <div className='h-full'>
@ -81,6 +82,7 @@ const BotCard = ({ manage=false, bot }: BotProps): JSX.Element => {
</div> </div>
</div> </div>
</div> </div>
</Link>
) )
} }