diff --git a/packages/app/src/app/privacy/page.tsx b/packages/app/src/app/privacy/page.tsx index c3f91c16..88d8ce3e 100644 --- a/packages/app/src/app/privacy/page.tsx +++ b/packages/app/src/app/privacy/page.tsx @@ -1,5 +1,36 @@ import { Heading } from "@/components/ui/heading"; +function PrivacyTextElement({ + title, + description, +}: { + title: string; + description: { type: string; content: string | string[] }[]; +}) { + return ( +
{title}
+ {description.map((descriptionData, index) => ( + <> + {descriptionData.type == "paragraph" && ( +{descriptionData.content}
+ )} + {descriptionData.type == "list" && + typeof descriptionData.content == "object" && ( +