import { about, clients, contact, services } from '@/routes'; import type { Office } from '@/types'; /** * Fixed company facts. Editable contact details and office locations come * from the admin panel through the shared `site` prop (see `useSiteInfo`). */ export const company = { name: 'PT Probindo Artika Jaya', brand: 'Probindo', /** Year the company was founded (as a trading company). */ founded: 1985, /** Year PAJ became an IT consultant; shown as "Est." on the site. */ established: 2002, logo: '/images/probindo/logo-paj.png', } as const; /** Indonesian phone number → international digits, e.g. "622172663353". */ const internationalDigits = (phone: string) => { const digits = phone.replace(/\D/g, ''); return digits.startsWith('0') ? `62${digits.slice(1)}` : digits; }; export const telHref = (phone: string) => `tel:+${internationalDigits(phone)}`; export const whatsappHref = (phone: string) => `https://wa.me/${internationalDigits(phone)}`; export const officeAddress = (office: Office) => [office.building, office.street, office.area, office.city].join(', '); /** Main menu; labels come from `common.nav` in the active language. */ export const navigation = [ { key: 'about', href: about() }, { key: 'services', href: services() }, { key: 'clients', href: clients() }, { key: 'contact', href: contact() }, ] as const; /** Anchor on the contact page that holds the full consultation form. */ export const consultationUrl = `${contact.url()}#audit-form`;