update links

This commit is contained in:
Pascal Fischer
2023-05-10 19:24:38 +02:00
parent e4668ab3fa
commit 30d92a3222
18 changed files with 69 additions and 71 deletions

View File

@@ -1,40 +1,34 @@
import { Button } from '@/components/Button'
import { Heading } from '@/components/Heading'
const howNetbirdWorks = [
const aboutNetbird = [
{
href: 'docs/about-netbird/how-netbird-works#architecture',
name: 'Architecture',
description: 'Learn everything there is to know about the general architecture of NetBird.',
href: '/docs/about-netbird/how-netbird-works',
name: 'How NetBird Works',
description: 'Learn everything there is to know about how NetBird works.',
},
{
href: '/docs/about-netbird/how-netbird-works#general-flow-overview',
name: 'General Flow Overview',
href: '/docs/about-netbird/netbird-vs-traditional-vpn',
name: 'NetBird vs. traditional VPN',
description:
'Learn how the general communication between components within the NetBird Cloud works.',
'Read how NetBird compares to traditional VPNs and why it is better.',
},
{
href: '/docs/how-to/setup-keys',
name: 'Setup Keys',
href: '/docs/about-netbird/why-wireguard-with-netbird',
name: 'Why WireGuard with NetBird',
description:
'Learn about different kinds of setup keys and how to us them to add peers to your network.',
},
{
href: '/docs/how-to/access-control',
name: 'Access Control',
description:
'Learn how to limit communication between different peer groups inside your network.',
'Learn why NetBird is using WireGuard and how NetBird simplifies the usage.',
},
]
export function HowNetbirdWorks() {
export function AboutNetbird() {
return (
<div className="my-16 xl:max-w-none">
<Heading level={2} id="howNetbirdWorks">
How NetBird Works
About NetBird
</Heading>
<div className="not-prose mt-4 grid grid-cols-1 gap-8 border-t border-zinc-900/5 pt-10 dark:border-white/5 sm:grid-cols-2 xl:grid-cols-4">
{howNetbirdWorks.map((guide) => (
{aboutNetbird.map((guide) => (
<div key={guide.href}>
<h3 className="text-sm font-semibold text-zinc-900 dark:text-white">
{guide.name}

View File

@@ -3,12 +3,12 @@ import { Heading } from '@/components/Heading'
const guides = [
{
href: '/ipa/authentication',
href: '/ipa/guides/authentication',
name: 'Authentication',
description: 'Learn how to authenticate your API requests.',
},
{
href: '/ipa/errors',
href: '/ipa/guides/errors',
name: 'Errors',
description:
'Read about the different types of errors returned by the API.',

View File

@@ -3,24 +3,24 @@ import { Heading } from '@/components/Heading'
const howToGuides = [
{
href: '/docs/managing-your-network#add-users-to-your-network',
href: '/docs/how-to/add-users-to-your-network',
name: 'Add Users to your network',
description: 'Learn how to add users to your network.',
},
{
href: '/docs/managing-your-network#configure-periodic-user-authentication',
href: '/docs/how-to/configure-periodic-user-authentication',
name: 'Configure periodic user authentication',
description:
'Learn how to configure periodic user authentication.',
},
{
href: '/docs/managing-your-network#manage-dns-in-your-network',
href: '/docs/how-to/manage-dns-in-your-network',
name: 'Manage DNS in your network',
description:
'Learn how to configure DNS servers for your network.',
},
{
href: '/docs/managing-your-network#monitor-system-and-network-activity',
href: '/docs/how-to/monitor-system-and-network-activity',
name: 'Monitoring system and network activities',
description:
'Learn how to keep track of system and network activities in your account.',

View File

@@ -26,6 +26,7 @@ export const docsNavigation = [
{ title: 'Configure periodic user authentication', href: '/docs/how-to/configure-periodic-user-authentication' },
{ title: 'Monitor system and network activity', href: '/docs/how-to/monitor-system-and-network-activity' },
{ title: 'Routing traffic to private networks', href: '/docs/how-to/routing-traffic-to-private-networks' },
{ title: 'Manage DNS in your network', href: '/docs/how-to/manage-dns-in-your-network' },
{ title: 'Examples', href: '/docs/how-to/examples' },
{ title: 'CLI', href: '/docs/how-to/cli' },
],

View File

@@ -10,7 +10,7 @@ import { UsersIcon } from '@/components/icons/UsersIcon'
const resources = [
{
href: '/ipa/accounts',
href: '/ipa/resources/accounts',
name: 'Accounts',
description:
'Learn how to list and update accounts.',
@@ -24,7 +24,7 @@ const resources = [
},
},
{
href: '/ipa/users',
href: '/ipa/resources/users',
name: 'Users',
description:
'Learn how to create, update, delete, and list users.',
@@ -38,7 +38,7 @@ const resources = [
},
},
{
href: '/ipa/tokens',
href: '/ipa/resources/tokens',
name: 'Tokens',
description:
'Learn how to create, retrieve, delete, and list tokens.',
@@ -52,7 +52,7 @@ const resources = [
},
},
{
href: '/ipa/peers',
href: '/ipa/resources/peers',
name: 'Peers',
description:
'Learn how to retrieve, update, delete, and list peers.',
@@ -66,7 +66,7 @@ const resources = [
},
},
{
href: '/ipa/setup-keys',
href: '/ipa/resources/setup-keys',
name: 'Setup Keys',
description:
'Learn how to create, retrieve, update, and list setup keys.',
@@ -77,7 +77,7 @@ const resources = [
},
},
{
href: '/ipa/groups',
href: '/ipa/resources/groups',
name: 'Groups',
description:
'Learn how to create, retrieve, update, delete, and list groups.',
@@ -88,7 +88,7 @@ const resources = [
},
},
{
href: '/ipa/rules',
href: '/ipa/resources/rules',
name: 'Rules',
description:
'Learn how to create, retrieve, update, delete, and list rules.',
@@ -99,7 +99,7 @@ const resources = [
},
},
{
href: '/ipa/policies',
href: '/ipa/resources/policies',
name: 'Policies',
description:
'Learn how to create, retrieve, update, delete, and list policies.',
@@ -110,7 +110,7 @@ const resources = [
},
},
{
href: '/ipa/routes',
href: '/ipa/resources/routes',
name: 'Routes',
description:
'Learn about how to create, retrieve, update, delete, and list routes.',
@@ -121,7 +121,7 @@ const resources = [
},
},
{
href: '/ipa/dns',
href: '/ipa/resources/dns',
name: 'DNS',
description:
'Learn about how to create, retrieve, update, delete, and list nameserver groups and update and retrieve DNS settings.',
@@ -132,7 +132,7 @@ const resources = [
},
},
{
href: '/ipa/events',
href: '/ipa/resources/events',
name: 'Events',
description:
'Learn about how to list events.',