Files
sorsfonalak/services/frontend/src/lib/legal.ts
T

20 lines
835 B
TypeScript
Raw Normal View History

// Operator details shown on the legal pages. The name, address and
// registration come with the company (at the opening); until then the pages
// leave them out and give the contact address only.
export const OPERATOR = {
name: null as string | null,
address: null as string | null,
email: "info@sorsfonalak.hu",
/** Company registration and tax number, if the operator is a company. */
registration: null as string | null,
};
/** Name, address and registration as one phrase ("Kft., 1234 Budapest, …"), or null. */
export function operatorDetails(): string | null {
const parts = [OPERATOR.name, OPERATOR.address, OPERATOR.registration].filter(Boolean);
return parts.length > 0 ? parts.join(", ") : null;
}
export const PRIVACY_UPDATED = "2026. november 19.";
export const PRIVACY_UPDATED_EN = "19 November 2026";