Skip to content

Commit

Permalink
Merge pull request #33 from open-navigation/nvodoor-fix-links
Browse files Browse the repository at this point in the history
Nvodoor fix links
  • Loading branch information
nvodoor authored May 1, 2024
2 parents 1a7b09a + d0ab490 commit 7c84487
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 23 deletions.
4 changes: 2 additions & 2 deletions src/components/navbar/navbar.astro
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const DOCS = "Docs";
</ul>
<div class="lg:hidden flex items-center my-3 gap-4">
<Link
href="https://navigation.ros.org/getting_started/index.html"
href="https://docs.nav2.org/getting_started/index.html"
size="md"
block>{DOCS}</Link
>
Expand All @@ -63,7 +63,7 @@ const DOCS = "Docs";
<div class="z-50">
<div class="hidden lg:flex items-center gap-4">
<Link
href="https://navigation.ros.org/getting_started/index.html"
href="https://docs.nav2.org/getting_started/index.html"
size="md">{DOCS}</Link
>
</div>
Expand Down
14 changes: 7 additions & 7 deletions src/content/links/footerLinks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,23 @@ const links = [
{
title: "Product",
items: [
{ title: "Getting Started", src: "./index.html" },
{ title: "Development Guide", src: "https://navigation.ros.org/development_guides/index.html" },
{ title: "Robots Using", src: "https://navigation.ros.org/about/robots.html"},
{ title: "Getting Started", src: "https://docs.nav2.org/getting_started/index.html" },
{ title: "Development Guide", src: "https://docs.nav2.org/development_guides/index.html" },
{ title: "Robots Using", src: "https://docs.nav2.org/about/robots.html"},
],
},
{
title: "Company",
items: [
{ title: "About us", src: "https://navigation.ros.org/about/index.html#id1"},
{ title: "Contact", src: "https://navigation.ros.org/about/index.html#contact" }
{ title: "About us", src: "https://docs.nav2.org/about/index.html#id1"},
{ title: "Contact", src: "https://docs.nav2.org/about/index.html#contact" }
],
},
{
title: "Resource",
items: [
{ title: "Tutorials", src: "https://navigation.ros.org/tutorials/index.html" },
{ title: "Roadmaps", src: "https://navigation.ros.org/roadmap/roadmap.html" },
{ title: "Tutorials", src: "https://docs.nav2.org/tutorials/index.html" },
{ title: "Roadmaps", src: "https://docs.nav2.org/roadmap/roadmap.html" },
],
}
]
Expand Down
22 changes: 11 additions & 11 deletions src/content/links/headerLinks.ts
Original file line number Diff line number Diff line change
@@ -1,39 +1,39 @@
const headerLinks = [
{
title: "Getting Started",
path: "https://navigation.ros.org/getting_started/index.html",
path: "https://docs.nav2.org/getting_started/index.html",
},
{
title: "Concepts",
path: "#",
children: [
{ title: "Navigation Concepts", path: "https://navigation.ros.org/concepts/index.html" },
{ title: "Behavior Trees", path: "https://navigation.ros.org/behavior_trees/index.html" },
{ title: "Navigation Concepts", path: "https://docs.nav2.org/concepts/index.html" },
{ title: "Behavior Trees", path: "https://docs.nav2.org/behavior_trees/index.html" },
],
},
{
title: "Tutorials",
path: "#",
children: [
{ title: "First Time Robot Setup Guide", path: "https://navigation.ros.org/setup_guides/index.html" },
{ title: "General Tutorials", path: "https://navigation.ros.org/tutorials/index.html" },
{ title: "Plugin Tutorials", path: "https://navigation.ros.org/plugin_tutorials/index.html" }
{ title: "First Time Robot Setup Guide", path: "https://docs.nav2.org/setup_guides/index.html" },
{ title: "General Tutorials", path: "https://docs.nav2.org/tutorials/index.html" },
{ title: "Plugin Tutorials", path: "https://docs.nav2.org/plugin_tutorials/index.html" }
],
},
{
title: "Configuration",
children: [
{ title: "Tuning", path: "https://navigation.ros.org/tuning/index.html" },
{ title: "Configuration", path: "https://navigation.ros.org/configuration/index.html", },
{ title: "Plugins", path: "https://navigation.ros.org/plugins/index.html" }
{ title: "Tuning", path: "https://docs.nav2.org/tuning/index.html" },
{ title: "Configuration", path: "https://docs.nav2.org/configuration/index.html", },
{ title: "Plugins", path: "https://docs.nav2.org/plugins/index.html" }
]
},
{
title: "About",
path: "#",
children: [
{ title: "Contact", path: "https://navigation.ros.org/about/index.html" },
{ title: "Robots", path: "https://navigation.ros.org/about/robots.html" },
{ title: "Contact", path: "https://docs.nav2.org/about/index.html" },
{ title: "Robots", path: "https://docs.nav2.org/about/robots.html" },
]
},
];
Expand Down
6 changes: 3 additions & 3 deletions src/layouts/Layout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@ const makeTitle = "Nav2 Navigation System";
<SEO
title={makeTitle}
description="Open Navigation Index Page"
canonical={"https://navigation.ros.org/index.html"}
canonical={"http://nav2.org"}
twitter={{
creator: "@stevemacenski",
site: "@navigation.ros.org/index.html",
site: "@nav2.org/index.html",
card: "summary_large_image",
}}
openGraph={{
basic: {
url: "https://navigation.ros.org/index.html",
url: "http://nav2.org",
type: "website",
title: `Nav2 - Nav2 1.0.0 documentation`,
image: "nav2.ico",
Expand Down

0 comments on commit 7c84487

Please sign in to comment.