-
Notifications
You must be signed in to change notification settings - Fork 6
/
theme.config.tsx
50 lines (48 loc) · 1.26 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
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 className="font-extrabold text-2xl">
Tanstack <span className="text-[#EF4444] font-extrabold">Query v5</span>{" "}
<small className="text-[#AAAAAA] text-sm font-medium">
(비공식 한글 문서)
</small>
</span>
),
project: {
link: "https://github.com/ubinquitous/react-query-ko",
},
docsRepositoryBase: "https://github.com/ubinquitous/react-query-ko",
useNextSeoProps() {
const { asPath } = useRouter();
if (asPath !== "/") {
return {
titleTemplate: "%s – React Query 한글 문서",
};
}
},
components: {
Check,
Cross,
AppOnly,
PagesOnly,
Image,
},
editLink: {
component: null,
},
feedback: {
content: null,
},
darkMode: true,
footer: {
text: "React Query v5 한글/한국어 문서 번역 (비공식) | Using Nextra Docs Template",
},
};
export default config;