import { View } from "@tarojs/components";
import Buttons from '@components/Buttons'
import Texts from '@components/Texts'

import { ButtonType, ComponentStatus, TextType } from "../utils/types";
import Taro from "@tarojs/taro";

export default function Page() {

    function login() {
        Taro.navigateTo({
            url: '/pages/ChooseScenario'
        })
    }

    return <View className="container">
        <Texts text='App name' type={TextType.big} />
        <Buttons title='Login' onClick={login} />
    </View>;
}