-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy paththeme.config.tsx
46 lines (44 loc) · 1.38 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
import React from 'react'
import { DocsThemeConfig } from 'nextra-theme-docs'
import ImageGrid from './components/ImageGrid'
import LinkCard from './components/LinkCard'
import VideoComponent from './components/Video'
import { Steps } from 'nextra/components'
import { Callout } from 'nextra-theme-docs'
import CardGrid from './components/CardGrid'
import ExternalVideo from './components/ExternalVideo'
const config: DocsThemeConfig = {
logo: <div style={{ display: "flex", alignItems: "center", fontWeight: "bold" }}><img style={{ height: "50px" }} src="/img/icon.png" />Embeddable Docs</div>,
project: {
link: 'https://github.com/embeddable-hq',
},
sidebar: {
defaultMenuCollapseLevel: 1,
},
docsRepositoryBase: 'https://github.com/embeddable-hq/handbook/blob/main',
components: {
'ImageGrid': ImageGrid,
'LinkCard': LinkCard,
'CardGrid': CardGrid,
'VideoComponent': VideoComponent,
'Steps': Steps,
'Callout': Callout,
'ExternalVideo': ExternalVideo
},
useNextSeoProps: () => {
return {
// description: "Documentation for Embeddable.com",
titleTemplate: "%s | Embeddable Documentation"
};
},
head: (
<>
<link rel="icon" href="/img/favicon.png" />
<link rel="icon" type="image/png" sizes="32x32" href="/img/favicon.png" />
</>
),
footer: {
text: 'Embeddable Docs, 2025',
},
}
export default config