diff --git a/apps/desktop/layer/renderer/src/modules/auth/LegalModal.tsx b/apps/desktop/layer/renderer/src/modules/auth/LegalModal.tsx new file mode 100644 index 000000000..c30f451aa --- /dev/null +++ b/apps/desktop/layer/renderer/src/modules/auth/LegalModal.tsx @@ -0,0 +1,25 @@ +import { legalHtml } from "@follow/legal" +import { stopPropagation } from "@follow/utils/dom" +import { m } from "motion/react" +import type { FC } from "react" + +type LegalModalProps = { + type: "privacy" | "tos" +} + +export const LegalModalContent: FC = ({ type }) => { + const content = type === "privacy" ? legalHtml.privacy : legalHtml.tos + + return ( + +
+