Moved files to prepare for solid-start migration

This commit is contained in:
aronmal 2024-01-05 01:29:32 +01:00
parent 4ea622e251
commit eb3acd206c
Signed by: aronmal
GPG key ID: 816B7707426FC612
14 changed files with 0 additions and 0 deletions

67
src/routes/about.tsx Normal file
View file

@ -0,0 +1,67 @@
---
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>

View file

@ -0,0 +1,166 @@
---
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>

24
src/routes/contact.tsx Normal file
View file

@ -0,0 +1,24 @@
---
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>

49
src/routes/features.tsx Normal file
View file

@ -0,0 +1,49 @@
---
import ImageSection from "@components/ImageSection.astro";
import Layout from "@layouts/Layout.astro";
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>

40
src/routes/how-do-i.tsx Normal file
View file

@ -0,0 +1,40 @@
---
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>

29
src/routes/imprint.tsx Normal file
View file

@ -0,0 +1,29 @@
---
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>

17
src/routes/index.tsx Normal file
View file

@ -0,0 +1,17 @@
---
import Layout from "@layouts/Layout.astro";
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>

View file

@ -0,0 +1,130 @@
---
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>

58
src/routes/stack.tsx Normal file
View file

@ -0,0 +1,58 @@
---
import Layout from "@layouts/Layout.astro";
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>

View file

@ -0,0 +1,52 @@
---
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/>
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>