-
Notifications
You must be signed in to change notification settings - Fork 1
/
theme.config.tsx
65 lines (63 loc) · 2.05 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
import React from "react";
import { DocsThemeConfig } from "nextra-theme-docs";
import Logo from "src/components/logo";
import { useRouter } from "next/router";
const config: DocsThemeConfig = {
logo: <Logo />,
project: {
link: "https://github.com/geniusyield/atlas",
},
docsRepositoryBase: "https://github.com/geniusyield/atlas-docs/tree/main",
useNextSeoProps() {
const { asPath } = useRouter();
const description = "All-in-one solution for writing off-chain code for Plutus contracts";
return {
titleTemplate: asPath === "/" ? "ATLAS Plutus Application Backend | by Genius Yield" : "Atlas | %s",
description,
canonical: "https://atlas-app.io",
openGraph: {
url: "https://atlas-app.io",
description,
images: [
{
url: "/open-graph.png",
width: 1200,
height: 630,
alt: "Atlas - Application backend for Plutus smart contracts on Cardano",
type: "image/png",
},
],
},
siteName: "Atlas",
twitter: {
handle: "@GeniusyieldO",
site: "https://www.geniusyield.co",
cardType: "summary_large_image",
},
};
},
head: (
<>
<link rel="apple-touch-icon" sizes="180x180" href="/favicon/apple-touch-icon.png" />
<link rel="icon" type="image/png" sizes="32x32" href="/favicon/favicon-32x32.png" />
<link rel="icon" type="image/png" sizes="16x16" href="/favicon/favicon-16x16.png" />
<link rel="manifest" href="/favicon/site.webmanifest" />
<link rel="mask-icon" href="/favicon/safari-pinned-tab.svg" color="#5bbad5" />
<link rel="shortcut icon" href="/favicon/favicon.ico" />
<meta name="msapplication-TileColor" content="#da532c" />
<meta name="msapplication-config" content="/favicon/browserconfig.xml" />
<meta name="theme-color" content="#ffffff" />
</>
),
footer: {
component: <></>,
},
nextThemes: {
defaultTheme: "dark",
},
darkMode: false,
sidebar: {
toggleButton: true,
},
};
export default config;