chore: squashed some commits, which are not for public viewing

fix: fixed ImageSection being broken on mobile
feat: added proper imprint
feat: added name to privacy-policy
feat: bump version
fix: fixed footer not rendering correct on some mobile devices
chore: bump version
feat: imported html from Config repo
Updated packages
Migration from astro to solid-start
Add database and auth
Add discord rest testing
Database schema rework
API meeting progress
Fix styles
This commit is contained in:
Aron Malcher 2024-01-05 01:29:38 +01:00
parent eb3acd206c
commit 2e529cede8
Signed by: aronmal
GPG key ID: 816B7707426FC612
50 changed files with 9903 additions and 5045 deletions

22
src/routes/[...404].tsx Normal file
View file

@ -0,0 +1,22 @@
import { Title } from "@solidjs/meta";
import { HttpStatusCode } from "@solidjs/start";
import "../styles/pages/index.scss";
export default function NotFound() {
return (
<>
<Title>Not Found</Title>
<HttpStatusCode code={404} />
<section class="section">
<h1>404 - Whoops, ink spill!</h1>
<h5>li'l Judd couldn't find this turf.</h5>
<div>
<p class="p1">
Head back to <a href="/">base</a> and splat into action from there!
🦑🕹
</p>
</div>
</section>
</>
);
}

View file

@ -1,67 +1,82 @@
---
import Layout from "@layouts/Layout.astro";
import "../styles/pages/about.scss";
---
<Layout>
<h1>About</h1>
<div class="aboutdiv">
<section>
<h2>Why does this bot exist?</h2>
<p>
We had a person in our team, who sent <a
href="https://static.moonleay.net/img/lilJuddWeb/about/oldplanningmsg.png"
target="_blank"
>these planning messages</a
> and I thought that this should be automated. Some time later the first
version of li'l Judd was born. 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.
</p>
</section>
<section>
<h2>Who is behind this?</h2>
<p>
The bot is currently being developed by <a
href="/contact"
target="_self">moonleay</a
> (hey that&apos;s me!) with occasional help from his friends!
</p>
</section>
<section>
<h2>How can I trust you?</h2>
<p>
The bot only requests permissions, which are needed for it to work. Additionally,
if you want to check how the bot works under the hood, you can
<a href="https://git.moonleay.net/DiscordBots/lilJudd">read the code</a>
and if you still don't trust me, you can always host the bot yourself!
A guide on how to do that can be found in the README of the git project.
</p>
</section>
<section>
<h2>Where is my data stored?</h2>
<p>
Your data is stored on a VPS from Contabo in Germany. The bot used to be hosted on a server in my basement,
but I moved it to a VPS, because my internet connection was not stable enough.
</p>
</section>
<section>
<h2>So whats in the future?</h2>
<p>
I plan on adding features, which are aimed to improve your and your teams
competitive experience! You can check out my public todo list <a href="https://todo.moonleay.net/share/OmisuzgPDdsrCAXKjGrTfYzWwqNDNclOMGJWeMsi/auth?view=kanban" target="_blank">here</a>.
</p>
</section>
<section>
<h2>Hey, there is this really cool idea I have! Can you add it?</h2>
<p>
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 <a
href="/contact"
target="_self">here</a
>.
</p>
</section>
</div>
</Layout>
function about() {
return (
<>
<div class="aboutdiv">
<h1>About</h1>
<section>
<h2>Why does this bot exist?</h2>
<p>
We had a person in our team, who sent{" "}
<a
href="https://static.moonleay.net/img/lilJuddWeb/about/oldplanningmsg.png"
target="_blank"
>
these planning messages
</a>{" "}
and I thought that this should be automated. Some time later the
first version of li'l Judd was born. 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.
</p>
</section>
<section>
<h2>Who is behind this?</h2>
<p>
The bot is currently being developed by{" "}
<a href="/contact">moonleay</a> (hey that&apos;s me!) with
occasional help from his friends!
</p>
</section>
<section>
<h2>How can I trust you?</h2>
<p>
The bot only requests permissions, which are needed for it to work.
Additionally, if you want to check how the bot works under the hood,
you can
<a href="https://git.moonleay.net/DiscordBots/lilJudd">
read the code
</a>
and if you still don't trust me, you can always host the bot
yourself! A guide on how to do that can be found in the README of
the git project.
</p>
</section>
<section>
<h2>Where is my data stored?</h2>
<p>
Your data is stored on a VPS from Contabo in Germany. The bot used
to be hosted on a server in my basement, but I moved it to a VPS,
because my internet connection was not stable enough.
</p>
</section>
<section>
<h2>So whats in the future?</h2>
<p>
I plan on adding features, which are aimed to improve your and your
teams competitive experience! You can check out my public todo list{" "}
<a
href="https://todo.moonleay.net/share/OmisuzgPDdsrCAXKjGrTfYzWwqNDNclOMGJWeMsi/auth?view=kanban"
target="_blank"
>
here
</a>
.
</p>
</section>
<section>
<h2>Hey, there is this really cool idea I have! Can you add it?</h2>
<p>
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{" "}
<a href="/contact">here</a>.
</p>
</section>
</div>
</>
);
}
export default about;

View file

@ -1,166 +1,200 @@
---
import Layout from "@layouts/Layout.astro";
import "../styles/pages/acknowledgements.scss";
---
<Layout>
<div class="wrapper">
<h1>Acknowledgements</h1>
<section>
<table>
<thead>
<tr>
<th>
<p>tool</p>
</th>
<th>
<p>license</p>
</th>
<th>
<p>page</p>
</th>
</tr>
</thead>
<tbody>
<tr>
<td>
<p>Kotlin</p>
</td>
<td>
<a
href="https://kotlinlang.org/docs/faq.html#is-kotlin-free"
target="_blank">Apache license 2.0</a
>
</td>
<td>
<a href="https://kotlinlang.org/" target="_blank">website</a>
</td>
</tr>
<tr>
<td>
<p>Kord</p>
</td>
<td>
<a
href="https://github.com/kordlib/kord/blob/main/LICENSE"
target="_blank">MIT license</a
>
</td>
<td>
<a href="https://kord.dev/" target="_blank">website</a>
</td>
</tr>
<tr>
<td>
<p>Kord Extensions</p>
</td>
<td>
<a
href="https://github.com/Kord-Extensions/kord-extensions/blob/root/LICENSE"
target="_blank">Mozilla Public License 2.0</a
>
</td>
<td>
<a href="https://kordex.kotlindiscord.com/" target="_blank"
>website</a
>
</td>
</tr>
<tr>
<td>
<p>PostgreSQL</p>
</td>
<td>
<a href="https://www.postgresql.org/about/licence/" target="_blank"
>PostgreSQL license</a
>
</td>
<td>
<a href="https://www.postgresql.org/" target="_blank">website</a>
</td>
</tr>
<tr>
<td>
<p>kotlinx-coroutines-core</p>
</td>
<td>
<a
href="https://github.com/Kotlin/kotlinx.coroutines/blob/master/LICENSE.txt"
target="_blank">Apache license 2.0</a
>
</td>
<td>
<a
href="https://github.com/Kotlin/kotlinx.coroutines"
target="_blank">repo</a
>
</td>
</tr>
<tr>
<td>
<p>slf4j</p>
</td>
<td>
<a
href="https://github.com/qos-ch/slf4j/blob/master/LICENSE.txt"
target="_blank">MIT license</a
>
</td>
<td>
<a href="https://www.slf4j.org/" target="_blank">website</a>
</td>
</tr>
<tr>
<td>
<p>Exposed</p>
</td>
<td>
<a href="https://github.com/JetBrains/Exposed/blob/main/LICENSE.txt"
>Apache license 2.0</a
>
</td>
<td>
<a href="https://github.com/JetBrains/Exposed" target="_blank"
>repo</a
>
</td>
</tr>
<tr>
<td>
<p>Krontab</p>
</td>
<td>
<a
href="https://github.com/InsanusMokrassar/krontab/blob/master/LICENSE"
target="_blank">Apache license 2.0</a
>
</td>
<td>
<a
href="https://github.com/InsanusMokrassar/krontab"
target="_blank">repo</a
>
</td>
</tr>
<tr>
<td>
<p>Splatoon3.ink</p>
</td>
<td>
<a
href="https://github.com/misenhower/splatoon3.ink/blob/main/license.md"
target="_blank"
>MIT License</a>
</td>
<td>
<a
href="https://splatoon3.ink/"
target="_blank"
>website</a>
</td>
</tr>
</tbody>
</table>
</section>
</div>
</Layout>
function acknowledgements() {
return (
<>
<div class="acknowledgements">
<h1>Acknowledgements</h1>
<section>
<table>
<thead>
<tr>
<th>
<p>tool</p>
</th>
<th>
<p>license</p>
</th>
<th>
<p>page</p>
</th>
</tr>
</thead>
<tbody>
<tr>
<td>
<p>Kotlin</p>
</td>
<td>
<a
href="https://kotlinlang.org/docs/faq.html#is-kotlin-free"
target="_blank"
>
Apache license 2.0
</a>
</td>
<td>
<a href="https://kotlinlang.org/" target="_blank">
website
</a>
</td>
</tr>
<tr>
<td>
<p>Kord</p>
</td>
<td>
<a
href="https://github.com/kordlib/kord/blob/main/LICENSE"
target="_blank"
>
MIT license
</a>
</td>
<td>
<a href="https://kord.dev/" target="_blank">
website
</a>
</td>
</tr>
<tr>
<td>
<p>Kord Extensions</p>
</td>
<td>
<a
href="https://github.com/Kord-Extensions/kord-extensions/blob/root/LICENSE"
target="_blank"
>
Mozilla Public License 2.0
</a>
</td>
<td>
<a href="https://kordex.kotlindiscord.com/" target="_blank">
website
</a>
</td>
</tr>
<tr>
<td>
<p>PostgreSQL</p>
</td>
<td>
<a
href="https://www.postgresql.org/about/licence/"
target="_blank"
>
PostgreSQL license
</a>
</td>
<td>
<a href="https://www.postgresql.org/" target="_blank">
website
</a>
</td>
</tr>
<tr>
<td>
<p>kotlinx-coroutines-core</p>
</td>
<td>
<a
href="https://github.com/Kotlin/kotlinx.coroutines/blob/master/LICENSE.txt"
target="_blank"
>
Apache license 2.0
</a>
</td>
<td>
<a
href="https://github.com/Kotlin/kotlinx.coroutines"
target="_blank"
>
repo
</a>
</td>
</tr>
<tr>
<td>
<p>slf4j</p>
</td>
<td>
<a
href="https://github.com/qos-ch/slf4j/blob/master/LICENSE.txt"
target="_blank"
>
MIT license
</a>
</td>
<td>
<a href="https://www.slf4j.org/" target="_blank">
website
</a>
</td>
</tr>
<tr>
<td>
<p>Exposed</p>
</td>
<td>
<a href="https://github.com/JetBrains/Exposed/blob/main/LICENSE.txt">
Apache license 2.0
</a>
</td>
<td>
<a
href="https://github.com/JetBrains/Exposed"
target="_blank"
>
repo
</a>
</td>
</tr>
<tr>
<td>
<p>Krontab</p>
</td>
<td>
<a
href="https://github.com/InsanusMokrassar/krontab/blob/master/LICENSE"
target="_blank"
>
Apache license 2.0
</a>
</td>
<td>
<a
href="https://github.com/InsanusMokrassar/krontab"
target="_blank"
>
repo
</a>
</td>
</tr>
<tr>
<td>
<p>Splatoon3.ink</p>
</td>
<td>
<a
href="https://github.com/misenhower/splatoon3.ink/blob/main/license.md"
target="_blank"
>
MIT License
</a>
</td>
<td>
<a href="https://splatoon3.ink/" target="_blank">
website
</a>
</td>
</tr>
</tbody>
</table>
</section>
</div>
</>
);
}
export default acknowledgements;

View file

@ -0,0 +1,4 @@
import { SolidAuth } from "@auth/solid-start"
import { authOptions } from "~/server/auth"
export const { GET, POST } = SolidAuth(authOptions)

85
src/routes/config.tsx Normal file
View file

@ -0,0 +1,85 @@
function config() {
return (
<>
<h1>Configure li&apos;l Judd</h1>
<div>
<div>
<img src="" alt="Server pfp" />
<label>
<select>
<option value="">--Please choose a server--</option>
<option value="server id">Server 1</option>
<option value="server id">Server 2</option>
<option value="server id">Server 3</option>
<option value="server id">Server 4</option>
<option value="server id">Server 5</option>
</select>
</label>
</div>
<article>
<h2>Timezone</h2>
<p>Set the timezone for your server.</p>
<label>
<select>
<option value="-11">UTC-11:00</option>
<option value="-10">UTC-10:00</option>
<option value="-9">UTC-09:00</option>
<option value="-8">UTC-08:00</option>
<option value="-7">UTC-07:00</option>
<option value="-6">UTC-06:00</option>
<option value="-5">UTC-05:00</option>
<option value="-4">UTC-04:00</option>
<option value="-3">UTC-03:00</option>
<option value="-2">UTC-02:00</option>
<option value="-1">UTC-01:00</option>
<option value="0">UTC+00:00</option>
<option value="1">UTC+01:00</option>
<option value="2">UTC+02:00</option>
<option value="3">UTC+03:00</option>
<option value="4">UTC+04:00</option>
<option value="5">UTC+05:00</option>
<option value="6">UTC+06:00</option>
<option value="7">UTC+07:00</option>
<option value="8">UTC+08:00</option>
<option value="9">UTC+09:00</option>
<option value="10">UTC+10:00</option>
<option value="11">UTC+11:00</option>
<option value="12">UTC+12:00</option>
</select>
</label>
</article>
<section>
<h2>Features</h2>
<p>Configure the features of the bot</p>
<article>
<h3>Time Planning</h3>
<input type="checkbox" id="timeplanning" />
<p>Make the bot send a planner into a channel</p>
<p>Select </p>
<label>
<select>
<option value="id">Channel 1</option>
<option value="id">Channel 2</option>
<option value="id">Channel 3</option>
<option value="id">Channel 4</option>
</select>
</label>
</article>
<article>
<h3>Planning Roles</h3>
<input type="checkbox" id="planningroles" />
<p>Add roles to the "Time Planning" feature.</p>
<p>
This feature is bound to the "Time Planning" feature. It will be
activated in the same channel.
</p>
</article>
</section>
<button>Apply</button>
</div>
</>
);
}
export default config;

View file

@ -1,24 +1,39 @@
---
import Layout from "@layouts/Layout.astro";
import "../styles/pages/contact.scss";
---
<Layout>
<div class="wrapper">
<h1>Contact</h1>
<section class="contact">
<a href="mailto:contact@moonleay.net" target="_blank">
<img src="https://static.moonleay.net/img/lilJuddWeb/logos/email.svg" alt="Email"/>
contact@moonleay.net
</a>
<a href="https://discord.com/users/372703841151614976" target="_blank">
<img src="https://static.moonleay.net/img/lilJuddWeb/logos/discord.svg" alt="Discord"/>
@moonleay
</a>
<a href="https://discord.gg/HTZRktfH4A" target="_blank">
<img src="https://static.moonleay.net/img/lilJuddWeb/logos/discord.svg" alt="discord"/>
/HTZRktfH4A
</a>
</section>
</div>
</Layout>
function contact() {
return (
<>
<div class="contact">
<h1>Contact</h1>
<section class="contact">
<a href="mailto:contact@moonleay.net" target="_blank">
<img
src="https://static.moonleay.net/img/lilJuddWeb/logos/email.svg"
alt="Email"
/>
contact@moonleay.net
</a>
<a
href="https://discord.com/users/372703841151614976"
target="_blank"
>
<img
src="https://static.moonleay.net/img/lilJuddWeb/logos/discord.svg"
alt="Discord"
/>
@moonleay
</a>
<a href="https://discord.gg/HTZRktfH4A" target="_blank">
<img
src="https://static.moonleay.net/img/lilJuddWeb/logos/discord.svg"
alt="discord"
/>
li'l Judd's home base
</a>
</section>
</div>
</>
);
}
export default contact;

View file

@ -1,49 +1,52 @@
---
import ImageSection from "@components/ImageSection.astro";
import Layout from "@layouts/Layout.astro";
import ImageSection from "~/components/ImageSection";
import "../styles/pages/features.scss";
---
<Layout>
<div class="container">
<h1 class="title">Features</h1>
<div class="gridlayout">
<ImageSection
imgUrl="https://static.moonleay.net/img/lilJuddWeb/features/timeplanner.png"
imgAlt="Screenshot of the time planning feature of li'l Judd"
title="Time Planning and Management"
description="Helps you to see on which days your fellow team mates are available."
note="The bot can send these planning messages every monday at 3AM. Members can click the buttons on each message to communicate, if they have time on that day."
/>
<ImageSection
imgUrl="https://static.moonleay.net/img/lilJuddWeb/features/matchplanner.png"
imgAlt="Screenshot of the match planning feature of li'l Judd"
title="Match Planner"
description="Make sure that you know when your next match is and who will participate."
note="The bot can send these planning messages, when the command /match is used. Members can click the buttons on each message to communicate, if they will participate in the match. Participating members will get a role until the match has started."
/>
<ImageSection
imgUrl="https://static.moonleay.net/img/lilJuddWeb/features/notifs.png"
imgAlt="Screenshot of the notification feature of li'l Judd"
title="Notifications"
description="Make sure that you and your team members vote in the Time Planner."
note="The bot can add roles. The first one gets pinged, when the time planner sends the messages, the other one gets assigned to the available members of the day, so that it is possible to ping all available people."
/>
<ImageSection
imgUrl="https://static.moonleay.net/img/lilJuddWeb/features/rotationstatus.png"
imgAlt="Screenshot of the current x map rotation in li'l Judd's status"
title="Rotation Status"
description="Li'l Judd can show you the current map rotation in his status."
note="The bot cycles through the current map and mode rotation. It updates every few seconds."
/>
<ImageSection
span
imgUrl="https://static.moonleay.net/img/lilJuddWeb/features/unknown.png"
imgAlt="A Question Mark"
title="More to come.."
description="The bot is still in development. More features will be added."
note="If you have a specific feature request, you can contact me on Discord: @moonleay or email: contact at moonleay dot net"
/>
</div>
</div>
</Layout>
function features() {
return (
<>
<div class="features">
<h1 class="title">Features</h1>
<div class="gridlayout">
<ImageSection
imgUrl="https://static.moonleay.net/img/lilJuddWeb/features/timeplanner.png"
imgAlt="Screenshot of the time planning feature of li'l Judd"
title="Time Planning and Management"
description="Helps you to see on which days your fellow team mates are available."
note="The bot can send these planning messages every monday at 3AM. Members can click the buttons on each message to communicate, if they have time on that day."
/>
<ImageSection
imgUrl="https://static.moonleay.net/img/lilJuddWeb/features/matchplanner.png"
imgAlt="Screenshot of the match planning feature of li'l Judd"
title="Match Planner"
description="Make sure that you know when your next match is and who will participate."
note="The bot can send these planning messages, when the command /match is used. Members can click the buttons on each message to communicate, if they will participate in the match. Participating members will get a role until the match has started."
/>
<ImageSection
imgUrl="https://static.moonleay.net/img/lilJuddWeb/features/notifs.png"
imgAlt="Screenshot of the notification feature of li'l Judd"
title="Notifications"
description="Make sure that you and your team members vote in the Time Planner."
note="The bot can add roles. The first one gets pinged, when the time planner sends the messages, the other one gets assigned to the available members of the day, so that it is possible to ping all available people."
/>
<ImageSection
imgUrl="https://static.moonleay.net/img/lilJuddWeb/features/rotationstatus.png"
imgAlt="Screenshot of the current x map rotation in li'l Judd's status"
title="Rotation Status"
description="Li'l Judd can show you the current map rotation in his status."
note="The bot cycles through the current map and mode rotation. It updates every few seconds."
/>
<ImageSection
span
imgUrl="https://static.moonleay.net/img/lilJuddWeb/features/unknown.png"
imgAlt="A Question Mark"
title="More to come.."
description="The bot is still in development. More features will be added."
note="If you have a specific feature request, you can contact me on Discord: @moonleay or email: contact at moonleay dot net"
/>
</div>
</div>
</>
);
}
export default features;

View file

@ -1,40 +1,61 @@
---
import Layout from "@layouts/Layout.astro";
import "../styles/pages/how-do-i.scss";
---
<Layout>
<h1 class="title">How do I...?</h1>
<section class="section">
<h2>.. enable / disable certain features?</h2>
<p>
Features can be enabled and disables using the <code>/feature</code>
command.<br />Example:
</p>
<div class="imgwrapper">
<img class="desktop"
src="https://static.moonleay.net/img/lilJuddWeb/howdoi/featureexample.png"
alt="A screenshot of the example in Discord."/>
<img class="mobile" src="https://static.moonleay.net/img/lilJuddWeb/howdoi/featureexamplemobile.png" alt="A screenshot of the example in Discord."/>
<!--<p><code>/feature feature:Time Planning Feature set:Enable channel:#ich-kann-heute</code></p>-->
</div>
</section>
<section class="section">
<h2>.. create a match?</h2>
<p>
You can create a match time using the <code>/match</code> command.<br
/>Example:
</p>
<div class="imgwrapper">
<img class="desktop"
src="https://static.moonleay.net/img/lilJuddWeb/howdoi/matchexample.png"
alt="A screenshot of the example in Discord."
/>
<img class="mobile" src="https://static.moonleay.net/img/lilJuddWeb/howdoi/matchexamplemobile.png" alt="A screenshot of the example in Discord."/>
<!--<p><code>/match match:Ladder Match timestamp:24.12.2069 04:20 opponent:Forbidden</code></p>-->
</div>
</section>
<section class="footernotesection">
<p>Is something missing here?<br/>Please <a href="/contact" target="_self">contact me</a>!</p>
</section>
</Layout>
function howDoI() {
return (
<>
<h1 class="hdi-title">How do I...?</h1>
<section class="hdi-section">
<h2>.. enable / disable certain features?</h2>
<p>
Features can be enabled and disables using the <code>/feature</code>
command.
<br />
Example:
</p>
<div class="imgwrapper">
<img
class="desktop"
src="https://static.moonleay.net/img/lilJuddWeb/howdoi/featureexample.png"
alt="A screenshot of the example in Discord."
/>
<img
class="mobile"
src="https://static.moonleay.net/img/lilJuddWeb/howdoi/featureexamplemobile.png"
alt="A screenshot of the example in Discord."
/>
{/* <p><code>/feature feature:Time Planning Feature set:Enable channel:#ich-kann-heute</code></p> */}
</div>
</section>
<section class="hdi-section">
<h2>.. create a match?</h2>
<p>
You can create a match time using the <code>/match</code> command.
<br />
Example:
</p>
<div class="imgwrapper">
<img
class="desktop"
src="https://static.moonleay.net/img/lilJuddWeb/howdoi/matchexample.png"
alt="A screenshot of the example in Discord."
/>
<img
class="mobile"
src="https://static.moonleay.net/img/lilJuddWeb/howdoi/matchexamplemobile.png"
alt="A screenshot of the example in Discord."
/>
{/* <p><code>/match match:Ladder Match timestamp:24.12.2069 04:20 opponent:Forbidden</code></p> */}
</div>
</section>
<section class="hdi-footernotesection">
<p>
Is something missing here?
<br />
Please <a href="/contact">contact me</a>!
</p>
</section>
</>
);
}
export default howDoI;

View file

@ -1,29 +1,61 @@
---
import Layout from "@layouts/Layout.astro";
import "../styles/pages/imprint.scss";
---
<Layout>
<section class="wrapper">
<h1>Imprint</h1>
<p>
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.
<br />
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.
<br />
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.
<br />
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
<a href="/contact" target="_self">contact options</a> provided.
</p>
</section>
</Layout>
function imprint() {
return (
<>
<section class="imprint">
<h1>Imprint</h1>
<section>
<a href="/contact">
<h2>Contact me</h2>
</a>
</section>
<section>
<h2>Liability for contents</h2>
<p>
As a service provider, we are responsible for our own content on
these pages in accordance with general legislation pursuant to
Section 7 (1) of the German Telemedia Act (TMG). According to §§ 8
to 10 TMG, however, we are not obligated as a service provider to
monitor transmitted or stored third-party information or to
investigate circumstances that indicate illegal activity.
Obligations to remove or block the use of information under the
general laws remain unaffected. However, liability in this regard is
only possible from the point in time at which a concrete
infringement of the law becomes known. If we become aware of any
such infringements, we will remove the relevant content immediately.
</p>
<h5>
Source:{" "}
<a href="https://www.e-recht24.de/impressum-generator.html">
eRecht24
</a>
</h5>
</section>
<section>
<h2>Liability for links</h2>
<p>
Our offer contains links to external websites of third parties, on
whose contents we have no influence. Therefore, we cannot assume any
liability for these external contents. The respective provider or
operator of the pages is always responsible for the content of the
linked pages. The linked pages were checked for possible legal
violations at the time of linking. Illegal contents were not
recognizable at the time of linking. However, a permanent control of
the contents of the linked pages is not reasonable without concrete
evidence of a violation of the law. If we become aware of any
infringements, we will remove such links immediately.{" "}
</p>
<h5>
Source:{" "}
<a href="https://www.e-recht24.de/impressum-generator.html">
eRecht24
</a>
</h5>
</section>
</section>
</>
);
}
export default imprint;

View file

@ -1,17 +1,20 @@
---
import Layout from "@layouts/Layout.astro";
import '../styles/pages/index.scss';
---
import "../styles/pages/index.scss";
<Layout>
<section class="section">
<h1>li&apos;l Judd</h1>
<h5>The competetive Splatoon Bot</h5>
<div>
<p class="p1">Improve your competitive Splatoon experience!</p>
<p class="p2">
See what li'l Judd can help you with: <a href="/features">here</a>
</p>
</div>
</section>
</Layout>
function index() {
return (
<>
<section class="index">
<h1>li&apos;l Judd</h1>
<h5>The competetive Splatoon Bot</h5>
<div>
<p class="p1">Improve your competitive Splatoon experience!</p>
<p class="p2">
See what li'l Judd can help you with: <a href="/features">here</a>
</p>
</div>
</section>
</>
);
}
export default index;

View file

@ -1,130 +1,180 @@
---
import Layout from "@layouts/Layout.astro";
import "../styles/pages/privacy-policy.scss";
---
<Layout>
<div class="wrapper">
<div>
<h1>Privacy Policy for li&apos;l Judd</h1>
<h4>Last updated: 2023-12-05</h4>
</div>
<section>
<h2>1. Introduction</h2>
<p>Welcome to li&apos;l Judd! This Privacy Policy explains how we collect, use, disclose, and safeguard your personal information when you use our Discord bot service.</p>
</section>
<section>
<h2>2. Data Controller</h2>
<p>The data controller for the processing of your personal data is: Eric L
<br/>
Reachable by email at contact at moonleay dot net (<a href="/contact" target="_self">See contact page.</a>)
</p>
</section>
<section>
<h2>3. Information We Collect</h2>
<h3>3.1 Discord User Data</h3>
<p>
We may collect and process the following (personal) data related to your Discord account & guilds:
</p>
<ul>
<li>
<p>- Discord User ID</p>
</li>
<li>
<p>- Discord username, discriminator and IDs of users</p>
</li>
<li>
<p>- Guild name and ID</p>
</li>
<li>
<p>- Channel names and IDs of channels with active features</p>
</li>
<li>
<p>- Message IDs of the bot messages</p>
</li>
<li>
<p>- Role IDs of created roles</p>
</li>
</ul>
<h3>3.2 Usage Data</h3>
<p>We may collect information on how you interact with our bot, including but not limited to:</p>
<ul>
<li>
<p>- Commands issued</p>
</li>
<li>
<p>- Server and channel information</p>
</li>
<li>
<p>- Timestamps of interactions</p>
</li>
</ul>
</section>
<section>
<h2>4. How we use your Information</h2>
<p>We process your personal data for the following purposes:</p>
<ul>
<li>
<p>- To provide and maintain the bot service.</p>
</li>
<li>
<p>- To improve, customize, and optimize our bot.</p>
</li>
<li>
<p>- To respond to your requests, comments, or inquiries.</p>
</li>
<li>
<p>- To comply with legal obligations.</p>
</li>
</ul>
</section>
<section>
<h2>5. Legal Basis for Processing</h2>
<p>We process your personal data on the following legal bases:</p>
<ul>
<li>
<p>- Consent: You have given your consent for the processing of your personal data for one or more specific purposes.</p>
</li>
<li>
<p>- Performance of a contract: The processing is necessary for the performance of the agreement between you and us.</p>
</li>
</ul>
</section>
<section>
<h2>6. Data Sharing</h2>
<p>We do not sell, trade, or otherwise transfer your personal information to third parties. However, we may share your information with:</p>
<ul>
<li>
<p>- Third-party service providers involved in the operation and maintenance of the bot.</p>
</li>
</ul>
</section>
<section>
<h2>7. Data Security</h2>
<p>We implement reasonable security measures to protect your personal information from unauthorized access, disclosure, alteration, and destruction.</p>
</section>
<section>
<h2>8. Your Rights</h2>
<p>You have the following rights regarding your personal data:</p>
<ul>
<li>
<p>- Right to withdraw consent: You have the right to withdraw your consent at any time. You can do this by contacting us at contact@moonleay.net.</p>
</li>
<li>
<p>- Right to rectification: You can request corrections to inaccurate or incomplete information.</p>
</li>
<li>
<p>- Right to erasure: You can request the deletion of your personal data.</p>
</li>
</ul>
</section>
<section>
<h2>9. Changes to this Privacy Policy</h2>
<p>We may update this Privacy Policy to reflect changes in our practices. The updated version will be posted on https://liljudd.ink/privacy-policy.</p>
</section>
<section>
<h2>10. Contact Information</h2>
<p>If you have any questions or concerns about this Privacy Policy, please contact us at contact@moonleay.net.</p>
</section>
</div>
</Layout>
function privacyPolicy() {
return (
<>
<div class="privacyPolicy">
<div>
<h1>Privacy Policy for li&apos;l Judd</h1>
<h4>Last updated: 2023-12-05</h4>
</div>
<section>
<h2>1. Introduction</h2>
<p>
Welcome to li&apos;l Judd! This Privacy Policy explains how we
collect, use, disclose, and safeguard your personal information when
you use our Discord bot service.
</p>
</section>
<section>
<h2>2. Data Controller</h2>
<p>
The data controller for the processing of your personal data is
moonleay.
<br />
Please note that "moonleay" is primarily used as a username and may
not directly reflect my legal or real-world identity.
<br />
You can reach me <a href="/contact">here</a>.
</p>
</section>
<section>
<h2>3. Information We Collect</h2>
<h3>3.1 Discord User Data</h3>
<p>
We may collect and process the following (personal) data related to
your Discord account & guilds:
</p>
<ul>
<li>
<p>- Discord User ID</p>
</li>
<li>
<p>- Discord username, discriminator and IDs of users</p>
</li>
<li>
<p>- Guild name and ID</p>
</li>
<li>
<p>- Channel names and IDs of channels with active features</p>
</li>
<li>
<p>- Message IDs of the bot messages</p>
</li>
<li>
<p>- Role IDs of created roles</p>
</li>
</ul>
<h3>3.2 Usage Data</h3>
<p>
We may collect information on how you interact with our bot,
including but not limited to:
</p>
<ul>
<li>
<p>- Commands issued</p>
</li>
<li>
<p>- Server and channel information</p>
</li>
<li>
<p>- Timestamps of interactions</p>
</li>
</ul>
</section>
<section>
<h2>4. How we use your Information</h2>
<p>We process your personal data for the following purposes:</p>
<ul>
<li>
<p>- To provide and maintain the bot service.</p>
</li>
<li>
<p>- To improve, customize, and optimize our bot.</p>
</li>
<li>
<p>- To respond to your requests, comments, or inquiries.</p>
</li>
<li>
<p>- To comply with legal obligations.</p>
</li>
</ul>
</section>
<section>
<h2>5. Legal Basis for Processing</h2>
<p>We process your personal data on the following legal bases:</p>
<ul>
<li>
<p>
- Consent: You have given your consent for the processing of
your personal data for one or more specific purposes.
</p>
</li>
<li>
<p>
- Performance of a contract: The processing is necessary for the
performance of the agreement between you and us.
</p>
</li>
</ul>
</section>
<section>
<h2>6. Data Sharing</h2>
<p>
We do not sell, trade, or otherwise transfer your personal
information to third parties. However, we may share your information
with:
</p>
<ul>
<li>
<p>
- Third-party service providers involved in the operation and
maintenance of the bot.
</p>
</li>
</ul>
</section>
<section>
<h2>7. Data Security</h2>
<p>
We implement reasonable security measures to protect your personal
information from unauthorized access, disclosure, alteration, and
destruction.
</p>
</section>
<section>
<h2>8. Your Rights</h2>
<p>You have the following rights regarding your personal data:</p>
<ul>
<li>
<p>
- Right to withdraw consent: You have the right to withdraw your
consent at any time. You can do this by contacting us at
contact@moonleay.net.
</p>
</li>
<li>
<p>
- Right to rectification: You can request corrections to
inaccurate or incomplete information.
</p>
</li>
<li>
<p>
- Right to erasure: You can request the deletion of your
personal data.
</p>
</li>
</ul>
</section>
<section>
<h2>9. Changes to this Privacy Policy</h2>
<p>
We may update this Privacy Policy to reflect changes in our
practices. The updated version will be posted on
https://liljudd.ink/privacy-policy.
</p>
</section>
<section>
<h2>10. Contact Information</h2>
<p>
If you have any questions or concerns about this Privacy Policy,
please contact us at contact@moonleay.net.
</p>
</section>
</div>
</>
);
}
export default privacyPolicy;

View file

@ -1,58 +1,63 @@
---
import Layout from "@layouts/Layout.astro";
import "../styles/pages/stack.scss"
---
import "../styles/pages/stack.scss";
<Layout>
<h1 class="title">The Stack</h1>
<section class="stacksection">
<img
src="https://static.moonleay.net/img/lilJuddWeb/logos/kotlin.svg"
alt="Kotlin 'K' logo"
/>
<div class="stackgrid_3 stackitm">
<h1>The Kotlin programming language</h1>
<p>
A programming language, which runs in the JVM. Also my main language.
</p>
</div>
</section>
<section class="stacksection">
<img
src="https://static.moonleay.net/img/lilJuddWeb/logos/kord.png"
alt="The Kord logo"
/>
<div class="stackgrid_3 stackitm">
<h1>The Kord library</h1>
<p>A Kotlin library for creating Discord bots. Pretty bare bones.</p>
</div>
</section>
<section class="stacksection">
<img
src="https://static.moonleay.net/img/lilJuddWeb/logos/kordextensions.png"
alt="The Kord-Extensions logo"
/>
<div class="stackgrid_3 stackitm">
<h1>The Kord Extensions library</h1>
<p>A Kotlin library to improve the Kord experience.</p>
</div>
</section>
<section class="stacksection">
<img
src="https://static.moonleay.net/img/lilJuddWeb/logos/pgelephant.png"
alt="The PostgreSQL elephant"
/>
<div class="stackgrid_3 stackitm">
<h1>The PostgreSQL database</h1>
<p>
A fast and reliable database. Also something, which I already used
beforehand.
</p>
</div>
</section>
<section class="stacknote">
<p>
To view all used libraries and their licenses, check the <a href="/acknowledgements">Acknowledgements</a>.
</p>
</section>
</Layout>
function stack() {
return (
<>
<h1 class="stack-title">The Stack</h1>
<section class="stack-section">
<img
src="https://static.moonleay.net/img/lilJuddWeb/logos/kotlin.svg"
alt="Kotlin 'K' logo"
/>
<div class="stackgrid_3 stackitm">
<h1>The Kotlin programming language</h1>
<p>
A programming language, which runs in the JVM. Also my main
language.
</p>
</div>
</section>
<section class="stack-section">
<img
src="https://static.moonleay.net/img/lilJuddWeb/logos/kord.png"
alt="The Kord logo"
/>
<div class="stackgrid_3 stackitm">
<h1>The Kord library</h1>
<p>A Kotlin library for creating Discord bots. Pretty bare bones.</p>
</div>
</section>
<section class="stack-section">
<img
src="https://static.moonleay.net/img/lilJuddWeb/logos/kordextensions.png"
alt="The Kord-Extensions logo"
/>
<div class="stackgrid_3 stackitm">
<h1>The Kord Extensions library</h1>
<p>A Kotlin library to improve the Kord experience.</p>
</div>
</section>
<section class="stack-section">
<img
src="https://static.moonleay.net/img/lilJuddWeb/logos/pgelephant.png"
alt="The PostgreSQL elephant"
/>
<div class="stackgrid_3 stackitm">
<h1>The PostgreSQL database</h1>
<p>
A fast and reliable database. Also something, which I already used
beforehand.
</p>
</div>
</section>
<section class="stack-note">
<p>
To view all used libraries and their licenses, check the{" "}
<a href="/acknowledgements">Acknowledgements</a>.
</p>
</section>
</>
);
}
export default stack;

View file

@ -1,52 +1,97 @@
---
import Layout from "@layouts/Layout.astro";
import "../styles/pages/terms-of-service.scss";
---
<Layout>
<div class="wrapper">
<h1>Terms of Service</h1>
<div>
<h2>Usage Agreement</h2>
<p>
By inviting the bot and using its features (commands, planning system) are you agreeing to the below mentioned Terms and Privacy Policy (Policy) of the bot.<br/>
function termsOfService() {
return (
<>
<div class="termsOfService">
<h1>Terms of Service</h1>
<div>
<h2>Usage Agreement</h2>
<p>
By inviting the bot and using its features (commands, planning
system) are you agreeing to the below mentioned Terms and Privacy
Policy (Policy) of the bot.
<br />
You acknowledge that you have the privilege to use the bot freely on
any Discord Server (Server) you share with it, that you can invite
it to any Server that you have "Manage Server" rights for and that
this privilege might get revoked for you, if you're subject of
breaking the terms and/or policy of this bot, or the{" "}
<a href="https://discord.com/terms" target="_blank">
Terms of Service
</a>
,{" "}
<a href="https://discord.com/privacy" target="_blank">
Privacy Policy
</a>{" "}
and/or{" "}
<a href="https://discord.com/guidelines" target="_blank">
Community Guidelines
</a>{" "}
of{" "}
<a href="https://discord.com/" target="_blank">
Discord Inc
</a>
.<br />
Through Inviting the bot may it collect specific data as described
in its Policy.
<br />
The intended usage of this data is for core functionalities of the
bot such as command handling, guild-specific settings and the
time-planning system.
<br />
</p>
</div>
<div>
<h2>Intended Age</h2>
<p>
The bot may not be used by individuals under the minimal age
described in Discord's Terms of Service.
<br />
Doing so will be seen as a violation of these terms and will result
in a removal of the bot from any servers you own.
<br />
</p>
</div>
<div>
<h2>Affiliation</h2>
<p>
The Bot is not affiliated with, supported or made by Discord Inc.
<br />
Any direct connection to Discord or any of its Trademark objects is
purely coincidental. We do not claim to have the copyright ownership
of any of Discord's assets, trademarks or other intellectual
property.
<br />
</p>
</div>
<div>
<h2>Liability</h2>
<p>
The owner of the bot may not be made liable for individuals breaking
these Terms at any given time.
<br />
He has faith in the end users being truthfull about their
information and not misusing this bot or the services of Discord Inc
in a malicious way.
<br />
We reserve the right to update these terms at our own discretion,
giving you a 1-Week (7 days) period to opt out of these terms if
you're not agreeing with the new changes. You may opt out by
Removing the bot from any Server you have the rights for.
</p>
</div>
<div>
<h2>Contact</h2>
<p>
People may get in contact through e-mail at contact@moonleay.net, or
through the official Support Discord of the Bot. Other ways of
support may be provided but aren't guaranteed.
</p>
</div>
</div>
</>
);
}
You acknowledge that you have the privilege to use the bot freely on any Discord Server (Server) you share with it, that you can invite it to any Server that you have "Manage Server" rights for and that this privilege might get revoked for you, if you're subject of breaking the terms and/or policy of this bot, or the <a href="https://discord.com/terms" target="_blank">Terms of Service</a>, <a href="https://discord.com/privacy" target="_blank">Privacy Policy</a> and/or <a href="https://discord.com/guidelines" target="_blank">Community Guidelines</a> of <a href="https://discord.com/" target="_blank">Discord Inc</a>.<br/>
Through Inviting the bot may it collect specific data as described in its Policy.<br/>
The intended usage of this data is for core functionalities of the bot such as command handling, guild-specific settings and the time-planning system.<br/>
</p>
</div>
<div>
<h2>Intended Age</h2>
<p>
The bot may not be used by individuals under the minimal age described in Discord's Terms of Service.<br/>
Doing so will be seen as a violation of these terms and will result in a removal of the bot from any servers you own.<br/>
</p>
</div>
<div>
<h2>Affiliation</h2>
<p>
The Bot is not affiliated with, supported or made by Discord Inc.<br/>
Any direct connection to Discord or any of its Trademark objects is purely coincidental. We do not claim to have the copyright ownership of any of Discord's assets, trademarks or other intellectual property.<br/>
</p>
</div>
<div>
<h2>Liability</h2>
<p>
The owner of the bot may not be made liable for individuals breaking these Terms at any given time.<br/>
He has faith in the end users being truthfull about their information and not misusing this bot or the services of Discord Inc in a malicious way.<br/>
We reserve the right to update these terms at our own discretion, giving you a 1-Week (7 days) period to opt out of these terms if you're not agreeing with the new changes.
You may opt out by Removing the bot from any Server you have the rights for.
</p>
</div>
<div>
<h2>Contact</h2>
<p>
People may get in contact through e-mail at contact@moonleay.net, or through the official Support Discord of the Bot.
Other ways of support may be provided but aren't guaranteed.
</p>
</div>
</div>
</Layout>
export default termsOfService;