π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Inline
Manav Rathibf707ae02dbd
diff --git a/web/apps/auth/src/components/AuthFooter.tsx b/web/apps/auth/src/components/AuthFooter.tsxdeleted file mode 100644index 0291031254..0000000000--- a/web/apps/auth/src/components/AuthFooter.tsx+++ /dev/null@@ -1,23 +0,0 @@-import { Button } from "@mui/material";-import { t } from "i18next";--export const AuthFooter = () => {- return (- <div- style={{- display: "flex",- flexDirection: "column",- alignItems: "center",- justifyContent: "center",- }}- >- <p>{t("AUTH_DOWNLOAD_MOBILE_APP")}</p>- <a- href="https://github.com/ente-io/ente/tree/main/auth#-download"- download- >- <Button color="accent">{t("DOWNLOAD")}</Button>- </a>- </div>- );-};diff --git a/web/apps/auth/src/pages/auth.tsx b/web/apps/auth/src/pages/auth.tsxindex 55dc33ce68..dc68114a1b 100644--- a/web/apps/auth/src/pages/auth.tsx+++ b/web/apps/auth/src/pages/auth.tsx@@ -3,8 +3,7 @@ import EnteSpinner from "@ente/shared/components/EnteSpinner";import { AUTH_PAGES as PAGES } from "@ente/shared/constants/pages";import { CustomError } from "@ente/shared/error";import InMemoryStore, { MS_KEYS } from "@ente/shared/storage/InMemoryStore";-import { TextField } from "@mui/material";-import { AuthFooter } from "components/AuthFooter";+import { Button, TextField } from "@mui/material";import AuthNavbar from "components/Navbar";import OTPDisplay from "components/OTPDisplay";import { t } from "i18next";@@ -127,3 +126,24 @@ const AuthenticatorCodesPage = () => {};export default AuthenticatorCodesPage;++const AuthFooter: React.FC = () => {+ return (+ <div+ style={{+ display: "flex",+ flexDirection: "column",+ alignItems: "center",+ justifyContent: "center",+ }}+ >+ <p>{t("AUTH_DOWNLOAD_MOBILE_APP")}</p>+ <a+ href="https://github.com/ente-io/ente/tree/main/auth#-download"+ download+ >+ <Button color="accent">{t("DOWNLOAD")}</Button>+ </a>+ </div>+ );+};