mirror of
https://github.com/koreanbots/core.git
synced 2025-12-15 22:10:24 +00:00
fix: card invite button fixed
This commit is contained in:
parent
786db06d91
commit
7fb788fec3
@ -10,12 +10,7 @@ import DiscordAvatar from '@components/DiscordAvatar'
|
||||
|
||||
const BotCard = ({ manage = false, bot }: BotProps): JSX.Element => {
|
||||
return (
|
||||
<Link href={makeBotURL(bot)}>
|
||||
<a>
|
||||
<div className='container mb-16 transform hover:-translate-y-1 transition duration-100 ease-in cursor-pointer'>
|
||||
<div className='relative'>
|
||||
<div className='container mx-auto'>
|
||||
<div className='h-full'>
|
||||
<div className='container mb-16 transform hover:-translate-y-1 transition duration-100 ease-in cursor-pointer relative mx-auto'>
|
||||
<div
|
||||
className='relative mx-auto h-full text-black dark:text-white dark:bg-discord-black bg-little-white rounded-2xl shadow-xl'
|
||||
style={
|
||||
@ -27,8 +22,8 @@ const BotCard = ({ manage = false, bot }: BotProps): JSX.Element => {
|
||||
: {}
|
||||
}
|
||||
>
|
||||
|
||||
|
||||
<Link href={makeBotURL(bot)}>
|
||||
<a>
|
||||
<div className='flex h-44'>
|
||||
<div className='w-3/5'>
|
||||
<div className='flex justify-start'>
|
||||
@ -73,6 +68,8 @@ const BotCard = ({ manage = false, bot }: BotProps): JSX.Element => {
|
||||
))}{' '}
|
||||
{bot.category.length > 3 && <Tag text={`+${bot.category.length - 3}`} dark />}
|
||||
</div>
|
||||
</a>
|
||||
</Link>
|
||||
|
||||
<Divider />
|
||||
<div>
|
||||
@ -110,11 +107,6 @@ const BotCard = ({ manage = false, bot }: BotProps): JSX.Element => {
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
</Link>
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user