-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy paththeme.config.tsx
90 lines (87 loc) · 2.55 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
import { useConfig } from 'nextra-theme-docs';
import { Footer } from '@/components/ui/footer';
/* eslint sort-keys: error */
/**
* @type {import('nextra-theme-docs').DocsThemeConfig}
*/
export default {
logo: <strong>ScribbleLabApp</strong>,
i18n: [
{ locale: 'en-us', name: 'English' },
{ locale: 'zh-cn', name: '中文' },
{ locale: 'de-de', name: 'Deutsch' },
{ locale: 'it-it', name: 'Italiano' },
],
banner: {
content:
'🚀 Join Us in Improving the Docs: Your Contributions Can Make a Difference!',
key: 'Product Docs',
dismissible: true,
},
chat: {
link: 'https://discord.gg/Y5mUJbNC8h',
},
docsRepositoryBase: 'https://github.com/ScribbleLabApp/docs/tree/main',
editLink: {
content: 'Edit this page on GitHub',
},
project: {
link: 'https://github.com/ScribbleLabApp/docs',
},
footer: {
component: <Footer />,
},
faviconGlyph: '✦',
head: function useHead() {
const config = useConfig();
const title = `${config.title} – ScribbleLabApp Docs`;
const description =
config.frontMatter.description ||
'Innovate your school life forever with our powerful tools - build by students for students';
const image = config.frontMatter.image || '';
return (
<>
<title>{title}</title>
<meta property="og:title" content={title} />
<meta name="description" content={description} />
<meta property="og:description" content={description} />
<meta name="og:image" content={image} />
<meta name="msapplication-TileColor" content="#fff" />
<meta httpEquiv="Content-Language" content="en" />
<meta name="apple-mobile-web-app-title" content="ScribbleLabApp Docs" />
<meta name="msapplication-TileImage" content="/ms-icon-144x144.png" />
<meta name="twitter:card" content="" />
<meta name="twitter:site" content="" />
<link
rel="apple-touch-icon"
sizes="180x180"
href="/apple-icon-180x180.png"
/>
<link
rel="icon"
type="image/png"
sizes="192x192"
href="/android-icon-192x192.png"
/>
<link
rel="icon"
type="image/png"
sizes="32x32"
href="/favicon-32x32.png"
/>
<link
rel="icon"
type="image/png"
sizes="96x96"
href="/favicon-96x96.png"
/>
<link
rel="icon"
type="image/png"
sizes="16x16"
href="/favicon-16x16.png"
/>
</>
);
},
};