-
Notifications
You must be signed in to change notification settings - Fork 7
/
theme.config.tsx
52 lines (50 loc) · 1.76 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
import React from "react";
import { DocsThemeConfig } from "./theme/fetch-ai-docs";
import Footer from "./components/footer";
import Logo from "components/logo";
const config: DocsThemeConfig = {
logo: <Logo />,
project: {
link: "https://github.com/fetchai",
},
chat: {
link: "https://discord.gg/fetchai",
},
docsRepositoryBase: "https://github.com/fetchai/docs/tree/master/pages",
footer: {
component: <Footer />,
},
search: {
placeholder: "Search in documentation",
},
head: (
<>
<meta name="msapplication-TileColor" content="#fff" />
<meta httpEquiv="Content-Language" content="en" />
<meta name="description" content="Fetch.ai Documentation" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:site" content="@fetch_ai" />
<meta property="og:title" content="Fetch.ai Documentation" />
<meta
property="og:description"
content="Explore our documentation, guides and examples to get to know Fetch.ai tools and products."
/>
<meta property="og:image" content="/docs/Logo.png" />
<meta
name="apple-mobile-web-app-title"
content="Fetch.ai Documentation"
/>
<link rel="icon" href="/docs/favicon.png" sizes="any" />
<script
dangerouslySetInnerHTML={{
__html: `(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-MVT793SR');`,
}}
/>
</>
),
};
export default config;