-
Notifications
You must be signed in to change notification settings - Fork 44
/
theme.config.tsx
64 lines (62 loc) · 1.6 KB
/
theme.config.tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
import React from 'react'
import { DocsThemeConfig } from 'nextra-theme-docs'
import { useRouter } from 'next/router'
import AppOnly from 'components/apponly'
import PagesOnly from 'components/pagesonly'
import Cross from 'components/cross'
import Check from 'components/check'
import Image from 'components/externalImage'
const config: DocsThemeConfig = {
logo: <span>Nextjs 한글 문서 (커뮤니티)</span>,
head: (
<>
<link rel="icon" href="/favicon.ico" />
<meta
name="google-site-verification"
content="iK4L0Q5k7Z7rJf9UzZz8bHJUz2w1J5WgWwY1v0QsV3I"
/>
<meta
name="naver-site-verification"
content="5c8d3e1d2f9b4d2c4c2c8e5c8d3e1d2f9b4d2c4c2c8e5c8d3e1d2f9b4d2c4c2c8e5c8d3e1d2f9b4d2c4c2c8e5"
/>
</>
),
project: {
link: 'https://github.com/luciancah/nextjs-ko',
},
docsRepositoryBase: 'https://github.com/luciancah/nextjs-ko',
useNextSeoProps() {
const { asPath } = useRouter()
if (asPath !== '/') {
return {
titleTemplate: '%s – Nextjs 한글 문서',
}
}
},
banner: {
key: 'banner',
text: (
<a href="https://github.com/luciancah/nextjs-ko" target="_blank">
🎉 공식문서 번역에 참여해주세요. 🐙 Github 바로가기 🐙
</a>
),
},
components: {
Check,
Cross,
AppOnly,
PagesOnly,
Image,
},
editLink: {
component: null,
},
feedback: {
content: null,
},
darkMode: true,
footer: {
text: 'Nextjs 한글/한국어 문서 번역 (비공식) | Using Nextra Docs Template',
},
}
export default config