Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 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 | 3x 9x 12x 12x 7x 7x 7x 4x 3x 3x | const LOCAL_URL = "http://localhost:3000";
/**
* The public origin, for canonical links, the sitemap and social previews.
* Takes the first usable value: SITE_URL (set in CI), then URL (set by Netlify).
* Empty or malformed values are skipped. An unset GitHub variable arrives as "".
*/
export function resolveSiteUrl(
candidates: ReadonlyArray<string | undefined> = [process.env.SITE_URL, process.env.URL],
): string {
for (const candidate of candidates) {
const value = candidate?.trim();
if (!value) continue;
try {
const url = new URL(value);
if (url.protocol === "https:" || url.protocol === "http:") return url.origin;
} catch {
// not a URL; try the next one
}
}
return LOCAL_URL;
}
/**
* Site-wide facts. Anything marked `null` is optional and hidden when unset.
*/
export const site = {
name: "Eric Blanchard",
role: "Software developer",
location: "Ontario, Canada",
description:
"Eric Blanchard builds fast, well-tested web apps, data dashboards and games, and runs the studio Deleptual.",
url: resolveSiteUrl(),
/** Public contact address, also the fallback when the contact form can't send. */
email: "eric.blanchard@deleptual.ca",
links: {
linkedin: "https://www.linkedin.com/in/blanchard-eric",
github: "https://github.com/EricBlanchard",
studio: "https://deleptual.ca",
source: "https://github.com/EricBlanchard/eric-blanchard-portfolio",
},
} as const;
export const studio = {
name: "Deleptual",
founded: "July 2019",
base: "Ontario, Canada",
url: "https://deleptual.ca",
summary:
"Deleptual is my incorporated studio. It is where client web work gets built and where Hexploration is being made.",
practice: [
{
title: "Web apps for clients",
body: "Internal tools and websites that do one job well, from a meal-prep business's weekly operations and a lead-generating budget calculator to a vision-systems company's site, built in React and Next.js and handed over with a deploy pipeline.",
},
{
title: "Games",
body: "Hexploration, a hex-map exploration game in Unity and C#, designed in a Notion wiki that feeds the editor tooling.",
},
{
title: "Workflow engineering",
body: "AI as part of the everyday workflow: project rules kept in the repository, larger jobs handed off from the desktop app or my phone, and scheduled tasks that watch for funding, competitor and policy changes.",
},
],
} as const;
|