// import BackButton from "@/components/BackButton"; // import React from "react"; // import { Card } from "@/components/ui/card"; // import Screen from "@/components/Screen"; // import { Heading } from "@/components/ui/heading"; // import { AntDesign } from "@expo/vector-icons"; // import { VStack } from "@/components/ui/vstack"; // import { Text } from "@/components/ui/text"; // import { Button, ButtonIcon, ButtonText } from "@/components/ui/button"; // import { LockIcon } from "@/components/ui/icon"; // function truncateEmail(email: string) { // const splitedEmail = email.split("@"); // let hiddenPart = splitedEmail[0][0]; // for (let i = 1; i < splitedEmail[0].length - 1; i++) { // hiddenPart += "⋆"; // } // return hiddenPart + splitedEmail[0].slice(-1) + "@" + splitedEmail[1]; // } // type props = { email?: string }; // export default function CodeSentPage({ email }: props) { // return ( // // // // // // // Code envoyé ! // // // // Nous t'avons envoyé le code de vérification à // // // {truncateEmail(email ?? "test@Optifit.com")} // // // Clique sur renvoyer si tu n'as pas reçu d’ici quelques secondes ! // 🔥 // // // // // // // ); // }