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

44 lines
1.7 KiB
TypeScript
Raw Normal View History

// Operator details shown on the legal pages.
export const OPERATOR = {
name: "Sági Ferenc" as string | null,
/** Sole proprietor (egyéni vállalkozó). */
soleTrader: true,
address: "2314 Halásztelek, Bólyai János u. 10/A" as string | null,
email: "info@sorsfonalak.hu",
/** Sole proprietor registration number (nyilvántartási szám). */
registrationNumber: null as string | null,
taxNumber: "92586503-1-33" as string | null,
};
/** Name, address, registration and tax number as one phrase, or null. */
export function operatorDetails(lang: "hu" | "en" = "hu"): string | null {
const en = lang === "en";
const name =
OPERATOR.name &&
(OPERATOR.soleTrader
? `${OPERATOR.name} ${en ? "(sole proprietor)" : "egyéni vállalkozó"}`
: OPERATOR.name);
const reg =
OPERATOR.registrationNumber &&
`${en ? "registration number" : "nyilvántartási szám"}: ${OPERATOR.registrationNumber}`;
const tax =
OPERATOR.taxNumber &&
`${en ? "tax number" : "adószám"}: ${OPERATOR.taxNumber}`;
const parts = [name, OPERATOR.address, reg, tax].filter(Boolean);
return parts.length > 0 ? parts.join(", ") : null;
}
/** The consumer arbitration board of the operator's seat (Pest county). */
export const ARBITRATION_BOARD = {
name: "Pest Vármegyei Békéltető Testület",
address: "1055 Budapest, Balassi Bálint u. 25. IV/2.",
email: "pmbekelteto@pmkik.hu",
web: "https://panaszrendezes.hu",
};
export const PRIVACY_UPDATED = "2026. november 21.";
export const PRIVACY_UPDATED_EN = "21 November 2026";
/** The terms (ÁSZF) in force; the backend records this version with every purchase (TERMS_VERSION). */
export const TERMS_UPDATED = "2026. november 21.";