Checkbox for analytics opt in & settings redesign (#934)

This commit is contained in:
Timo
2023-03-01 13:47:36 +01:00
committed by GitHub
parent 2454daeef9
commit 0423a494c4
18 changed files with 154 additions and 65 deletions

View File

@@ -0,0 +1,20 @@
import { t } from "i18next";
import React from "react";
import { Link } from "../typography/Typography";
export const optInDescription: () => JSX.Element = () => {
return (
<>
<>
{t(
"By ticking this box you consent to the collection of anonymous data, which we use to improve your experience. You can find more information about which data we track in our "
)}
</>
<Link color="primary" href="https://element.io/privacy">
<>{t("Privacy Policy")}</>
</Link>
.
</>
);
};