commit 212d3a25a515b9c61de1e4737bf925ebaf0a1783 Author: moonleay Date: Wed Oct 18 17:58:15 2023 +0200 big bang v2? diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..35be111 --- /dev/null +++ b/.gitignore @@ -0,0 +1,43 @@ +# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. + +# dependencies +/node_modules +/.pnp +.pnp.js + +# testing +/coverage + +# next.js +/.next/ +/out/ + +# production +/build + +# misc +.DS_Store +*.pem + +# debug +npm-debug.log* +yarn-debug.log* +yarn-error.log* + +# local env files +.env*.local + +# vercel +.vercel + +# typescript +*.tsbuildinfo +next-env.d.ts +/.idea/inspectionProfiles/Project_Default.xml +/.idea/.gitignore +/.idea/discord.xml +/.idea/GitlabLint.xml +/.idea/intellij-javadocs-4.0.1.xml +/.idea/misc.xml +/.idea/modules.xml +/.idea/vcs.xml diff --git a/README.md b/README.md new file mode 100644 index 0000000..f4da3c4 --- /dev/null +++ b/README.md @@ -0,0 +1,34 @@ +This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app). + +## Getting Started + +First, run the development server: + +```bash +npm run dev +# or +yarn dev +# or +pnpm dev +``` + +Open [http://localhost:3000](http://localhost:3000) with your browser to see the result. + +You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file. + +This project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font. + +## Learn More + +To learn more about Next.js, take a look at the following resources: + +- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API. +- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial. + +You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome! + +## Deploy on Vercel + +The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js. + +Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details. diff --git a/app/about/page.module.css b/app/about/page.module.css new file mode 100644 index 0000000..e69de29 diff --git a/app/about/page.tsx b/app/about/page.tsx new file mode 100644 index 0000000..dc7ba6a --- /dev/null +++ b/app/about/page.tsx @@ -0,0 +1,33 @@ +import styles from "./page.module.css" +import {Footer, NavBar} from "@/app/util/wrapping_objects"; + +export default function About() { + return ( + <> +
+

Why does this bot exist?

+

We had a person in our team, who sent these planning messages and I thought that this should be automated. Some time later the first version of li'l Judd was born.

+
+
+

What now?

+

Today the bot has more features and keeps getting more of them! It is designed to actually improve the Splatoon experience and not be the 10000th moderation and general utility bot with the same features as all bots.

+
+
+

Who is behind this?

+

The bot is currently being developed by moonleay (hey thats me!) with the occasional oneliner from his friends!

+
+
+

Where is my data stored?

+

Your data is stored in my basement on my server in Germany. And this will stay that way until I move.

+
+
+

So whats in the future?

+

I plan on adding features, which are aimed to improve your and your teams competitive experience! I probably should set up a todo list in the future, but for now you can see my ideas in the README of the git project.

+
+
+

Hey, there is this realy cool idea I have! Can you add it?

+

Just message me! I can't promise anything, but I am always open to new ideas and improvements! You can find ways to contact me here.

+
+ + ) +} diff --git a/app/acknowledgements/page.module.css b/app/acknowledgements/page.module.css new file mode 100644 index 0000000..e69de29 diff --git a/app/acknowledgements/page.tsx b/app/acknowledgements/page.tsx new file mode 100644 index 0000000..c0bf7ab --- /dev/null +++ b/app/acknowledgements/page.tsx @@ -0,0 +1,117 @@ +import styles from "./page.module.css" +import {Footer, NavBar} from "@/app/util/wrapping_objects"; + +export default function About() { + return ( + <> +

Acknowledgements

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

tool

+
+

license

+
+

page

+
+

Kotlin

+
+ Apache license 2.0 + + website +
+

Kord

+
+ MIT license + + website +
+

Kord Extensions

+
+ Mozilla Public License 2.0 + + website +
+

PostgreSQL

+
+ PostgreSQL license + + website +
+

kotlinx-coroutines-core

+
+ Apache license 2.0 + + repo +
+

slf4j

+
+ MIT license + + website +
+

Exposed

+
+ Apache license 2.0 + + repo +
+

Krontab

+
+ Apache license 2.0 + + repo +
+
+ + ) +} diff --git a/app/favicon.ico b/app/favicon.ico new file mode 100644 index 0000000..613e1fb Binary files /dev/null and b/app/favicon.ico differ diff --git a/app/features/page.module.css b/app/features/page.module.css new file mode 100644 index 0000000..e69de29 diff --git a/app/features/page.tsx b/app/features/page.tsx new file mode 100644 index 0000000..6d028c2 --- /dev/null +++ b/app/features/page.tsx @@ -0,0 +1,63 @@ +//"use client" +import styles from "./page.module.css" +import {Footer, NavBar} from "@/app/util/wrapping_objects"; +import React from 'react'; + +interface SectionProps { + imgUrl: string; + imgAlt: string; + title: string; + description: string; + note: string; +} + +export default function Features() { + return ( + <> +

Features

+ + + + + + + ) +} + +export function ImageSection(props: SectionProps) { + const { imgUrl, imgAlt, title, description , note} = props; + return( +
+

{title}

+ {imgAlt}/ +

{description}

+

{note}

+
+ ) +} diff --git a/app/globals.css b/app/globals.css new file mode 100644 index 0000000..3e60340 --- /dev/null +++ b/app/globals.css @@ -0,0 +1,33 @@ +@tailwind base; +@tailwind components; +@tailwind utilities; + +@font-face { + font-family: 'Splatoon'; + font-style: normal; + font-weight: 400; + src: url('/assets/fonts/Splatoon2-common.woff2') format('woff2'), + url('/assets/fonts/Splatoon2-common.woff') format('woff'); +} + +:root { + --foreground-rgb: 255, 255, 255; + --background-start-rgb: 0, 0, 0; + --background-end-rgb: 0, 0, 0; + font-family: "Splatoon", sans-serif; +} + +body { + color: rgb(var(--foreground-rgb)); + background: linear-gradient( + to bottom, + transparent, + rgb(var(--background-end-rgb)) + ) + rgb(var(--background-start-rgb)); +} + +body a,p,h1,h2,h3,h4,h5,h6,span,li,ul { + font-family: "Splatoon", sans-serif; +} + diff --git a/app/how-do-i/page.module.css b/app/how-do-i/page.module.css new file mode 100644 index 0000000..e69de29 diff --git a/app/how-do-i/page.tsx b/app/how-do-i/page.tsx new file mode 100644 index 0000000..251fba5 --- /dev/null +++ b/app/how-do-i/page.tsx @@ -0,0 +1,26 @@ +import styles from "./page.module.css"; +import {Footer, NavBar} from "@/app/util/wrapping_objects"; + +export default function Stack() { + return ( + <> +

How do I...?

+
+

.. enable / disable certain features?

+

Features can be enabled and disables using the /feature command.
Example:

+

"/feature feature:Time Planning Feature set:Enable channel:#ich-kann-heute"
will enable the Time Planning Feature in the "ich-kann-heute" channel.

+ {"A +
+
+

.. create a match?

+

You can create a match time using the /match command.
Example:

+

"/match match:Ladder Match timestamp:24.12.2069 04:20 opponent:Forbidden"
will create a match on the 24th of December 2069 at 4am in the morning.
Keep in mind that it is important to use the right time format. (dd.MM.yyyy HH:mm)

+ {"A +
+
+

Is something missing here? Please contact me!

+
+ + ) +} + diff --git a/app/imprint/page.module.css b/app/imprint/page.module.css new file mode 100644 index 0000000..e69de29 diff --git a/app/imprint/page.tsx b/app/imprint/page.tsx new file mode 100644 index 0000000..e8396d9 --- /dev/null +++ b/app/imprint/page.tsx @@ -0,0 +1,22 @@ +import styles from "./page.module.css" +import {Footer, NavBar} from "@/app/util/wrapping_objects"; + +export default function Imprint() { + return ( + <> +
+

Imprint

+

In accordance with the applicable legal regulations, we would like to point out that this website is not subject to the imprint obligation. This notice is for clarification and transparent information for our visitors. +
+
+ According to § 5 TMG (Telemedia Act), certain providers of telemedia in Germany are obliged to provide an imprint with certain information. This obligation applies in particular to commercial websites or those that are used for business purposes. +
+
+ However, since this website has no business or commercial character and only provides non-commercial, informative or private content, it is not subject to the imprint obligation according to § 5 TMG. +
+
+ Nevertheless, we strive to keep all information on this website correct and up-to-date to the best of our knowledge and belief. However, if you have any questions or concerns, please feel free to contact us using the contact options provided.

+
+ + ) +} diff --git a/app/layout.tsx b/app/layout.tsx new file mode 100644 index 0000000..68c467c --- /dev/null +++ b/app/layout.tsx @@ -0,0 +1,28 @@ +import './globals.css' +import type { Metadata } from 'next' +import { Inter } from 'next/font/google' +import React from "react"; +import {Footer, NavBar} from "@/app/util/wrapping_objects"; + +const inter = Inter({ subsets: ['latin'] }) + +export const metadata: Metadata = { + title: 'Lil Judd', + description: 'The Discord bot with unique features.', +} + +export default function RootLayout({ + children, +}: { + children: React.ReactNode +}) { + return ( + + + + {children} +