feat: add link to category page (#517)

* feat: add link to category page

* feat: add tip about categories
This commit is contained in:
SKINMAKER 2022-10-24 00:06:13 +09:00 committed by GitHub
parent c051b440d3
commit 5ec398056b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -133,7 +133,8 @@ const AddBot:NextPage<AddBotProps> = ({ logged, user, csrfToken, theme }) => {
<Selects options={botCategories.map(el=> ({ label: el, value: el }))} handleChange={(value) => { <Selects options={botCategories.map(el=> ({ label: el, value: el }))} handleChange={(value) => {
setFieldValue('category', value.map(v=> v.value)) setFieldValue('category', value.map(v=> v.value))
}} handleTouch={() => setFieldTouched('category', true)} values={values.category as string[]} setValues={(value) => setFieldValue('category', value)} /> }} handleTouch={() => setFieldTouched('category', true)} values={values.category as string[]} setValues={(value) => setFieldValue('category', value)} />
<span className='text-gray-400 mt-1 text-sm'> 3 . . <strong> .</strong></span> <p className='text-gray-400 mt-1 text-sm'> 3 . . <strong> .</strong><br/>
<a className='text-blue-500 hover:text-blue-400' href='https://contents.koreanbots.dev/categories'></a> !</p>
</Label> </Label>
<Divider /> <Divider />
<Label For='website' label='웹사이트' labelDesc='봇의 웹사이트를 작성해주세요.' error={errors.website && touched.website ? errors.website : null}> <Label For='website' label='웹사이트' labelDesc='봇의 웹사이트를 작성해주세요.' error={errors.website && touched.website ? errors.website : null}>

View File

@ -195,7 +195,7 @@ const DenyPresetsArticle = {
<p><strong> </strong> .</p> <p><strong> </strong> .</p>
<p> 24 , .</p> <p> 24 , .</p>
</>, </>,
INVALID_CATEGORY: <p> . <strong> </strong> .</p>, INVALID_CATEGORY: <p> . <strong> </strong> . <a className='text-blue-500 hover:text-blue-400' href='https://contents.koreanbots.dev/categories'></a> .</p>,
PRIVATE: <p> , . . PRIVATE: <p> , . .
<ul className='list-inside list-disc'> <ul className='list-inside list-disc'>
<li> ?</li> <li> ?</li>