import type { ReactElement } from 'react' import { Route, Routes } from 'react-router' import { SiteLayout } from '@/components/layout/site-layout' import { ROUTES, type RoutePath } from '@/lib/routes' import { Community } from '@/pages/community' import { Docs } from '@/pages/docs' import { Home } from '@/pages/home' import { Install } from '@/pages/install' import { NotFound } from '@/pages/not-found' const PAGES: Record = { '/': , '/install': , '/docs': , '/community': , } export const App = () => ( }> {ROUTES.map((route) => route.path === '/' ? ( ) : ( ), )} } /> )