Skip to content

Commit be3d71d

Browse files
authored
[dashboard] add website slugs (#18314)
1 parent b4c125e commit be3d71d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

components/dashboard/src/utils.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ export function isWebsiteSlug(pathName: string) {
9696
"code-of-conduct",
9797
"contact",
9898
"docs",
99+
"events",
99100
"features",
100101
"for",
101102
"gitpod-vs-github-codespaces",
@@ -110,6 +111,7 @@ export function isWebsiteSlug(pathName: string) {
110111
"support",
111112
"terms",
112113
"values",
114+
"webinars",
113115
];
114116
return slugs.some((slug) => pathName.startsWith("/" + slug + "/") || pathName === "/" + slug);
115117
}

0 commit comments

Comments
 (0)