From 94e456317965c7dd6356dc18de9874263e5872d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=9B=90=EB=8D=94?= Date: Fri, 29 Jan 2021 21:56:20 +0900 Subject: [PATCH] chore: made some changes --- pages/index.tsx | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/pages/index.tsx b/pages/index.tsx index 6f86ab8..adc08ac 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -3,7 +3,7 @@ import dynamic from 'next/dynamic' import { BotList } from '@types' import * as Query from '@utils/Query' -import { cats } from '@utils/Constants' +import { categories, categoryIcon } from '@utils/Constants' const Advertisement = dynamic(()=> import('@components/Advertisement')) const Container = dynamic(()=> import('@components/Container')) @@ -22,9 +22,16 @@ const Index: NextPage = ({ votes, newBots, trusted }) => { 한국 디스코드봇 리스트 -

카테고리로 찾아보기

-
- { cats.map(t=> ) } +
+ + 하트 랭킹 + } dark bigger href='/list/votes' /> + { categories.slice(0, 5).map(t=> + {t} + } dark bigger href={`/categories/${t}`} />) } + + 카테고리 더보기 + } dark bigger href='/categories' />