-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy paththeme.config.tsx
33 lines (32 loc) · 1.17 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
import {useRouter} from "next/router";
export default {
project: {
link: 'https://github.com/z1digitalstudio/developers-handbook',
},
docsRepositoryBase: 'https://github.com/z1digitalstudio/developers-handbook/blob/master',
logo: <span className="mr-2 font-extrabold hidden md:inline nx-flex nx-gap-2"><img src="/logo.svg" alt="Z1 Logo" width="32px"/>Z1 Developers Handbook</span>,
useNextSeoProps() {
const { asPath } = useRouter()
if (asPath !== '/') {
return {
titleTemplate: '👋 %s – Z1 Developers Handbook'
}
}
},
head: (
<>
<meta name="msapplication-TileColor" content="#ffffff" />
<meta name="theme-color" content="#ffffff" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta httpEquiv="Content-Language" content="en" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="og:title" content="Z1 Developers Handbook" />
<meta name="apple-mobile-web-app-title" content="Z1 Developers Handbook" />
</>
),
footer: {
text: <span>
{new Date().getFullYear()} © Z1 digital studio
</span>,
}
}