forked from growthepie/gtp-frontend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gtp.labels.config.mjs
168 lines (156 loc) · 3.71 KB
/
gtp.labels.config.mjs
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
const IS_DEVELOPMENT = false;
const IS_PREVIEW = false;
const IS_PRODUCTION = true;
const urls = {
production: "https://labels.growthepie.xyz",
preview: "https://dev.labels.growthepie.xyz",
};
const shortUrls = {
production: "labels.growthepie.xyz",
preview: "dev.labels.growthepie.xyz",
};
const title = {
absolute: "Ethereum Layer 2 Labels - growthepie",
template: "%s - growthepie",
};
const description =
"Labels for Ethereum Layer 2 solutions - growthepie. A comprehensive list of labels for Ethereum Layer 2 solutions.";
const shortDescription = "Labels for Ethereum Layer 2s";
const image = "https://www.growthepie.xyz/logo_full.png";
const favicon = "/favicons/labels.favicon.ico";
const og_images = [
{
url: `${urls.production}/gtp_og.png`,
width: 1200,
height: 627,
alt: shortUrls.production,
},
];
const openGraph = {
title: title.absolute,
description: description,
url: urls.production,
images: [
{
url: image,
width: 800,
height: 600,
alt: shortUrls.production,
},
],
site_name: "growthepie",
};
const twitter_images = [`${urls.production}/gtp_og.png`];
const twitter = {
card: "summary_large_image",
title: shortUrls.production,
description: shortDescription,
site: "@growthepie_eth",
siteId: "1636391104689094656",
creator: "@growthepie_eth",
creatorId: "1636391104689094656",
images: twitter_images,
};
/** @type {import('next').Metadata} */
const meta = {
metadataBase: new URL(urls.production),
title: title,
description: description,
icons: {
icon: favicon,
},
openGraph: openGraph,
twitter: twitter,
robots: {
index: true,
follow: true,
nocache: true,
googleBot: {
index: true,
follow: true,
noimageindex: false,
"max-video-preview": -1,
"max-image-preview": "large",
"max-snippet": -1,
},
},
};
/** @type {import('schema-dts').Graph} */
const jsonLd = {
"@context": "https://schema.org",
"@graph": [
{
"@type": "Organization",
"@id": `https://www.growthepie.xyz/#organization`,
name: "growthepie",
url: "https://www.growthepie.xyz",
logo: "https://www.growthepie.xyz/logo_full.png",
sameAs: [
"https://twitter.com/growthepie_eth",
"https://mirror.xyz/blog.growthepie.eth",
"https://github.com/growthepie",
],
},
{
"@type": "WebSite",
"@id": `https://www.growthepie.xyz/#website`,
url: `https://www.growthepie.xyz/`,
name: "growthepie",
description:
"At growthepie, our mission is to provide comprehensive and accurate analytics of layer 2 solutions for the Ethereum ecosystem, acting as a trusted data aggregator from reliable sources such as L2Beat and DefiLlama, while also developing our own metrics.",
publisher: {
"@type": "Organization",
name: "growthepie",
logo: {
"@type": "ImageObject",
url: `https://www.growthepie.xyz/logo_full.png`,
},
},
},
],
};
/** @type {import('next-sitemap').Metadata} */
const sitemapConfig = {
siteUrl: "https://labels.growthepie.xyz",
generateRobotsTxt: true,
exclude: [
"/blog",
"/api/*",
"/embed/*",
"/embed",
"/trackers/*",
"/blockspace/*",
"/fees",
"/contracts",
"/contributors",
"/imprint",
"/privacy-policy",
"/server-sitemap.xml",
"/helpers",
"/fees-explainer",
"/contracts",
"/economics",
"/scroll",
"/labels",
"/refactor",
"/refactor/*",
],
};
export {
IS_DEVELOPMENT,
IS_PREVIEW,
IS_PRODUCTION,
urls,
shortUrls,
title,
description,
shortDescription,
image,
favicon,
og_images,
openGraph,
twitter,
meta,
jsonLd,
sitemapConfig,
};