Skip to content

Commit

Permalink
Merge pull request #47 from DanBot-Hosting-Custom/discord-components-…
Browse files Browse the repository at this point in the history
…patch

feat: Adding Discord components to all commands
  • Loading branch information
Kyro3400 authored Sep 1, 2024
2 parents 3e65e20 + 804edcc commit 847ae31
Show file tree
Hide file tree
Showing 44 changed files with 4,533 additions and 6,087 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion components/footer/styles.tsx
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion components/search/component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export const Search: FunctionComponent<InputProps> = (props): ReactElement => {
<Input
icon={<CarbonSearch />}
rightSection={<Kbd sx={{ userSelect: "none" }}>/</Kbd>}
placeholder="Search"
//placeholder="Search"
component="button"
onClick={spotlight.open}
pointer
Expand Down
18 changes: 13 additions & 5 deletions config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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" },
],
Expand All @@ -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" },
Expand Down
156 changes: 71 additions & 85 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 847ae31

Please sign in to comment.