Remove Foundation community routes
cgen-ccb9150eef1d45f490189bbcc0a34995
This commit is contained in:
parent
586b9c4854
commit
3ac00582f5
1 changed files with 0 additions and 87 deletions
|
|
@ -243,80 +243,6 @@ const App = () => (
|
|||
element={<DiscordVerify />}
|
||||
/>
|
||||
|
||||
{/* Foundation Community Hub - Consolidated from /developers and /community */}
|
||||
<Route
|
||||
path="/foundation/community"
|
||||
element={<Community />}
|
||||
/>
|
||||
<Route
|
||||
path="/foundation/community/developers"
|
||||
element={<DevelopersDirectory />}
|
||||
/>
|
||||
<Route
|
||||
path="/foundation/community/teams"
|
||||
element={<FoundationTeams />}
|
||||
/>
|
||||
<Route
|
||||
path="/foundation/community/about"
|
||||
element={<FoundationAbout />}
|
||||
/>
|
||||
<Route
|
||||
path="/foundation/community/mentorship"
|
||||
element={<MentorshipRequest />}
|
||||
/>
|
||||
<Route
|
||||
path="/foundation/community/mentorship/apply"
|
||||
element={<MentorApply />}
|
||||
/>
|
||||
<Route
|
||||
path="/foundation/community/mentor/:username"
|
||||
element={<MentorProfile />}
|
||||
/>
|
||||
<Route
|
||||
path="/foundation/community/groups/ethos"
|
||||
element={<EthosGuild />}
|
||||
/>
|
||||
|
||||
{/* Legacy redirects for backwards compatibility */}
|
||||
<Route
|
||||
path="/developers"
|
||||
element={
|
||||
<Navigate
|
||||
to="/foundation/community/developers"
|
||||
replace
|
||||
/>
|
||||
}
|
||||
/>
|
||||
<Route
|
||||
path="/developers/me"
|
||||
element={
|
||||
<Navigate
|
||||
to="/foundation/community/developers"
|
||||
replace
|
||||
/>
|
||||
}
|
||||
/>
|
||||
<Route
|
||||
path="/developers/:id"
|
||||
element={
|
||||
<Navigate
|
||||
to="/foundation/community/developers"
|
||||
replace
|
||||
/>
|
||||
}
|
||||
/>
|
||||
<Route
|
||||
path="/profiles"
|
||||
element={<Navigate to="/developers" replace />}
|
||||
/>
|
||||
<Route
|
||||
path="/profiles/me"
|
||||
element={<LegacyPassportRedirect />}
|
||||
/>
|
||||
<Route
|
||||
path="/profiles/:id"
|
||||
element={<LegacyPassportRedirect />}
|
||||
/>
|
||||
|
||||
<Route
|
||||
path="/passport"
|
||||
|
|
@ -663,19 +589,6 @@ const App = () => (
|
|||
<Route path="/blog" element={<Blog />} />
|
||||
<Route path="/blog/:slug" element={<BlogPost />} />
|
||||
|
||||
{/* Legacy /community redirect to /foundation/community */}
|
||||
<Route
|
||||
path="/community"
|
||||
element={
|
||||
<Navigate to="/foundation/community" replace />
|
||||
}
|
||||
/>
|
||||
<Route
|
||||
path="/community/:tabId"
|
||||
element={
|
||||
<Navigate to="/foundation/community" replace />
|
||||
}
|
||||
/>
|
||||
|
||||
{/* Ethos Guild Routes */}
|
||||
<Route
|
||||
|
|
|
|||
Loading…
Reference in a new issue