diff --git a/components/BotCard.tsx b/components/BotCard.tsx index 92e01fe..876111a 100644 --- a/components/BotCard.tsx +++ b/components/BotCard.tsx @@ -3,44 +3,92 @@ import { formatNumber } from '../utils/Tools' import { Status } from '../utils/Constants' import Divider from './Divider' import Tag from './Tag' +import Link from 'next/link' -const BotCard = ({ bot }:BotProps):JSX.Element => { - return
-
-
-
+const BotCard = ({ bot }: BotProps): JSX.Element => { + console.log(`${bot.vanity}`) + return ( +
+
+
+
+
+
+
+
+ Avatar +
-
-
-
- +
+

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

+

+ {bot.name}{' '} + {bot.trusted && ( + + + + )} +

+

{bot.intro}

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

{Status[bot.status]?.text}

-

{bot.name} {bot.trusted && }

-

{bot.intro}

- {/* */} +
+ {bot.category.slice(5).map(el => ( + + ))} +
+ + -
-
- {formatNumber(bot.votes)}} dark/> - {formatNumber(bot.servers)} 서버} dark/>
-
+ ) } interface BotProps { - bot: Bot + bot: Bot } export default BotCard