const protocol = typeof window !== "undefined" ? window.location.protocol : "https:"
export const baseDomain = typeof window !== "undefined" ? window.location.hostname : "kontextwerk.de"
export const baseURL = `${protocol}//${baseDomain}`
export const apiBaseURL = "/api/"

export const websiteName = "Kontextwerk"
export const companyName = "Kontextwerk"
export const email = "hello@kontextwerk.de"
export const streetAddress = "Gertrudenstraße 3"
export const localityAddress = "Hamburg"
export const regionAddress = "Hamburg"
export const zipCode = "20095"
export const countryAddress = "DE"

export const socialIcons = {
    instagram: "https://www.instagram.com/kontextwerk",
    linkedin: "https://www.linkedin.com/company/kontextwerk",
    youtube: "https://www.youtube.com/@kontextwerk",
}

export type HeaderLinkType = "link" | "button"

export type HeaderLink =
    | ({ sectionId: string; href?: never } & { label: string; type?: HeaderLinkType })
    | ({ href: string; sectionId?: never } & { label: string; type?: HeaderLinkType })

export const headerLinks: HeaderLink[] = [
    { label: "Überblick", sectionId: "leistungen" },
    { label: "Voicebot", sectionId: "voicebot-demo" },
    { label: "Chatbot", sectionId: "chatbot-demo" },
    { label: "FAQ", sectionId: "faq" },
    { label: "Angebote", sectionId: "angebote" },
    { label: "Kontakt", sectionId: "kontakt", type: "button" },
]
