Skip to content

Commit 9c61854

Browse files
ngnijlandclaude
andauthored
Rename /team-insights page to /for-teams (#949)
Update the URL to better match the navigation label. Adds a redirect from the old path and updates all internal references. Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 6426401 commit 9c61854

File tree

5 files changed

+7
-6
lines changed

5 files changed

+7
-6
lines changed

docs/astro.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ export default defineConfig({
1818
base: config.site.base_path,
1919
trailingSlash: config.site.trailing_slash ? "always" : "never",
2020
redirects: {
21+
"/team-insights": "/for-teams",
2122
"/docs/features/rocketsim-connect/introduction-and-setup":
2223
"/docs/getting-started/setting-up-rocketsim-connect",
2324
"/docs/features/rocketsim-connect/network-traffic-monitoring":

docs/src/config/menu.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
},
77
{
88
"name": "For Teams",
9-
"url": "/team-insights"
9+
"url": "/for-teams"
1010
},
1111
{
1212
"name": "Pricing",
@@ -34,7 +34,7 @@
3434
},
3535
{
3636
"name": "For Teams",
37-
"url": "/team-insights"
37+
"url": "/for-teams"
3838
},
3939
{
4040
"name": "Pricing",

docs/src/layouts/partials/CallToAction.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const sectionData = (await getEntry(
1111
)) as CollectionEntry<"ctaSectionCollection">;
1212
const { enable, title, description, image, call_to_actions } = sectionData.data;
1313
14-
const isTeamPage = Astro.url.pathname === "/team-insights";
14+
const isTeamPage = Astro.url.pathname === "/for-teams";
1515
const isPricingPage = Astro.url.pathname === "/pricing";
1616
1717
const callToActions = isTeamPage

docs/src/layouts/partials/Header.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ const { pathname } = Astro.url;
195195
{
196196
navigation_buttons
197197
.filter((button) =>
198-
pathname !== "/team-insights" && button.label === "Login"
198+
pathname !== "/for-teams" && button.label === "Login"
199199
? false
200200
: true,
201201
)
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const {
2828
const seo = {
2929
title: meta_title || `${title} - RocketSim`,
3030
description,
31-
canonical: `${base_url}/team-insights`,
31+
canonical: `${base_url}/for-teams`,
3232
};
3333
3434
const structuredData = {
@@ -37,7 +37,7 @@ const structuredData = {
3737
name: "RocketSim for Teams",
3838
description: description,
3939
image: `${base_url}/images/rocketsim-app-icon.png`,
40-
url: `${base_url}/team-insights`,
40+
url: `${base_url}/for-teams`,
4141
},
4242
};
4343
---

0 commit comments

Comments
 (0)