import IP from "@/assets/icons/svg/ip.svg";
import { ThemedText } from "@/components/ThemedText";
import { useTranslation } from "react-i18next";
import { View } from 'react-native';

export default function AskHello() {
    const { t } = useTranslation();

    return (
        <View className="flex-1 bg-white overflow-auto w-full">
            {/* 内容区域 IP与介绍文本*/}
            <View className="items-center flex-1">
                <ThemedText className="text-3xl font-bold text-center">
                    {t('ask.hi', { ns: 'ask' })}
                    {"\n"}
                    {t('ask.iAmMemo', { ns: 'ask' })}
                </ThemedText>
                <View className="justify-center items-center"><IP /></View>

                <ThemedText className="!text-textPrimary text-center -mt-[4rem]">
                    {t('ask.ready', { ns: 'ask' })}
                    {"\n"}
                    {t('ask.justAsk', { ns: 'ask' })}
                </ThemedText>
            </View>
        </View>
    );
}