diff --git a/docs/ox_inventory/External/Client/placeholder.md b/docs/ox_inventory/Functions/External/Client/placeholder.md similarity index 100% rename from docs/ox_inventory/External/Client/placeholder.md rename to docs/ox_inventory/Functions/External/Client/placeholder.md diff --git a/docs/ox_inventory/External/Server/placeholder.md b/docs/ox_inventory/Functions/External/Server/placeholder.md similarity index 100% rename from docs/ox_inventory/External/Server/placeholder.md rename to docs/ox_inventory/Functions/External/Server/placeholder.md diff --git a/docs/ox_inventory/Internal/Client/placeholder.md b/docs/ox_inventory/Functions/Internal/Client/placeholder.md similarity index 100% rename from docs/ox_inventory/Internal/Client/placeholder.md rename to docs/ox_inventory/Functions/Internal/Client/placeholder.md diff --git a/docs/ox_inventory/Internal/Server/placeholder.md b/docs/ox_inventory/Functions/Internal/Server/placeholder.md similarity index 100% rename from docs/ox_inventory/Internal/Server/placeholder.md rename to docs/ox_inventory/Functions/Internal/Server/placeholder.md diff --git a/docs/ox_inventory/installation.md b/docs/ox_inventory/installation.md deleted file mode 100644 index 5bc82334..00000000 --- a/docs/ox_inventory/installation.md +++ /dev/null @@ -1,3 +0,0 @@ ---- -title: Installation ---- \ No newline at end of file diff --git a/docs/ox_inventory/installation.mdx b/docs/ox_inventory/installation.mdx new file mode 100644 index 00000000..2f9cabfe --- /dev/null +++ b/docs/ox_inventory/installation.mdx @@ -0,0 +1,30 @@ +--- +title: Getting Started +--- + +import IconButton from '@site/src/components/IconButton' +import { BsGithub, BsBookHalf } from 'react-icons/bs' + +:::caution + +This resource is being designed with the intention of providing advanced functionality while remaining easy to use, +however it is not recommended for beginners. You must possess a basic understanding of coding and the ability to read; +otherwise you **should not** install this resource. +::: + +## Dependecies + +### OxMySQL + +We utilise our own resource to communicate with MySQL databases via the node-mysql2 package. +The backend is actively maintained and updated unlike the package used by mysql-async, providing improved performance, security, and features. +We provide full backwards compatibility with mysql-async and build for the current Cfx architecture. + +
diff --git a/package.json b/package.json index e40db57d..5171d297 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,8 @@ "clsx": "^1.1.1", "prism-react-renderer": "^1.2.1", "react": "^17.0.1", - "react-dom": "^17.0.1" + "react-dom": "^17.0.1", + "react-icons": "^4.3.1" }, "devDependencies": { "@docusaurus/module-type-aliases": "2.0.0-beta.16", diff --git a/src/components/IconButton.tsx b/src/components/IconButton.tsx new file mode 100644 index 00000000..766e6a94 --- /dev/null +++ b/src/components/IconButton.tsx @@ -0,0 +1,41 @@ +import React from 'react'; + +interface Props { + icon: Element; + side: 'left' | 'right'; + style?: React.CSSProperties; +} + +const IconButton: React.FC