diff --git a/README.md b/README.md index 195b5de..8c3da24 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,8 @@ # DBH Docs This is the Offical DanBot Hosting Documantaion website, this was coded by a dbh member and is now continued by DBH Team -Website: https://docs.danbot.dev +Main Website: https://docs.danbot.host +Dev Website: https://docs.danbot.dev ## Maintainers - **Jon** diff --git a/TODO.md b/TODO.md new file mode 100644 index 0000000..5ec43a2 --- /dev/null +++ b/TODO.md @@ -0,0 +1,8 @@ +# Docs ToDo List +(Ik its sad that we need one but its truly needed) + +- [ ] Make sure all docs pages are using discord components +- [ ] Update all docs pages (Better then they were) +- [ ] Make all info clearer (Try and make everything not confusing, bc dbh members get confused too fast) + +### Will continue to add more when it comes up diff --git a/components/layout/config.tsx b/components/layout/config.tsx index 9e286b9..bae7a13 100644 --- a/components/layout/config.tsx +++ b/components/layout/config.tsx @@ -17,7 +17,7 @@ export const colors: CustomColors = { export const components = { Card: { defaultProps: (theme: MantineTheme) => ({ - withBorder: theme.colorScheme === "light", + withBorder: theme.colorScheme === "dark", }), }, Anchor: { @@ -26,7 +26,7 @@ export const components = { backgroundColor: theme.colorScheme === "dark" ? theme.colors.dark[0] : theme.black, color: - theme.colorScheme === "dark" ? theme.colors.dark[7] : theme.white, + theme.colorScheme === "light" ? theme.colors.dark[7] : theme.white, paddingLeft: `calc(${theme.spacing.xs} * .5)`, paddingRight: `calc(${theme.spacing.xs} * .5)`, borderRadius: theme.radius.xs, diff --git a/package.json b/package.json index 8f31873..170c5eb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { - "name": "docs.danbot.dev", - "version": "2.0.0", + "name": "docs.danbot.host", + "version": "2.0.1", "description": "", "main": "next.config.js", "scripts": { @@ -11,6 +11,7 @@ "typecheck": "tsc --noEmit", "export": "next build && next export", "lint": "next lint", + "prepare": "panda codegen", "prettier:check": "prettier --check \"**/*.{ts,tsx,mdx}\"", "prettier:write": "prettier --write \"**/*.{ts,tsx,mdx}\"" }, @@ -19,6 +20,7 @@ "dependencies": { "@carbon/icons-react": "^11.47.1", "@danbot-hosting/ts-config": "^1.0.0", + "@danbot-hosting/panda-preset": "^1.1.1", "@emotion/react": "^11.13.3", "@emotion/server": "^11.11.0", "@mantine/core": "^6.0.22", @@ -35,6 +37,10 @@ "cookies-next": "^4.2.1", "cvet": "^4.0.0", "next": "14.2.13", + "@pandacss/dev": "^0.46.1", + "postcss": "^8.4.31", + "postcss-preset-mantine": "^1.17.0", + "postcss-simple-vars": "^7.0.1", "prettier": "^3.3.3", "react": "^18.3.1", "react-dom": "^18.3.1", diff --git a/pages/introduction.mdx b/pages/introduction.mdx index 959e33e..99b1420 100644 --- a/pages/introduction.mdx +++ b/pages/introduction.mdx @@ -43,9 +43,7 @@ This project was originally made by a bunch of DBH members to let newbies know e ### Credit -Head Maintainer: [Jonfirexbox](https://github.com/kyro3400) - -Maintainer: [DIBSTER](https://github.com/DEV-DIBSTER) & [FC](https://github.com/FC5570) +Maintainers: [Jonfirexbox](https://github.com/kyro3400) & [DIBSTER](https://github.com/DEV-DIBSTER) Original Creator: [Domin](https://github.com/domin-mnd) diff --git a/pages/server/development/aio.mdx b/pages/server/development/aio.mdx index a84ce99..e6fe0d2 100644 --- a/pages/server/development/aio.mdx +++ b/pages/server/development/aio.mdx @@ -36,17 +36,17 @@ For a free server: > - Created - + Created + {" "} 126{" "} - + {" "} Untitled Server (settings -> server name){" "} - aio - + aio + {" "} Please do not host game servers on java or AIO servers. If you need a gameserver, You need to use Dono-02 or Dono-04. Slots are 1$ for 2 @@ -77,17 +77,17 @@ For a donator server: > - Created - + Created + {" "} 126{" "} - + {" "} Untitled Server (settings -> server name){" "} - aio - + aio + {" "} Please do not host game servers on java or AIO servers. If you need a gameserver, You need to use Dono-02 or Dono-04. Slots are 1$ for 2 diff --git a/pages/server/development/nodejs.mdx b/pages/server/development/nodejs.mdx index 977ec43..bc6dbd8 100644 --- a/pages/server/development/nodejs.mdx +++ b/pages/server/development/nodejs.mdx @@ -45,16 +45,16 @@ For a free server: > - Created - + Created + {" "} 126{" "} - + {" "} Untitled Server (settings -> server name){" "} - nodejs + nodejs @@ -80,16 +80,16 @@ For a donator server: > - Created - + Created + {" "} 126{" "} - + {" "} Untitled Server (settings -> server name){" "} - nodejs + nodejs diff --git a/pages/server/development/rdb.mdx b/pages/server/development/rdb.mdx index 56e6f00..694673a 100644 --- a/pages/server/development/rdb.mdx +++ b/pages/server/development/rdb.mdx @@ -34,16 +34,16 @@ For a free server: > - Created - + Created + {" "} 126{" "} - + {" "} Untitled Server (settings -> server name){" "} - redbot + redbot @@ -69,16 +69,16 @@ For a donator server: > - Created - + Created + {" "} 126{" "} - + {" "} Untitled Server (settings -> server name){" "} - redbot + redbot diff --git a/pages/staff-list.mdx b/pages/staff-list.mdx deleted file mode 100644 index 5357731..0000000 --- a/pages/staff-list.mdx +++ /dev/null @@ -1,58 +0,0 @@ -import { - DiscordMessage, - DiscordMessages, - DiscordAttachments, - DiscordInvite, -} from "@skyra/discord-components-react"; - - - Going to hide for now as this will take to much to update, once we get everything going and will have time to update can add back again! - - -

DBH Staff Team

-
This is in position order + in who role was given
- - - - Come see all of us staff members at: - > discord.gg/dbh - - - - - - -
-| Name | Position | -| :--- | :--- | -| `dan_420` | Founder/Owner | -| `mikeyb3p0` | Co-Owner | -| `devdibster` | Staff Manager + System Adminstrator | -| `williamharrison` | Bot Administrator | -| `.avixity` | Panel Administrator | -| `fredd1e_` | Panel Administrator | -| `kwitsies` | Administrator | -| `jonfirexbox` | Administrator + Docs Manager | -| `caliwyr` | Administrator | -| `fc5570` | Lead Developer | -| `im.artiom` | Backend Developer | -| `sliden` | Backend Developer | -| `itswizq` | Frontend Developer | -| `r.qlx` | Designer | -| `itsasheer` | Helper | -| `ninsacc` | Helper | -| `.akshtt.` | Helper | -| `_audir8` | Helper | -
diff --git a/panda.config.js b/panda.config.js new file mode 100644 index 0000000..f005e64 --- /dev/null +++ b/panda.config.js @@ -0,0 +1,9 @@ +import { defineConfig } from '@pandacss/dev' + +export default defineConfig({ + preflight: true, + include: ['./src/**/*.{ts,tsx,js,jsx}', './pages/**/*.{ts,tsx,js,jsx}'], + exclude: [], + outdir: 'styled-system', + presets: ['@danbot-hosting/panda-preset'] +}) diff --git a/postcss.config.js b/postcss.config.js new file mode 100644 index 0000000..ea93be7 --- /dev/null +++ b/postcss.config.js @@ -0,0 +1,15 @@ +module.exports = { + plugins: { + "postcss-preset-mantine": {}, + "postcss-simple-vars": { + variables: { + "mantine-breakpoint-xs": "36em", + "mantine-breakpoint-sm": "48em", + "mantine-breakpoint-md": "62em", + "mantine-breakpoint-lg": "75em", + "mantine-breakpoint-xl": "88em", + }, + }, + "@pandacss/dev/postcss": {}, + }, +};