mirror of
https://github.com/koreanbots/core.git
synced 2025-12-16 06:20: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 => {
|
const BotCard = ({ manage = false, bot }: BotProps): JSX.Element => {
|
||||||
return (
|
return (
|
||||||
<Link href={makeBotURL(bot)}>
|
<div className='container mb-16 transform hover:-translate-y-1 transition duration-100 ease-in cursor-pointer relative mx-auto'>
|
||||||
<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
|
<div
|
||||||
className='relative mx-auto h-full text-black dark:text-white dark:bg-discord-black bg-little-white rounded-2xl shadow-xl'
|
className='relative mx-auto h-full text-black dark:text-white dark:bg-discord-black bg-little-white rounded-2xl shadow-xl'
|
||||||
style={
|
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='flex h-44'>
|
||||||
<div className='w-3/5'>
|
<div className='w-3/5'>
|
||||||
<div className='flex justify-start'>
|
<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 />}
|
{bot.category.length > 3 && <Tag text={`+${bot.category.length - 3}`} dark />}
|
||||||
</div>
|
</div>
|
||||||
|
</a>
|
||||||
|
</Link>
|
||||||
|
|
||||||
<Divider />
|
<Divider />
|
||||||
<div>
|
<div>
|
||||||
@ -110,11 +107,6 @@ const BotCard = ({ manage = false, bot }: BotProps): JSX.Element => {
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</a>
|
|
||||||
</Link>
|
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user