From 053fe87b96bed903ac2a65e0b59d22704b4cb968 Mon Sep 17 00:00:00 2001 From: braginini Date: Fri, 19 May 2023 19:51:25 +0200 Subject: [PATCH] Fixes --- next.config.mjs | 6 +-- src/components/AboutNetbird.jsx | 8 ++-- src/components/Header.jsx | 4 +- src/components/How-To-Guides.jsx | 37 ++++++++++++------- src/components/Layout.jsx | 2 +- src/components/NavigationAPI.jsx | 4 +- src/components/NavigationDocs.jsx | 4 +- .../docs/how-to/access-netbird-public-api.mdx | 2 +- .../how-to/manage-dns-in-your-network.mdx | 2 +- .../docs/how-to/manage-network-access.mdx | 2 +- .../{introductions.mdx => introduction.mdx} | 6 ++- .../{introductions.mdx => introduction.mdx} | 0 src/styles/tailwind.css | 2 +- 13 files changed, 46 insertions(+), 33 deletions(-) rename src/pages/docs/{introductions.mdx => introduction.mdx} (94%) rename src/pages/ipa/{introductions.mdx => introduction.mdx} (100%) diff --git a/next.config.mjs b/next.config.mjs index 5ff9474b..50e393d7 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -25,17 +25,17 @@ const nextConfig = { return [ { source: '/', - destination: '/docs/introductions', + destination: '/docs/introduction', permanent: true, }, { source: '/docs', - destination: '/docs/introductions', + destination: '/docs/introduction', permanent: true, }, { source: '/ipa', - destination: '/ipa/introductions', + destination: '/ipa/introduction', permanent: true, }, ] diff --git a/src/components/AboutNetbird.jsx b/src/components/AboutNetbird.jsx index 91eb6432..62c263f4 100644 --- a/src/components/AboutNetbird.jsx +++ b/src/components/AboutNetbird.jsx @@ -4,20 +4,20 @@ import { Heading } from '@/components/Heading' const aboutNetbird = [ { href: '/docs/about-netbird/how-netbird-works', - name: 'How NetBird Works', - description: 'Learn everything there is to know about how NetBird works.', + name: 'How NetBird works', + description: 'Concepts, architecture, protocols, and more.', }, { href: '/docs/about-netbird/netbird-vs-traditional-vpn', name: 'NetBird vs. traditional VPN', description: - 'Read how NetBird compares to traditional VPNs and why it is better.', + 'Learn how NetBird compares to traditional VPNs and why it is better.', }, { href: '/docs/about-netbird/why-wireguard-with-netbird', name: 'Why WireGuard with NetBird', description: - 'Learn why NetBird is using WireGuard and how NetBird simplifies the usage.', + 'Learn why and how NetBird uses WireGuard.', }, ] diff --git a/src/components/Header.jsx b/src/components/Header.jsx index 217f3b8f..2f290030 100644 --- a/src/components/Header.jsx +++ b/src/components/Header.jsx @@ -69,8 +69,8 @@ export const Header = forwardRef(function Header({ className }, ref) {