diff --git a/src/app/docs/layout.jsx b/src/app/docs/layout.jsx
index 2a617cd3..a9ce9499 100644
--- a/src/app/docs/layout.jsx
+++ b/src/app/docs/layout.jsx
@@ -17,7 +17,7 @@ export const navItems = [
links: [
{title: 'Overview', href: '/docs/overview'},
{title: 'Quickstart', href: '/docs/quickstart'},
- {title: 'Tour', href: '/docs/tour' },
+ {title: 'Tour', href: '/docs/tour'},
{title: 'Examples', href: '/docs/examples'},
],
},
@@ -34,11 +34,11 @@ export const navItems = [
},
{title: 'Resources',
links: [
- {title: 'Protocol Registry', href: '/proto'},
+ {title: 'Protocol Registry', href: '/proto', external: true},
{title: 'Write your own Protocol', href: '/docs/protocols/writing'},
- {title: 'Awesome List', href: 'https://github.com/n0-computer/awesome-iroh'},
- {title: 'FAQ', href: '/docs/faq' },
- {title: 'Wasm/Browser Support', href: '/docs/wasm-browser-support' },
+ {title: 'Awesome List', href: 'https://github.com/n0-computer/awesome-iroh', external: true},
+ {title: 'FAQ', href: '/docs/faq'},
+ {title: 'Wasm/Browser Support', href: '/docs/wasm-browser-support'},
],
},
];
diff --git a/src/components/Libraries.jsx b/src/components/Libraries.jsx
index 961d5a45..460c5b2c 100644
--- a/src/components/Libraries.jsx
+++ b/src/components/Libraries.jsx
@@ -1,5 +1,5 @@
import Image from 'next/image';
-import { ArrowTopRightOnSquareIcon } from '@heroicons/react/20/solid'
+import { ArrowTopRightOnSquareIcon } from '@heroicons/react/20/solid';
import {Button} from '@/components/Button';
import {Heading} from '@/components/Heading';
diff --git a/src/components/Navigation.jsx b/src/components/Navigation.jsx
index a4ca471b..2ff56b3b 100644
--- a/src/components/Navigation.jsx
+++ b/src/components/Navigation.jsx
@@ -5,6 +5,7 @@ import Link from 'next/link';
import {usePathname} from 'next/navigation';
import clsx from 'clsx';
import {AnimatePresence, motion, useIsPresent} from 'framer-motion';
+import { ArrowTopRightOnSquareIcon } from '@heroicons/react/20/solid';
import {useIsInsideMobileNavigation} from '@/components/MobileNavigation';
import {useSectionStore} from '@/components/SectionProvider';
@@ -29,7 +30,7 @@ function TopLevelNavItem({href, children}) {
);
}
-function NavLink({href, tag, active, isAnchorLink = false, children}) {
+function NavLink({href, tag, active, isAnchorLink = false, external, children}) {
return (
- {children}
+
+ {children}
+ {external && }
+
{tag && (
{tag}
@@ -145,7 +149,7 @@ function NavigationGroup({group, className}) {
{group.links.map((link) => (
-
+
{link.title}