mirror of
https://github.com/koreanbots/core.git
synced 2025-12-16 06:20:24 +00:00
chore: made some changes
This commit is contained in:
parent
ba5907d10b
commit
94e4563179
@ -3,7 +3,7 @@ import dynamic from 'next/dynamic'
|
|||||||
|
|
||||||
import { BotList } from '@types'
|
import { BotList } from '@types'
|
||||||
import * as Query from '@utils/Query'
|
import * as Query from '@utils/Query'
|
||||||
import { cats } from '@utils/Constants'
|
import { categories, categoryIcon } from '@utils/Constants'
|
||||||
|
|
||||||
const Advertisement = dynamic(()=> import('@components/Advertisement'))
|
const Advertisement = dynamic(()=> import('@components/Advertisement'))
|
||||||
const Container = dynamic(()=> import('@components/Container'))
|
const Container = dynamic(()=> import('@components/Container'))
|
||||||
@ -22,9 +22,16 @@ const Index: NextPage<IndexProps> = ({ votes, newBots, trusted }) => {
|
|||||||
한국 디스코드봇 리스트
|
한국 디스코드봇 리스트
|
||||||
</h1>
|
</h1>
|
||||||
<Search />
|
<Search />
|
||||||
<h2 className='text-xl font-bold mt-10 mb-1 text-gray-100'>카테고리로 찾아보기</h2>
|
<div className='flex flex-wrap mt-5'>
|
||||||
<div className='flex flex-wrap '>
|
<Tag key='list' text={<>
|
||||||
{ cats.map(t=> <Tag key={t} text={t} dark href={`/categories/${t}`} />) }
|
<i className='fas fa-heart text-red-600'/> 하트 랭킹
|
||||||
|
</>} dark bigger href='/list/votes' />
|
||||||
|
{ categories.slice(0, 5).map(t=> <Tag key={t} text={<>
|
||||||
|
<i className={categoryIcon[t]} /> {t}
|
||||||
|
</>} dark bigger href={`/categories/${t}`} />) }
|
||||||
|
<Tag key='tag' text={<>
|
||||||
|
<i className='fas fa-tag'/> 카테고리 더보기
|
||||||
|
</>} dark bigger href='/categories' />
|
||||||
</div>
|
</div>
|
||||||
</Container>
|
</Container>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user