Skip to content

Commit 0f4dfd1

Browse files
committed
remove /community and add redirect (#5616)
closes: DASH-519
1 parent 026f712 commit 0f4dfd1

File tree

4 files changed

+6
-462
lines changed

4 files changed

+6
-462
lines changed

apps/dashboard/redirects.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,12 @@ async function redirects() {
295295
destination: "/",
296296
permanent: false,
297297
},
298+
// redirect /community to /community/ambassadors
299+
{
300+
source: "/community",
301+
destination: "/community/ambassadors",
302+
permanent: false,
303+
},
298304
...legacyDashboardToTeamRedirects,
299305
];
300306
}

apps/dashboard/src/components/community/CommunityCard.tsx

Lines changed: 0 additions & 67 deletions
This file was deleted.

apps/dashboard/src/page-id.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,5 @@ export enum PageId {
6464
// community pages
6565
// ---------------------------------------------------------------------------
6666
Ambassadors = "ambassadors",
67-
Community = "community",
6867
StartupProgram = "startup-program",
6968
}

0 commit comments

Comments
 (0)