Skip to content

Commit

Permalink
Merge pull request #87 from DanBot-Hosting/development
Browse files Browse the repository at this point in the history
v2.0.1
  • Loading branch information
DEV-DIBSTER authored Sep 30, 2024
2 parents 73aae06 + 6372254 commit 18df30f
Show file tree
Hide file tree
Showing 11 changed files with 71 additions and 92 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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**
Expand Down
8 changes: 8 additions & 0 deletions TODO.md
Original file line number Diff line number Diff line change
@@ -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
4 changes: 2 additions & 2 deletions components/layout/config.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const colors: CustomColors = {
export const components = {
Card: {
defaultProps: (theme: MantineTheme) => ({
withBorder: theme.colorScheme === "light",
withBorder: theme.colorScheme === "dark",
}),
},
Anchor: {
Expand All @@ -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,
Expand Down
10 changes: 8 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand All @@ -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}\""
},
Expand All @@ -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",
Expand All @@ -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",
Expand Down
4 changes: 1 addition & 3 deletions pages/introduction.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
20 changes: 10 additions & 10 deletions pages/server/development/aio.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -36,17 +36,17 @@ For a free server:
>
<DiscordEmbed slot="embeds" color="#00FF00">
<DiscordEmbedFields slot="fields">
<DiscordEmbedField fieldTitle="__Status__"> Created </DiscordEmbedField>
<DiscordEmbedField fieldTitle="__Created for user ID__">
<DiscordEmbedField fieldTitle="Status"> Created </DiscordEmbedField>
<DiscordEmbedField fieldTitle="Created for user ID">
{" "}
126{" "}
</DiscordEmbedField>
<DiscordEmbedField fieldTitle="__Server name__">
<DiscordEmbedField fieldTitle="Server name">
{" "}
Untitled Server (settings -> server name){" "}
</DiscordEmbedField>
<DiscordEmbedField fieldTitle="__Type__"> aio </DiscordEmbedField>
<DiscordEmbedField fieldTitle="__WARNING__">
<DiscordEmbedField fieldTitle="Type"> aio </DiscordEmbedField>
<DiscordEmbedField fieldTitle="WARNING">
{" "}
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
Expand Down Expand Up @@ -77,17 +77,17 @@ For a donator server:
>
<DiscordEmbed slot="embeds" color="#00FF00">
<DiscordEmbedFields slot="fields">
<DiscordEmbedField fieldTitle="__Status__"> Created </DiscordEmbedField>
<DiscordEmbedField fieldTitle="__Created for user ID__">
<DiscordEmbedField fieldTitle="Status"> Created </DiscordEmbedField>
<DiscordEmbedField fieldTitle="Created for user ID">
{" "}
126{" "}
</DiscordEmbedField>
<DiscordEmbedField fieldTitle="__Server name__">
<DiscordEmbedField fieldTitle="Server name">
{" "}
Untitled Server (settings -> server name){" "}
</DiscordEmbedField>
<DiscordEmbedField fieldTitle="__Type__"> aio </DiscordEmbedField>
<DiscordEmbedField fieldTitle="__WARNING__">
<DiscordEmbedField fieldTitle="Type"> aio </DiscordEmbedField>
<DiscordEmbedField fieldTitle="WARNING">
{" "}
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
Expand Down
16 changes: 8 additions & 8 deletions pages/server/development/nodejs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -45,16 +45,16 @@ For a free server:
>
<DiscordEmbed slot="embeds" color="#00FF00">
<DiscordEmbedFields slot="fields">
<DiscordEmbedField fieldTitle="__Status__"> Created </DiscordEmbedField>
<DiscordEmbedField fieldTitle="__Created for user ID__">
<DiscordEmbedField fieldTitle="Status"> Created </DiscordEmbedField>
<DiscordEmbedField fieldTitle="Created for user ID">
{" "}
126{" "}
</DiscordEmbedField>
<DiscordEmbedField fieldTitle="__Server name__">
<DiscordEmbedField fieldTitle="Server name">
{" "}
Untitled Server (settings -> server name){" "}
</DiscordEmbedField>
<DiscordEmbedField fieldTitle="__Type__"> nodejs </DiscordEmbedField>
<DiscordEmbedField fieldTitle="Type"> nodejs </DiscordEmbedField>
</DiscordEmbedFields>
</DiscordEmbed>
</DiscordMessage>
Expand All @@ -80,16 +80,16 @@ For a donator server:
>
<DiscordEmbed slot="embeds" color="#00FF00">
<DiscordEmbedFields slot="fields">
<DiscordEmbedField fieldTitle="__Status__"> Created </DiscordEmbedField>
<DiscordEmbedField fieldTitle="__Created for user ID__">
<DiscordEmbedField fieldTitle="Status"> Created </DiscordEmbedField>
<DiscordEmbedField fieldTitle="Created for user ID">
{" "}
126{" "}
</DiscordEmbedField>
<DiscordEmbedField fieldTitle="__Server name__">
<DiscordEmbedField fieldTitle="Server name">
{" "}
Untitled Server (settings -> server name){" "}
</DiscordEmbedField>
<DiscordEmbedField fieldTitle="__Type__"> nodejs </DiscordEmbedField>
<DiscordEmbedField fieldTitle="Type"> nodejs </DiscordEmbedField>
</DiscordEmbedFields>
</DiscordEmbed>
</DiscordMessage>
Expand Down
16 changes: 8 additions & 8 deletions pages/server/development/rdb.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,16 @@ For a free server:
>
<DiscordEmbed slot="embeds" color="#00FF00">
<DiscordEmbedFields slot="fields">
<DiscordEmbedField fieldTitle="__Status__"> Created </DiscordEmbedField>
<DiscordEmbedField fieldTitle="__Created for user ID__">
<DiscordEmbedField fieldTitle="Status"> Created </DiscordEmbedField>
<DiscordEmbedField fieldTitle="Created for user ID">
{" "}
126{" "}
</DiscordEmbedField>
<DiscordEmbedField fieldTitle="__Server name__">
<DiscordEmbedField fieldTitle="Server name">
{" "}
Untitled Server (settings -> server name){" "}
</DiscordEmbedField>
<DiscordEmbedField fieldTitle="__Type__"> redbot </DiscordEmbedField>
<DiscordEmbedField fieldTitle="Type"> redbot </DiscordEmbedField>
</DiscordEmbedFields>
</DiscordEmbed>
</DiscordMessage>
Expand All @@ -69,16 +69,16 @@ For a donator server:
>
<DiscordEmbed slot="embeds" color="#00FF00">
<DiscordEmbedFields slot="fields">
<DiscordEmbedField fieldTitle="__Status__"> Created </DiscordEmbedField>
<DiscordEmbedField fieldTitle="__Created for user ID__">
<DiscordEmbedField fieldTitle="Status"> Created </DiscordEmbedField>
<DiscordEmbedField fieldTitle="Created for user ID">
{" "}
126{" "}
</DiscordEmbedField>
<DiscordEmbedField fieldTitle="__Server name__">
<DiscordEmbedField fieldTitle="Server name">
{" "}
Untitled Server (settings -> server name){" "}
</DiscordEmbedField>
<DiscordEmbedField fieldTitle="__Type__"> redbot </DiscordEmbedField>
<DiscordEmbedField fieldTitle="Type"> redbot </DiscordEmbedField>
</DiscordEmbedFields>
</DiscordEmbed>
</DiscordMessage>
Expand Down
58 changes: 0 additions & 58 deletions pages/staff-list.mdx

This file was deleted.

9 changes: 9 additions & 0 deletions panda.config.js
Original file line number Diff line number Diff line change
@@ -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']
})
15 changes: 15 additions & 0 deletions postcss.config.js
Original file line number Diff line number Diff line change
@@ -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": {},
},
};

0 comments on commit 18df30f

Please sign in to comment.