diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0a694a6..6540986 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -7,17 +7,12 @@ jobs: runs-on: ubuntu-latest - strategy: - matrix: - node-version: [18.x, 20.x, 22.x] - # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ - steps: - uses: actions/checkout@v4 - - name: Use Node.js ${{ matrix.node-version }} + - name: Setup Node uses: actions/setup-node@v4 with: - node-version: ${{ matrix.node-version }} + node-version: '20.x' cache: 'npm' - run: npm i - run: npm run build diff --git a/components/footer/styles.tsx b/components/footer/styles.tsx index 1165579..c3169e7 100644 --- a/components/footer/styles.tsx +++ b/components/footer/styles.tsx @@ -1,4 +1,4 @@ -import { createStyles, rem } from '@mantine/core'; +import { createStyles, rem } from "@mantine/core"; // Styles for the Footer component // Used mantine's createStyles function diff --git a/components/search/component.tsx b/components/search/component.tsx index 4c1f4bd..e13c2c1 100644 --- a/components/search/component.tsx +++ b/components/search/component.tsx @@ -45,7 +45,7 @@ export const Search: FunctionComponent = (props): ReactElement => { } rightSection={/} - placeholder="Search" + //placeholder="Search" component="button" onClick={spotlight.open} pointer diff --git a/config.ts b/config.ts index 412fd14..fcdec51 100644 --- a/config.ts +++ b/config.ts @@ -19,12 +19,11 @@ export const navLinks: Link[] = [ link: "/introduction", }, { label: "Getting Started", icon: Book, link: "/getting-started" }, - { label: "Staff List", icon: Portfolio, link: "/staff-list" }, + //{ label: "Staff List", icon: Portfolio, link: "/staff-list" }, { label: "Beginner's Guidebook", icon: UserMultiple, links: [ - //{ label: "Creating A Bot", link: "/beginner/creating-a-bot" }, { label: "Proxying", link: "/beginner/proxying" }, { label: "Ticket System", link: "/beginner/tickets" }, ], @@ -48,26 +47,35 @@ export const navLinks: Link[] = [ { label: "Postgres", link: "/server/database/postgres" }, { label: "Redis", link: "/server/database/redis" }, { label: "MariaDB", link: "/server/database/mariadb" }, + { label: "InfluxDB", link: "/server/database/influxdb" }, { label: "Development", title: true }, { label: "All In One (AIO)", link: "/server/development/aio" }, - { label: "Code Server", link: "/server/development/code-server" }, { label: "Node.js", link: "/server/development/nodejs" }, + { label: "Bun", link: "/server/development/bun" }, { label: "Python", link: "/server/development/python" }, + { label: "Java", link: "/server/development/java" }, + { label: "Rust", link: "/server/development/Rust" }, + + { label: "Premade Bots", title: true }, { label: "Red Discord Bot", link: "/server/development/rdb" }, { label: "Minecraft", title: true }, { label: "Forge", link: "/server/minecraft/forge" }, { label: "Paper", link: "/server/minecraft/paper" }, - { label: "Spigot", link: "/server/minecraft/spigot" }, { label: "Bedrock", link: "/server/minecraft/bedrock" }, { label: "Pocketmine MP", link: "/server/minecraft/pocketmine" }, - //{ label: "Waterfall", link: "/server/minecraft/waterfall" }, + { label: "Waterfall", link: "/server/minecraft/waterfall" }, + { label: "Spigot", link: "/server/minecraft/spigot" }, { label: "Software", title: true }, + { label: "Code Server", link: "/server/development/code-server" }, { label: "Gitea", link: "/server/software/gitea" }, + { label: "Grafana", link: "/server/development/grafana" }, { label: "Haste", link: "/server/software/haste" }, + { label: "RabbitMQ", link: "/server/database/rabbitmq" }, { label: "ShareX", link: "/server/software/sharex" }, + { label: "Uptime Kuma", link: "/server/development/uptimekuma" }, { label: "Voice Servers", title: true }, { label: "Mumble", link: "/server/voice-server/mumble" }, diff --git a/package-lock.json b/package-lock.json index b2e837a..3b63ff3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,43 +1,43 @@ { "name": "docs.danbot.dev", - "version": "1.0.0", + "version": "2.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "docs.danbot.dev", - "version": "1.0.0", + "version": "2.0.0", "license": "MIT", "dependencies": { - "@carbon/icons-react": "^11.17.0", + "@carbon/icons-react": "^11.47.1", "@danbot-hosting/ts-config": "^1.0.0", - "@emotion/react": "^11.10.6", - "@emotion/server": "^11.10.0", + "@emotion/react": "^11.13.3", + "@emotion/server": "^11.11.0", "@mantine/core": "^6.0.22", "@mantine/hooks": "^6.0.22", "@mantine/next": "^6.0.22", "@mantine/notifications": "^6.0.22", "@mantine/nprogress": "^6.0.22", "@mantine/spotlight": "^6.0.22", - "@mdx-js/loader": "^3.0.0", - "@mdx-js/react": "^3.0.0", - "@next/mdx": "^14.0.0", - "@skyra/discord-components-react": "^4.0.0-alpha.26", - "@tabler/icons": "3.12.0", - "cookies-next": "^4.0.0", + "@mdx-js/loader": "^3.0.1", + "@mdx-js/react": "^3.0.1", + "@next/mdx": "^14.2.7", + "@skyra/discord-components-react": "^4.0.0-alpha.33", + "@tabler/icons": "3.14.0", + "cookies-next": "^4.2.1", "cvet": "^4.0.0", - "next": "14.2.6", + "next": "14.2.7", "prettier": "^3.3.3", - "react": "^18.2.0", - "react-dom": "^18.2.0", + "react": "^18.3.1", + "react-dom": "^18.3.1", "remark-gfm": "^4.0.0", - "sharp": "^0.33.0" + "sharp": "^0.33.5" }, "devDependencies": { - "@ikota/mantine": "^0.9.9", - "@types/node": "^22.0.0", - "@types/react": "^18.0.33", - "@types/react-dom": "^18.0.11", + "@ikota/mantine": "^0.9.10", + "@types/node": "^22.5.1", + "@types/react": "^18.3.4", + "@types/react-dom": "^18.3.0", "ikota": "^1.0.1", "typescript": "5.5.4" } @@ -1124,16 +1124,14 @@ } }, "node_modules/@next/env": { - "version": "14.2.6", - "resolved": "https://registry.npmjs.org/@next/env/-/env-14.2.6.tgz", - "integrity": "sha512-bs5DFKV+08EjWrl8EB+KKqev1ZTNONH1vFCaHh911aaB362NnP32UDTbE9VQhyiAgbFqJsfDkSxFERNDDb3j0g==", - "license": "MIT" + "version": "14.2.7", + "resolved": "https://registry.npmjs.org/@next/env/-/env-14.2.7.tgz", + "integrity": "sha512-OTx9y6I3xE/eih+qtthppwLytmpJVPM5PPoJxChFsbjIEFXIayG0h/xLzefHGJviAa3Q5+Fd+9uYojKkHDKxoQ==" }, "node_modules/@next/mdx": { - "version": "14.2.6", - "resolved": "https://registry.npmjs.org/@next/mdx/-/mdx-14.2.6.tgz", - "integrity": "sha512-59jhA506DXouG5T1lUjG8TAYGIQNia6hDuDgRIJwWfOEzgDvIOZHL3/oUGFH9BS2/Y75a9y0l65Lz0aMvUEWeg==", - "license": "MIT", + "version": "14.2.7", + "resolved": "https://registry.npmjs.org/@next/mdx/-/mdx-14.2.7.tgz", + "integrity": "sha512-GeWQODkqa+0fWCVoc6fMZDXsxbsg386EqC+be9/UreJn/TTz/RWN2ZMHcRHY+sjLkOzfOAsRUjEdPckl10+qCg==", "dependencies": { "source-map": "^0.7.0" }, @@ -1159,13 +1157,12 @@ } }, "node_modules/@next/swc-darwin-arm64": { - "version": "14.2.6", - "resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-14.2.6.tgz", - "integrity": "sha512-BtJZb+hYXGaVJJivpnDoi3JFVn80SHKCiiRUW3kk1SY6UCUy5dWFFSbh+tGi5lHAughzeduMyxbLt3pspvXNSg==", + "version": "14.2.7", + "resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-14.2.7.tgz", + "integrity": "sha512-UhZGcOyI9LE/tZL3h9rs/2wMZaaJKwnpAyegUVDGZqwsla6hMfeSj9ssBWQS9yA4UXun3pPhrFLVnw5KXZs3vw==", "cpu": [ "arm64" ], - "license": "MIT", "optional": true, "os": [ "darwin" @@ -1175,13 +1172,12 @@ } }, "node_modules/@next/swc-darwin-x64": { - "version": "14.2.6", - "resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-14.2.6.tgz", - "integrity": "sha512-ZHRbGpH6KHarzm6qEeXKSElSXh8dS2DtDPjQt3IMwY8QVk7GbdDYjvV4NgSnDA9huGpGgnyy3tH8i5yHCqVkiQ==", + "version": "14.2.7", + "resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-14.2.7.tgz", + "integrity": "sha512-ys2cUgZYRc+CbyDeLAaAdZgS7N1Kpyy+wo0b/gAj+SeOeaj0Lw/q+G1hp+DuDiDAVyxLBCJXEY/AkhDmtihUTA==", "cpu": [ "x64" ], - "license": "MIT", "optional": true, "os": [ "darwin" @@ -1191,13 +1187,12 @@ } }, "node_modules/@next/swc-linux-arm64-gnu": { - "version": "14.2.6", - "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-14.2.6.tgz", - "integrity": "sha512-O4HqUEe3ZvKshXHcDUXn1OybN4cSZg7ZdwHJMGCXSUEVUqGTJVsOh17smqilIjooP/sIJksgl+1kcf2IWMZWHg==", + "version": "14.2.7", + "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-14.2.7.tgz", + "integrity": "sha512-2xoWtE13sUJ3qrC1lwE/HjbDPm+kBQYFkkiVECJWctRASAHQ+NwjMzgrfqqMYHfMxFb5Wws3w9PqzZJqKFdWcQ==", "cpu": [ "arm64" ], - "license": "MIT", "optional": true, "os": [ "linux" @@ -1207,13 +1202,12 @@ } }, "node_modules/@next/swc-linux-arm64-musl": { - "version": "14.2.6", - "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-14.2.6.tgz", - "integrity": "sha512-xUcdhr2hfalG8RDDGSFxQ75yOG894UlmFS4K2M0jLrUhauRBGOtUOxoDVwiIIuZQwZ3Y5hDsazNjdYGB0cQ9yQ==", + "version": "14.2.7", + "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-14.2.7.tgz", + "integrity": "sha512-+zJ1gJdl35BSAGpkCbfyiY6iRTaPrt3KTl4SF/B1NyELkqqnrNX6cp4IjjjxKpd64/7enI0kf6b9O1Uf3cL0pw==", "cpu": [ "arm64" ], - "license": "MIT", "optional": true, "os": [ "linux" @@ -1223,13 +1217,12 @@ } }, "node_modules/@next/swc-linux-x64-gnu": { - "version": "14.2.6", - "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-14.2.6.tgz", - "integrity": "sha512-InosKxw8UMcA/wEib5n2QttwHSKHZHNSbGcMepBM0CTcNwpxWzX32KETmwbhKod3zrS8n1vJ+DuJKbL9ZAB0Ag==", + "version": "14.2.7", + "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-14.2.7.tgz", + "integrity": "sha512-m6EBqrskeMUzykBrv0fDX/28lWIBGhMzOYaStp0ihkjzIYJiKUOzVYD1gULHc8XDf5EMSqoH/0/TRAgXqpQwmw==", "cpu": [ "x64" ], - "license": "MIT", "optional": true, "os": [ "linux" @@ -1239,13 +1232,12 @@ } }, "node_modules/@next/swc-linux-x64-musl": { - "version": "14.2.6", - "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-14.2.6.tgz", - "integrity": "sha512-d4QXfJmt5pGJ7cG8qwxKSBnO5AXuKAFYxV7qyDRHnUNvY/dgDh+oX292gATpB2AAHgjdHd5ks1wXxIEj6muLUQ==", + "version": "14.2.7", + "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-14.2.7.tgz", + "integrity": "sha512-gUu0viOMvMlzFRz1r1eQ7Ql4OE+hPOmA7smfZAhn8vC4+0swMZaZxa9CSIozTYavi+bJNDZ3tgiSdMjmMzRJlQ==", "cpu": [ "x64" ], - "license": "MIT", "optional": true, "os": [ "linux" @@ -1255,13 +1247,12 @@ } }, "node_modules/@next/swc-win32-arm64-msvc": { - "version": "14.2.6", - "resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-14.2.6.tgz", - "integrity": "sha512-AlgIhk4/G+PzOG1qdF1b05uKTMsuRatFlFzAi5G8RZ9h67CVSSuZSbqGHbJDlcV1tZPxq/d4G0q6qcHDKWf4aQ==", + "version": "14.2.7", + "resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-14.2.7.tgz", + "integrity": "sha512-PGbONHIVIuzWlYmLvuFKcj+8jXnLbx4WrlESYlVnEzDsa3+Q2hI1YHoXaSmbq0k4ZwZ7J6sWNV4UZfx1OeOlbQ==", "cpu": [ "arm64" ], - "license": "MIT", "optional": true, "os": [ "win32" @@ -1271,13 +1262,12 @@ } }, "node_modules/@next/swc-win32-ia32-msvc": { - "version": "14.2.6", - "resolved": "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-14.2.6.tgz", - "integrity": "sha512-hNukAxq7hu4o5/UjPp5jqoBEtrpCbOmnUqZSKNJG8GrUVzfq0ucdhQFVrHcLRMvQcwqqDh1a5AJN9ORnNDpgBQ==", + "version": "14.2.7", + "resolved": "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-14.2.7.tgz", + "integrity": "sha512-BiSY5umlx9ed5RQDoHcdbuKTUkuFORDqzYKPHlLeS+STUWQKWziVOn3Ic41LuTBvqE0TRJPKpio9GSIblNR+0w==", "cpu": [ "ia32" ], - "license": "MIT", "optional": true, "os": [ "win32" @@ -1287,13 +1277,12 @@ } }, "node_modules/@next/swc-win32-x64-msvc": { - "version": "14.2.6", - "resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-14.2.6.tgz", - "integrity": "sha512-NANtw+ead1rSDK1jxmzq3TYkl03UNK2KHqUYf1nIhNci6NkeqBD4s1njSzYGIlSHxCK+wSaL8RXZm4v+NF/pMw==", + "version": "14.2.7", + "resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-14.2.7.tgz", + "integrity": "sha512-pxsI23gKWRt/SPHFkDEsP+w+Nd7gK37Hpv0ngc5HpWy2e7cKx9zR/+Q2ptAUqICNTecAaGWvmhway7pj/JLEWA==", "cpu": [ "x64" ], - "license": "MIT", "optional": true, "os": [ "win32" @@ -1837,10 +1826,9 @@ } }, "node_modules/@tabler/icons": { - "version": "3.12.0", - "resolved": "https://registry.npmjs.org/@tabler/icons/-/icons-3.12.0.tgz", - "integrity": "sha512-Im37ar/mQkqLb6XUXsU7nOc4/66VB9/3KLuZ+6tUsJKHHNLaDUkYfCTNG3pnGDI03laByxVf5+umSNK2yPTx8A==", - "license": "MIT", + "version": "3.14.0", + "resolved": "https://registry.npmjs.org/@tabler/icons/-/icons-3.14.0.tgz", + "integrity": "sha512-OakKjK1kuDWKoNwdnHHVMt11kTZAC10iZpN/8o/CSYdeBH7S3v5n8IyqAYynFxLI8yBGTyBvljtvWdmWh57zSg==", "funding": { "type": "github", "url": "https://github.com/sponsors/codecalm" @@ -1973,10 +1961,9 @@ "license": "MIT" }, "node_modules/@types/node": { - "version": "22.5.0", - "resolved": "https://registry.npmjs.org/@types/node/-/node-22.5.0.tgz", - "integrity": "sha512-DkFrJOe+rfdHTqqMg0bSNlGlQ85hSoh2TPzZyhHsXnMtligRWpxUySiyw8FY14ITt24HVCiQPWxS3KO/QlGmWg==", - "license": "MIT", + "version": "22.5.1", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.5.1.tgz", + "integrity": "sha512-KkHsxej0j9IW1KKOOAA/XBA0z08UFSrRQHErzEfA3Vgq57eXIMYboIlHJuYIfd+lwCQjtKqUu3UnmKbtUc9yRw==", "dependencies": { "undici-types": "~6.19.2" } @@ -5661,12 +5648,11 @@ "peer": true }, "node_modules/next": { - "version": "14.2.6", - "resolved": "https://registry.npmjs.org/next/-/next-14.2.6.tgz", - "integrity": "sha512-57Su7RqXs5CBKKKOagt8gPhMM3CpjgbeQhrtei2KLAA1vTNm7jfKS+uDARkSW8ZETUflDCBIsUKGSyQdRs4U4g==", - "license": "MIT", + "version": "14.2.7", + "resolved": "https://registry.npmjs.org/next/-/next-14.2.7.tgz", + "integrity": "sha512-4Qy2aK0LwH4eQiSvQWyKuC7JXE13bIopEQesWE0c/P3uuNRnZCQanI0vsrMLmUQJLAto+A+/8+sve2hd+BQuOQ==", "dependencies": { - "@next/env": "14.2.6", + "@next/env": "14.2.7", "@swc/helpers": "0.5.5", "busboy": "1.6.0", "caniuse-lite": "^1.0.30001579", @@ -5681,15 +5667,15 @@ "node": ">=18.17.0" }, "optionalDependencies": { - "@next/swc-darwin-arm64": "14.2.6", - "@next/swc-darwin-x64": "14.2.6", - "@next/swc-linux-arm64-gnu": "14.2.6", - "@next/swc-linux-arm64-musl": "14.2.6", - "@next/swc-linux-x64-gnu": "14.2.6", - "@next/swc-linux-x64-musl": "14.2.6", - "@next/swc-win32-arm64-msvc": "14.2.6", - "@next/swc-win32-ia32-msvc": "14.2.6", - "@next/swc-win32-x64-msvc": "14.2.6" + "@next/swc-darwin-arm64": "14.2.7", + "@next/swc-darwin-x64": "14.2.7", + "@next/swc-linux-arm64-gnu": "14.2.7", + "@next/swc-linux-arm64-musl": "14.2.7", + "@next/swc-linux-x64-gnu": "14.2.7", + "@next/swc-linux-x64-musl": "14.2.7", + "@next/swc-win32-arm64-msvc": "14.2.7", + "@next/swc-win32-ia32-msvc": "14.2.7", + "@next/swc-win32-x64-msvc": "14.2.7" }, "peerDependencies": { "@opentelemetry/api": "^1.1.0", diff --git a/package.json b/package.json index fb75634..f986a78 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "docs.danbot.dev", - "version": "1.0.1", + "version": "2.0.0", "description": "", "main": "next.config.js", "scripts": { @@ -17,35 +17,35 @@ "author": "DanBot-Devs", "license": "MIT", "dependencies": { - "@carbon/icons-react": "^11.17.0", + "@carbon/icons-react": "^11.47.1", "@danbot-hosting/ts-config": "^1.0.0", - "@emotion/react": "^11.10.6", - "@emotion/server": "^11.10.0", + "@emotion/react": "^11.13.3", + "@emotion/server": "^11.11.0", "@mantine/core": "^6.0.22", "@mantine/hooks": "^6.0.22", "@mantine/next": "^6.0.22", "@mantine/notifications": "^6.0.22", "@mantine/nprogress": "^6.0.22", "@mantine/spotlight": "^6.0.22", - "@mdx-js/loader": "^3.0.0", - "@mdx-js/react": "^3.0.0", - "@next/mdx": "^14.0.0", - "@skyra/discord-components-react": "^4.0.0-alpha.26", - "@tabler/icons": "3.12.0", - "cookies-next": "^4.0.0", + "@mdx-js/loader": "^3.0.1", + "@mdx-js/react": "^3.0.1", + "@next/mdx": "^14.2.7", + "@skyra/discord-components-react": "^4.0.0-alpha.33", + "@tabler/icons": "3.14.0", + "cookies-next": "^4.2.1", "cvet": "^4.0.0", - "next": "14.2.6", + "next": "14.2.7", "prettier": "^3.3.3", - "react": "^18.2.0", - "react-dom": "^18.2.0", + "react": "^18.3.1", + "react-dom": "^18.3.1", "remark-gfm": "^4.0.0", - "sharp": "^0.33.0" + "sharp": "^0.33.5" }, "devDependencies": { - "@ikota/mantine": "^0.9.9", - "@types/node": "^22.0.0", - "@types/react": "^18.0.33", - "@types/react-dom": "^18.0.11", + "@ikota/mantine": "^0.9.10", + "@types/node": "^22.5.1", + "@types/react": "^18.3.4", + "@types/react-dom": "^18.3.0", "ikota": "^1.0.1", "typescript": "5.5.4" }, diff --git a/pages/_app.tsx b/pages/_app.tsx index 112d643..76c35f1 100644 --- a/pages/_app.tsx +++ b/pages/_app.tsx @@ -1,7 +1,7 @@ import { PanelProvider } from "@component/layout"; import type { NextPage } from "next"; -import App, { AppContext, AppInitialProps, AppProps } from "next/app"; +import App, { AppContext, AppInitialProps } from "next/app"; import { ReactElement } from "react"; import { ColorScheme } from "@mantine/core"; import { getCookie } from "cookies-next"; diff --git a/pages/_document.tsx b/pages/_document.tsx index 246e964..47e0845 100644 --- a/pages/_document.tsx +++ b/pages/_document.tsx @@ -2,7 +2,6 @@ import Document, { Html, Head, Main, NextScript } from "next/document"; import { createGetInitialProps } from "@mantine/next"; import type { ReactElement } from "react"; -import Script from "next/script"; const getInitialProps = createGetInitialProps(); @@ -42,7 +41,6 @@ export default class _Document extends Document {
-