re-add fathom

couldn't sleep at night even with a few days of google analytics...
This commit is contained in:
2021-12-30 10:31:39 -05:00
parent 14ecfff55f
commit bf778e6d12
5 changed files with 25 additions and 22 deletions
+3 -2
View File
@@ -1,15 +1,16 @@
// Site info
export const siteName = "Jake Jarvis";
export const siteDomain = "https://jarv.is";
export const siteDomain = "jarv.is";
export const shortDescription = "Front-End Web Developer in Boston, MA 👨‍💻";
export const longDescription =
"Hi there! I'm a frontend web developer based in Boston, Massachusetts specializing in the JAMstack, modern JavaScript frameworks, and progressive web apps.";
export const githubRepo = "jakejarvis/jarv.is";
export const fathomSiteId = "WBGNQUKW";
let baseURL = ""; // default to relative URLs
if (process.env.NEXT_PUBLIC_VERCEL_ENV === "production") {
// vercel production (set manually above)
baseURL = siteDomain;
baseURL = `https://${siteDomain}`;
} else if (process.env.NEXT_PUBLIC_VERCEL_URL) {
// vercel deploy previews
baseURL = `https://${process.env.NEXT_PUBLIC_VERCEL_URL}`;