π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
import {
PublicAccessLayout,
PublicAccessLayoutTitle,
} from "@/public-album/access/components/PublicAccessLayout";
import {
SingleInputForm,
type SingleInputFormProps,
} from "ente-base/components/SingleInputForm";
import { t } from "i18next";
export interface PasswordUnlockScreenProps {
onSubmit: SingleInputFormProps["onSubmit"];
}
export const PasswordUnlockScreen: React.FC<PasswordUnlockScreenProps> = ({
onSubmit,
}) => (
<PublicAccessLayout>
<PublicAccessLayoutTitle>{t("password")}</PublicAccessLayoutTitle>
<SingleInputForm
inputType="password"
label={t("password")}
submitButtonTitle={t("unlock")}
onSubmit={onSubmit}
/>
</PublicAccessLayout>
);