import { parseEmailParts, type EmailParts } from "@/src/domain/email"; import { indexingFor } from "@/src/domain/indexing"; // What is the same in every language. Titles, descriptions and all other texts // live in en.ts and de.ts. export const SITE_NAME = "Marc Mintel"; export const SITE_URL = "https://mintel.me"; /** * Public profiles of the owner (LinkedIn, GitHub, ...). Search engines use them to * connect this site with the same person elsewhere. Only add profiles the owner confirmed. */ export const PROFILES: readonly string[] = []; /** Only the production deployment may appear in search results. Set by the build. */ export const INDEXING = indexingFor(process.env.NEXT_PUBLIC_TARGET); // The contact address, kept in parts on purpose: the complete address must never // appear as one string in the page source (see src/components/EmailLink.tsx). const parsedEmail = parseEmailParts({ user: "hello", domain: "mintel", tld: "me", }); if (parsedEmail.ok === false) { throw new Error( `Invalid contact address in src/content/site.ts: ${parsedEmail.error}`, ); } export const CONTACT_EMAIL_PARTS: EmailParts = parsedEmail.value; /** Details required for the imprint (section 5 DDG). */ export const OWNER = { name: "Marc Mintel", street: "Georg-Meistermann-Straße 7", postalCode: "54586", locality: "Schüller", countryCode: "DE", vatId: "DE367588065", } as const;