Skip to content

Commit 2d56b67

Browse files
committed
remove /community and add redirect
1 parent 9d8ecce commit 2d56b67

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
@@ -297,6 +297,12 @@ async function redirects() {
297297
destination: "/",
298298
permanent: false,
299299
},
300+
// redirect /community to /community/ambassadors
301+
{
302+
source: "/community",
303+
destination: "/community/ambassadors",
304+
permanent: false,
305+
},
300306
...legacyDashboardToTeamRedirects,
301307
];
302308
}

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
@@ -67,6 +67,5 @@ export enum PageId {
6767
// community pages
6868
// ---------------------------------------------------------------------------
6969
Ambassadors = "ambassadors",
70-
Community = "community",
7170
StartupProgram = "startup-program",
7271
}

0 commit comments

Comments
 (0)