chore: showing sixteen bot at main page

This commit is contained in:
Junseo Park 2021-02-15 11:46:04 +09:00
parent ce8faf5d62
commit 90254951f6

View File

@ -23,7 +23,7 @@ const Index: NextPage<IndexProps> = ({ votes, newBots, trusted }) => {
<p className='text-base'> !</p>
<div className='grid gap-x-4 2xl:grid-cols-4 md:grid-cols-2 mt-10'>
{
votes.data.slice(0, 8).map(bot=> <BotCard key={bot.id} bot={bot} />)
votes.data.map(bot=> <BotCard key={bot.id} bot={bot} />)
}
</div>
<Paginator totalPage={votes.totalPage} currentPage={votes.currentPage} pathname='/list/votes' />