Wire up profiles directory routes

cgen-9ac9285aabd84380a975a7fb6d3228ff
This commit is contained in:
Builder.io 2025-09-30 22:07:16 +00:00
parent 57fb1e8119
commit 6e4068de16

View file

@ -27,7 +27,8 @@ import Community from "./pages/Community";
import Support from "./pages/Support";
import Status from "./pages/Status";
import Changelog from "./pages/Changelog";
import Profile from "./pages/Profile";
import ProfilesDirectory from "./pages/ProfilesDirectory";
import ProfilePassport from "./pages/ProfilePassport";
import About from "./pages/About";
import Contact from "./pages/Contact";
import GetStarted from "./pages/GetStarted";
@ -59,10 +60,10 @@ const App = () => (
element={<Navigate to="/feed" replace />}
/>
<Route path="/projects/new" element={<ProjectsNew />} />
<Route
path="/profile"
element={<Navigate to="/feed" replace />}
/>
<Route path="/profile" element={<Navigate to="/profiles/me" replace />} />
<Route path="/profiles" element={<ProfilesDirectory />} />
<Route path="/profiles/me" element={<ProfilePassport />} />
<Route path="/profiles/:id" element={<ProfilePassport />} />
<Route path="/login" element={<Login />} />
{/* Service routes */}