mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-05-05 15:17:48 +02:00
MISC: Improve tutorial, documentation and discoverability of NS API documentation (#1697)
This commit is contained in:
@@ -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>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user