waveform/lib/legal.ts
Chneemann 1cd01ad88c
All checks were successful
Deploy Waveform to VPS / deploy (push) Successful in 1m24s
refactor(legal): combine imprint and privacy policy into tabbed view
2026-09-30 04:20:40 +02:00

26 lines
862 B
TypeScript

/**
* @file app/lib/legal.ts
* @description Defines legal navigation configurations, icon mappings, and dynamic copyright text generators.
*/
import { FileText, ShieldCheck } from "lucide-react";
/** List of legal navigation links with their corresponding route paths and icon identifiers. */
export const LEGAL_LINKS = [
{ name: "Imprint", href: "/legal?tab=imprint", iconName: "FileText" },
{
name: "Privacy Policy",
href: "/legal?tab=privacy",
iconName: "ShieldCheck",
},
] as const;
/** Mapping object linking string identifiers to their respective Lucide icon components. */
export const ICON_MAP = {
FileText: FileText,
ShieldCheck: ShieldCheck,
};
/** Generates the standardized copyright notice string with the given year. */
export const COPYRIGHT_TEXT = (year: number) =>
`© ${year} André Kempf. All rights reserved.`;