-
Notifications
You must be signed in to change notification settings - Fork 0
/
site.config.ts
38 lines (34 loc) · 1.09 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
/* #__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: "Joshua Manuputty | Software Engineer",
description:
"Software engineer, specializing in Frontend Development using React-based technologies.",
email: "joshuanmanuputty@gmail.com",
github: {
username: "joshuanatanielnm",
repository: "joshuanatanielm.com",
},
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",
};