MISC: Improve tutorial, documentation and discoverability of NS API documentation (#1697)

This commit is contained in:
catloversg
2024-10-21 10:37:42 +07:00
committed by GitHub
parent a3e1b297ca
commit 6d8084f40e
6 changed files with 47 additions and 13 deletions
+21
View File
@@ -0,0 +1,21 @@
import React from "react";
import { Link } from "@mui/material";
import { getNsApiDocumentationUrl } from "../../utils/StringHelperFunctions";
import { Settings } from "../../Settings/Settings";
export function NsApiDocumentationLink(): React.ReactElement {
return (
<Link
target="_blank"
href={getNsApiDocumentationUrl()}
fontSize="1.2rem"
color={Settings.theme.info}
sx={{
textDecorationThickness: "3px",
textUnderlineOffset: "5px",
}}
>
NS API documentation
</Link>
);
}