-
Notifications
You must be signed in to change notification settings - Fork 30
/
site.config.ts
65 lines (63 loc) · 1.68 KB
/
site.config.ts
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
const baseConfig = {
repo: "https://github.com/chakra-ui/zag-docs",
title: "Zag - Rapidly build UI components without sweating over the logic.",
description:
"State machines for accessible, interactive and performant UI components",
url: "https://zagjs.com",
}
const siteConfig = {
...baseConfig,
projectName: "zag-js",
copyright: `Copyright © ${new Date().getFullYear()}`,
openCollective: {
url: "https://opencollective.com/chakra-ui",
},
author: {
name: "Segun Adebayo",
github: "https://github.com/segunadebayo",
twitter: "https://twitter.com/thesegunadebayo",
linkedin: "https://linkedin.com/in/thesegunadebayo",
polywork: "https://www.polywork.com/segunadebayo",
email: "[email protected]",
},
repo: {
url: baseConfig.repo,
editUrl: `${baseConfig.repo}/edit/main/data`,
blobUrl: `${baseConfig.repo}/blob/main`,
},
discord: {
url: "https://zagjs.com/discord",
},
seo: {
title: baseConfig.title,
titleTemplate: "%s - Zag",
description: baseConfig.description,
siteUrl: baseConfig.url,
twitter: {
handle: "@zag_js",
site: baseConfig.url,
cardType: "summary_large_image",
},
openGraph: {
type: "website",
locale: "en_US",
url: baseConfig.url,
title: baseConfig.title,
description: baseConfig.description,
site_name: baseConfig.title,
images: [
{
url: `${baseConfig.url}/open-graph/website.png`,
width: 1240,
height: 480,
},
{
url: `${baseConfig.url}/open-graph/twitter.png`,
width: 1012,
height: 506,
},
],
},
},
}
export default siteConfig