This commit is contained in:
Manav Rathi 2024-04-07 10:56:15 +05:30
parent 75d041dd9c
commit 99579fbf51
No known key found for this signature in database
3 changed files with 7 additions and 11 deletions

View file

@ -1,4 +1,3 @@
import { FACE_SEARCH_PRIVACY_POLICY_LINK } from "@ente/shared/constants/urls";
import {
Button,
Checkbox,
@ -60,8 +59,8 @@ export default function EnableFaceSearch({
components={{
a: (
<Link
target={"_blank"}
href={FACE_SEARCH_PRIVACY_POLICY_LINK}
target="_blank"
href="https://ente.io/privacy#8-biometric-information-privacy-policy"
underline="always"
sx={{
color: "inherit",

View file

@ -1,4 +1,3 @@
import { ML_BLOG_LINK } from "@ente/shared/constants/urls";
import { Box, Button, Stack, Typography } from "@mui/material";
import Titlebar from "components/Titlebar";
import { t } from "i18next";
@ -10,6 +9,9 @@ export default function EnableMLSearch({
enableMlSearch,
onRootClose,
}) {
const showDetails = () =>
openLink("https://ente.io/blog/desktop-ml-beta", true);
return (
<Stack spacing={"4px"} py={"12px"}>
<Titlebar
@ -33,9 +35,9 @@ export default function EnableMLSearch({
{t("ENABLE")}
</Button>
<Button
color={"secondary"}
color="secondary"
size="large"
onClick={() => openLink(ML_BLOG_LINK, true)}
onClick={showDetails}
>
{t("ML_MORE_DETAILS")}
</Button>

View file

@ -1,10 +1,5 @@
export const ENTE_WEBSITE_LINK = "https://ente.io";
export const ML_BLOG_LINK = "https://ente.io/blog/desktop-ml-beta";
export const FACE_SEARCH_PRIVACY_POLICY_LINK =
"https://ente.io/privacy#8-biometric-information-privacy-policy";
export const SUPPORT_EMAIL = "support@ente.io";
export const FEEDBACK_EMAIL = "feedback@ente.io";