-
Notifications
You must be signed in to change notification settings - Fork 0
/
site.config.ts
37 lines (33 loc) · 1.02 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
/* #__PURE__ */
const domain =
process.env.APP_URL?.replace(/https?:\/\//, "").split("/")[0] ||
process.env.NEXT_PUBLIC_VERCEL_URL ||
`${process.env.HOST || "localhost"}:${process.env.PORT || 3000}`;
/* #__PURE__ */
const protocol =
domain.includes("localhost") ||
domain.match(/\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}/)
? "http"
: "https";
const url = `${protocol}://${domain}`;
export const defaultMetadata = {
title: "Cosmos Explorer",
description: "Simple explorer dashboard for Cosmos-based Blockchains.",
email: "[email protected]",
github: {
username: "joshuanatanielnm",
repository: "explorer",
},
x: {
username: "@joshuanatanielm",
},
url,
};
export const customMetadata = {
githubUrl: "https://github.com/joshuanatanielnm",
twitterUrl: "https://twitter.com/joshuanatanielm",
emailUrl: `mailto:${defaultMetadata.email}`,
resumeUrl: "https://resume.io/r/fyzF2RrFm",
linkedInUrl: "https://www.linkedin.com/in/joshuanathanielm",
calUrl: "https://cal.com/joshuanatanielm",
};