From fea9bdcb502d4e196a5577b3d1ef44223e46165a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=9B=90=EB=8D=94?= Date: Wed, 10 Feb 2021 16:22:45 +0900 Subject: [PATCH] chore: added hover animation --- components/BotCard.tsx | 126 +++++++++++++++++++++-------------------- 1 file changed, 64 insertions(+), 62 deletions(-) diff --git a/components/BotCard.tsx b/components/BotCard.tsx index 42c26ec..53e76ec 100644 --- a/components/BotCard.tsx +++ b/components/BotCard.tsx @@ -8,79 +8,81 @@ import DiscordAvatar from './DiscordAvatar' const BotCard = ({ manage=false, bot }: BotProps): JSX.Element => { return ( -
-
-
-
-
-
-
-
- -
+ +
+
+
+
+
+
+
+
+ +
-
-

- - {Status[bot.status]?.text} -

-

- {bot.name} -

+
+

+ + {Status[bot.status]?.text} +

+

+ {bot.name} +

+
+
+
+ + {formatNumber(bot.votes)} + + } + dark + /> + {formatNumber(bot.servers)} 서버} dark />
-
- - {formatNumber(bot.votes)} - - } - dark - /> - {formatNumber(bot.servers)} 서버} dark /> +

{bot.intro}

+
+ {bot.category.slice(0, 5).map(el => ( + + ))}
-
-

{bot.intro}

-
- {bot.category.slice(0, 5).map(el => ( - - ))} -
- -
- - - 보기 - - - { - manage ? - - 관리하기 - - : +
-
+ ) }