import React from 'react'

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

const NotFoundPage = React.lazy(() => import('./pages/page404'))
const Home = React.lazy(() => import('./pages/home'))

export const routes: RouteObject[] = [
    {path: '/', element: <Home />},
    { path: "*", element: <NotFoundPage /> }
];