chore: renamed slash command

This commit is contained in:
wonderlandpark 2021-03-11 13:39:20 +09:00
parent 4c3621f77c
commit 31b07bc9dd
2 changed files with 4 additions and 3 deletions

View File

@ -18,7 +18,7 @@ const Categories:NextPage = () => {
{
categories.map(t => <Tag key={t} text={<>
{
{ '슬래시 명령어': <span className='fa-stack' style={{ fontSize: '1em', height: '1.2em', lineHeight: '1em', width: '20px', verticalAlign: 'midd;e' }}>
{ '빗금 명령어': <span className='fa-stack' style={{ fontSize: '1em', height: '1.2em', lineHeight: '1em', width: '20px', verticalAlign: 'midd;e' }}>
<i className='fas fa-square fa-stack-1x fa-md' />
<i className='fas fa-slash fa-rotate-90 fa-xs fa-stack-1x fa-inverse' style={{ fontSize: '0.3rem' }} />
</span> }[t] ?? <i className={categoryIcon[t]} />

View File

@ -58,6 +58,7 @@ export const library = [
'기타',
'비공개',
]
export const categories = [
// 상위 카테고리
'관리',
@ -66,7 +67,7 @@ export const categories = [
'게임',
'도박',
'로깅',
'슬래시 명령어',
'빗금 명령어',
'웹 대시보드',
'밈',
'레벨링',
@ -92,7 +93,7 @@ export const categoryIcon = {
'전적': 'fas fa-puzzle-piece',
'웹 대시보드': 'fas fa-sliders-h',
'로깅': 'fas fa-pencil-alt',
'슬래시 명령어': null,
'빗금 명령어': null,
'도박': 'fas fa-money-bill-alt',
'게임': 'fas fa-gamepad',
'밈': 'fas fa-image',