From 67fd2fcb2e4f0774888b3ed1a46591bfb7493e66 Mon Sep 17 00:00:00 2001 From: pascal-fischer <32096965+pascal-fischer@users.noreply.github.com> Date: Wed, 24 May 2023 17:31:57 +0200 Subject: [PATCH] Update links to docs (#182) --- src/components/AccessControlNew.tsx | 2 +- src/components/Banner.tsx | 2 +- src/components/NameServerGroupUpdate.tsx | 2 +- src/components/RouteUpdate.tsx | 2 +- src/components/SetupKeyNew.tsx | 2 +- src/components/popups/AddPATPopup.tsx | 8 ++++---- src/components/popups/InviteUserPopup.tsx | 9 +++++---- src/components/popups/addpeer/addpeer/AddPeerPopup.tsx | 2 +- src/components/popups/addpeer/addpeer/DockerTab.tsx | 2 +- src/components/popups/addpeer/addpeer/LinuxTab.tsx | 2 +- src/views/Activity.tsx | 2 +- src/views/Settings.tsx | 2 +- src/views/SetupKeys.tsx | 2 +- 13 files changed, 20 insertions(+), 19 deletions(-) diff --git a/src/components/AccessControlNew.tsx b/src/components/AccessControlNew.tsx index 84e6018..5a67407 100644 --- a/src/components/AccessControlNew.tsx +++ b/src/components/AccessControlNew.tsx @@ -408,7 +408,7 @@ const AccessControlNew = () => { + href="https://docs.netbird.io/how-to/manage-network-access">Learn more about access controls diff --git a/src/components/Banner.tsx b/src/components/Banner.tsx index 4afffa2..7cf9346 100644 --- a/src/components/Banner.tsx +++ b/src/components/Banner.tsx @@ -22,7 +22,7 @@ const Banner = () => { const linkLearnMore = () => { return ( { + href="https://docs.netbird.io/how-to/manage-dns-in-your-network">Learn more about nameservers ) : diff --git a/src/components/RouteUpdate.tsx b/src/components/RouteUpdate.tsx index c68e928..61f2e79 100644 --- a/src/components/RouteUpdate.tsx +++ b/src/components/RouteUpdate.tsx @@ -458,7 +458,7 @@ const RouteUpdate = () => { + href="https://docs.netbird.io/how-to/routing-traffic-to-private-networks">Learn more about network routes diff --git a/src/components/SetupKeyNew.tsx b/src/components/SetupKeyNew.tsx index 49f473a..9c7db32 100644 --- a/src/components/SetupKeyNew.tsx +++ b/src/components/SetupKeyNew.tsx @@ -555,7 +555,7 @@ const SetupKeyNew = () => { Learn more about - + {" "} setup keys diff --git a/src/components/popups/AddPATPopup.tsx b/src/components/popups/AddPATPopup.tsx index f39ece5..abf49bc 100644 --- a/src/components/popups/AddPATPopup.tsx +++ b/src/components/popups/AddPATPopup.tsx @@ -193,10 +193,10 @@ const AddPATPopup = () => { Should be between 1 and 365 days - {/**/} - {/* */} - {/**/} + + + } {showPlainToken && diff --git a/src/components/popups/InviteUserPopup.tsx b/src/components/popups/InviteUserPopup.tsx index 2d52bc2..db73322 100644 --- a/src/components/popups/InviteUserPopup.tsx +++ b/src/components/popups/InviteUserPopup.tsx @@ -21,6 +21,7 @@ import {actions as groupActions} from "../../store/group"; import {User, UserToSave} from "../../store/user/types"; import {RuleObject} from "antd/lib/form"; import {CustomTagProps} from "rc-select/lib/BaseSelect"; +import {QuestionCircleFilled} from "@ant-design/icons"; const {Title, Text, Paragraph} = Typography; const {Option} = Select; @@ -298,10 +299,10 @@ const InviteUserPopup = () => { - {/**/} - {/* */} - {/**/} + + + diff --git a/src/components/popups/addpeer/addpeer/AddPeerPopup.tsx b/src/components/popups/addpeer/addpeer/AddPeerPopup.tsx index 70573c4..a17f87a 100644 --- a/src/components/popups/addpeer/addpeer/AddPeerPopup.tsx +++ b/src/components/popups/addpeer/addpeer/AddPeerPopup.tsx @@ -92,7 +92,7 @@ export const AddPeerPopup: React.FC = ({ After that you should be connected. Add more devices to your network or manage your existing devices in the admin panel. If you have further questions check out our {installation + href={"https://docs.netbird.io/how-to/getting-started#installation"}>installation guide} diff --git a/src/components/popups/addpeer/addpeer/DockerTab.tsx b/src/components/popups/addpeer/addpeer/DockerTab.tsx index 0b5c298..b35b801 100644 --- a/src/components/popups/addpeer/addpeer/DockerTab.tsx +++ b/src/components/popups/addpeer/addpeer/DockerTab.tsx @@ -31,7 +31,7 @@ export const DockerTab = () => { key: 3, title: "Read docs", commands: ( - Running NetBird in Docker + Running NetBird in Docker ), copied: false, showCopyButton: false diff --git a/src/components/popups/addpeer/addpeer/LinuxTab.tsx b/src/components/popups/addpeer/addpeer/LinuxTab.tsx index 6de57ad..a55a9a9 100644 --- a/src/components/popups/addpeer/addpeer/LinuxTab.tsx +++ b/src/components/popups/addpeer/addpeer/LinuxTab.tsx @@ -12,7 +12,7 @@ export const OtherTab = () => { key: 1, title: 'For other installation options check our documentation.', commands: ( - ), diff --git a/src/views/Activity.tsx b/src/views/Activity.tsx index 2b2b791..cb12559 100644 --- a/src/views/Activity.tsx +++ b/src/views/Activity.tsx @@ -254,7 +254,7 @@ export const Activity = () => { + href="https://docs.netbird.io/how-to/monitor-system-and-network-activity">Learn more about activity tracking diff --git a/src/views/Settings.tsx b/src/views/Settings.tsx index 6d83391..b451304 100644 --- a/src/views/Settings.tsx +++ b/src/views/Settings.tsx @@ -204,7 +204,7 @@ export const Settings = () => { + href="https://docs.netbird.io/how-to/enforce-periodic-user-authentication">Learn more about login expiration diff --git a/src/views/SetupKeys.tsx b/src/views/SetupKeys.tsx index 0e203d6..67fc94f 100644 --- a/src/views/SetupKeys.tsx +++ b/src/views/SetupKeys.tsx @@ -434,7 +434,7 @@ export const SetupKeys = () => { {" "} Learn more