export const useCreateAppRouter = ( isFunctionSettingsEnabled?: boolean, isAdminPageEnabled?: boolean,) => createBrowserRouter( createRoutesFromElements( <Route element={<AppRouterProviders />} // To switch state to `loading` temporarily to enable us // to set scroll position before the page is rendered loader={async () => Promise.resolve(null)} > <Route element={<DefaultLayout />}> <Route path={AppPath.Verify} element={<VerifyLoginTokenEffect />} /> <Route path={AppPath.VerifyEmail} element={<VerifyEmailEffect />} /> <Route path={AppPath.SignInUp} element={<SignInUp />} />
However, I could not find the code for /people or /companies. May be this is closed source. Sometimes OSS projects do these, not all parts of can be open.
I spent 200+ hours analyzing Supabase, shadcn/ui, LobeChat. Found the patterns that separate AI slop from production code. Stop refactoring AI slop. Start with proven patterns. Check out production-grade projects atthinkthroo.com