import type { RouteObject } from 'react-router-dom'

import NoFound from '@/views/404/404'
import Login from '@/views/User/Login'
import Register from '@/views/User/Register'
const routes: RouteObject[] = [
    {
        path: '/',
        Component: Login,
    },
    {
        path: '*',
        Component: NoFound,
    },
    {
        path: '/register',
        Component: Register,
    },
]

export default routes
