Inline
This commit is contained in:
parent
75d041dd9c
commit
99579fbf51
3 changed files with 7 additions and 11 deletions
|
@ -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",
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue