Privacy policy: contact info@sorsfonalak.hu, no placeholders
CI / test (push) Successful in 1m20s
CI / build (push) Successful in 4m42s
CI / deploy (push) Skipped

The contact address is info@sorsfonalak.hu. The operator's name, address
and registration come with the company; until then the pages leave that
part out instead of showing 'kitöltendő' placeholders.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
This commit is contained in:
feco
2026-11-19 13:26:00 +00:00
co-authored by Claude Opus 5.5
parent aee6bec940
commit 1af55d3b05
3 changed files with 38 additions and 13 deletions
+13 -4
View File
@@ -2,7 +2,7 @@ import type { Metadata } from "next";
import Link from "next/link";
import { PublicHeader } from "@/components/SiteHeader";
import { OPERATOR, PRIVACY_UPDATED } from "@/lib/legal";
import { OPERATOR, PRIVACY_UPDATED, operatorDetails } from "@/lib/legal";
import { getMe } from "@/lib/server";
export const metadata: Metadata = {
@@ -29,9 +29,18 @@ export default async function PrivacyPage() {
<section>
<h2>1. Ki kezeli az adataidat?</h2>
<p>
A Sorsfonalak szolgáltatás (sorsfonalak.hu) adatkezelője: <strong>{OPERATOR.name}</strong>, {OPERATOR.address}
{OPERATOR.registration ? `, ${OPERATOR.registration}` : ""}. Adatvédelmi kérdésekben itt érsz el minket:{" "}
<strong>{OPERATOR.email}</strong>.
{operatorDetails() ? (
<>
A Sorsfonalak szolgáltatás (sorsfonalak.hu) adatkezelője: <strong>{operatorDetails()}</strong>.{" "}
</>
) : (
"A Sorsfonalak szolgáltatás (sorsfonalak.hu) adatkezelőjét e-mailben éred el. "
)}
Adatvédelmi és minden más kérdésben itt érsz el minket:{" "}
<a href={`mailto:${OPERATOR.email}`}>
<strong>{OPERATOR.email}</strong>
</a>
.
</p>
</section>
+13 -5
View File
@@ -2,7 +2,7 @@ import type { Metadata } from "next";
import Link from "next/link";
import { PublicHeader } from "@/components/SiteHeader";
import { OPERATOR, PRIVACY_UPDATED_EN } from "@/lib/legal";
import { OPERATOR, PRIVACY_UPDATED_EN, operatorDetails } from "@/lib/legal";
import { getMe } from "@/lib/server";
export const metadata: Metadata = {
@@ -75,10 +75,18 @@ export default async function PrivacyPolicyPage() {
<section>
<h2>1. Who is responsible for your data?</h2>
<p>
The controller of the Sorsfonalak service (sorsfonalak.hu) is <strong>{OPERATOR.name}</strong>,{" "}
{OPERATOR.address}
{OPERATOR.registration ? `, ${OPERATOR.registration}` : ""}. For any privacy question, contact us at{" "}
<strong>{OPERATOR.email}</strong>.
{operatorDetails() ? (
<>
The controller of the Sorsfonalak service (sorsfonalak.hu) is <strong>{operatorDetails()}</strong>.{" "}
</>
) : (
"The controller of the Sorsfonalak service (sorsfonalak.hu) can be reached by e-mail. "
)}
For any privacy or other question, contact us at{" "}
<a href={`mailto:${OPERATOR.email}`}>
<strong>{OPERATOR.email}</strong>
</a>
.
</p>
</section>
+12 -4
View File
@@ -1,11 +1,19 @@
// Operator details shown on the legal pages. Fill these in before launch.
// 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: "[Üzemeltető neve – kitöltendő]",
address: "[Székhely / postacím – kitöltendő]",
email: "[Kapcsolattartási e-mail – kitöltendő]",
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";