import { createBrowserRouter, RouterProvider } from 'react-router-dom'; import { ColorFunctionProvider } from './ColorFunctionContext'; import { Notifications } from './components/Notifications'; import { Harmonies } from './pages/Harmonies'; import { Home } from './pages/Home'; import { LightenDarken } from './pages/LightenDarken'; import { MainLayout } from './pages/MainLayout'; import { Mixer } from './pages/Mixer'; import { NewScheme } from './pages/NewScheme'; import { SchemeDetail } from './pages/SchemeDetail'; import { SchemeNotFound } from './pages/SchemeNotFound'; import { Schemes } from './pages/Schemes'; import { TintsShades } from './pages/TintsShades'; import { Tones } from './pages/Tones'; import { Wheels } from './pages/Wheels'; const routes = createBrowserRouter([ { path: '/', element: , children: [ { index: true, element: }, { path: 'schemes', element: , children: [ { path: 'new', element: }, { path: 'not-found', element: }, { path: ':id', element: }, ], }, { path: 'harmonies', element: }, { path: 'wheels', element: }, { path: 'tones', element: }, { path: 'tints-shades', element: }, { path: 'lighten-darken', element: }, { path: 'mixer', element: }, ], }, ]); export function App() { return ( Color Lab ); }