From f100c572c59b019cc709dfb51952f31e297debd0 Mon Sep 17 00:00:00 2001 From: Byungchul Kim <64084503+chul0721@users.noreply.github.com> Date: Wed, 22 Jun 2022 00:09:26 +0900 Subject: [PATCH] docs: update verification guide (#499) * docs: update verification guide * perf: refactor code * refactor: remove intended changes --- pages/verification.tsx | 64 +++++++++++++++--------------------------- 1 file changed, 22 insertions(+), 42 deletions(-) diff --git a/pages/verification.tsx b/pages/verification.tsx index dac6124..90b3508 100644 --- a/pages/verification.tsx +++ b/pages/verification.tsx @@ -1,56 +1,22 @@ -import { NextPage } from 'next' +import { GetStaticProps, NextPage } from 'next' import dynamic from 'next/dynamic' +import { SpecialEndPoints } from '@utils/Constants' + + const Button = dynamic(() => import('@components/Button')) const Divider = dynamic(() => import('@components/Divider')) const Docs = dynamic(()=> import('@components/Docs')) +const Markdown = dynamic(() => import('@components/Markdown')) -const Verification: NextPage = () => { + +const Verification: NextPage = ({ content }) => { return ( -

- - - 신뢰된 봇

-

한국 디스코드 리스트의 신뢰된 봇은 디스코드 인증보다 더 자세한 기준으로 신뢰성을 주기 위한 제도입니다.

-

- 기준 -

-

신뢰할 수 있는 봇임을 증명하려면 아래의 기준에 모두 해당해야합니다.

-
    -
  • 1000개 이상의 서버
  • -
  • - 10만명 이상의 중복 유저 혹은 5000명 이상의 가입유저 -
  • -
  • - 유저가 지원받을 수 있는 방법이 존재 -
  • -
  • - 집하는 개인정보와 이용범위를 서비스에 명시 -
  • -
  • 평균 90퍼센트 이상의 업타임
  • -
  • 안전하고 신뢰할 수 있는 저장방식
  • -
  • - 대표 메인 콘텐츠가 존재해야합니다. (다양한 기능이 있어도 되지만, 하나의 메인 기능이 필요합니다. ex. 관리, 밈 등등) -
  • -
  • 디스코드 인증된 봇
  • -
-

혹은 아래 기준 중 하나 이상에 해당해야합니다.

-
    -
  • 디스코드 인증과 파트너쉽이 체결된 봇.
  • -
  • 당사가 인정한 특수 목적의 봇.
  • -
  • 같은 이름의 봇이 있어 혼동을 줄 수 있는 경우.
  • -
-

혜택

-
    -
  • 봇 페이지 커스텀 URL
  • -
  • 뱃지
  • -
  • 미리보기 배경
  • -
  • 프로필 배경 커스텀마이징
  • -
+

지금 바로 신청하세요

@@ -60,4 +26,18 @@ const Verification: NextPage = () => { ) } +interface VerificationProps { + content: string +} + +export const getStaticProps: GetStaticProps = async () => { + const res = await fetch(SpecialEndPoints.Github.Content('koreanbots', 'verification', 'README.md')) + const json = await res.json() + return { + props: { + content: Buffer.from(json.content, 'base64').toString('utf-8') + } + } +} + export default Verification