import { FC } from "react" import { Image, ImageStyle, TextStyle, View, ViewStyle } from "react-native" import { Button } from "@/components/Button" import { Screen } from "@/components/Screen" import { Text } from "@/components/Text" import { useAuth } from "@/context/AuthContext" import { isRTL } from "@/i18n" import type { AppStackScreenProps } from "@/navigators/navigationTypes" import { useAppTheme } from "@/theme/context" import { $styles } from "@/theme/styles" import type { ThemedStyle } from "@/theme/types" import { s } from "@/utils/responsive" import { useHeader } from "@/utils/useHeader" import { useSafeAreaInsetsStyle } from "@/utils/useSafeAreaInsetsStyle" const welcomeLogo = require("@assets/images/logo.png") const welcomeFace = require("@assets/images/welcome-face.png") interface WelcomeScreenProps extends AppStackScreenProps<"Welcome"> {} export const WelcomeScreen: FC = function WelcomeScreen(_props) { const { themed, theme } = useAppTheme() const { navigation } = _props const { logout } = useAuth() function goNext() { navigation.navigate("Main", { screen: "Showroom", params: {} }) } useHeader( { rightTx: "common:logOut", onRightPress: logout, }, [logout], ) const $bottomContainerInsets = useSafeAreaInsetsStyle(["bottom"]) return (