fix build and format files to match code style

This commit is contained in:
Akis 2022-06-18 19:26:58 +03:00
parent d5a7a0c031
commit 928e025114
17 changed files with 265 additions and 229 deletions

View File

@ -22,4 +22,3 @@ jobs:
commit-message: Successfully built
clean: true
single-commit: false

View File

@ -2,8 +2,14 @@
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="icon" href="%sveltekit.assets%/logo.png" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link
rel="icon"
href="%sveltekit.assets%/logo.png"
/>
<meta
name="viewport"
content="width=device-width, initial-scale=1"
/>
%sveltekit.head%
</head>
<body>

View File

@ -4,9 +4,14 @@
<nav>
<a class="brand" href="/">
<img src="/logo.png" alt="Project Segfault logo">
<span style="color: var(--accent-secondary); margin-left: 4px; margin-right: 4px;">{strings.PROJECT}</span>
<span style="color: var(--accent-primary); margin-right: 8px;">{strings.SEGFAULT}</span>
<img src="/logo.png" alt="Project Segfault logo" />
<span
style="color: var(--accent-secondary); margin-left: 4px; margin-right: 4px;"
>{strings.PROJECT}</span
>
<span style="color: var(--accent-primary); margin-right: 8px;"
>{strings.SEGFAULT}</span
>
</a>
<div class="links">

View File

@ -2,13 +2,12 @@
export let title;
export let description;
export let separator;
import SvelteSeo from 'svelte-seo';
import SvelteSeo from "svelte-seo";
// Enjoy the jank.
if(title === "Project Segfault") {
if (title === "Project Segfault") {
title = "";
separator = "";
}
else {
} else {
separator = "|";
}
</script>
@ -17,13 +16,13 @@
openGraph={{
title: title,
description: description,
type: 'website',
type: "website",
images: [
{
url: 'https://projectsegfau.lt:8448/_matrix/media/r0/download/projectsegfau.lt/HBgjhWUExhKPzbpkpIqQfUkF',
url: "https://projectsegfau.lt:8448/_matrix/media/r0/download/projectsegfau.lt/HBgjhWUExhKPzbpkpIqQfUkF",
width: 850,
height: 650,
alt: 'Image'
alt: "Image"
}
]
}}

View File

@ -4,6 +4,7 @@ description: Do you want to contact us?
---
# {title}
## {description}
# Our email
@ -42,14 +43,17 @@ description: Do you want to contact us?
<a class="matrixcolored" href="https://matrix.to/#/@devnol:projectsegfau.lt">[Matrix]</a>
<a class="discordcolored" href="https://discordapp.com/users/429353559566319626">Discord</a>
</div>
</div>
<button
id="hide"
type="button"
onclick='document.getElementById("Active").style.display ="block"; document.getElementById("hide").style.display = "none" ;'
id="hide"
type="button"
onclick='document.getElementById("Active").style.display ="block"; document.getElementById("hide").style.display = "none" ;'
>
Click to show who is active on what platform
</button>
<style>

View File

@ -2,19 +2,21 @@
title: Donate to Project Segfault
description: Our donation methods
---
<script lang="ts">
import MoneroQR from "$lib/images/Monero.png";
</script>
# {title}
## {description}
# please do
If you donate, we will be more motivated to work on the server and host more stuff and maybe even get more hardware. I really recommend you donate any spare money you have if you enjoy or use our services on a daily basis.
# yeah sure I'll donate. links?
<div class="monero">
<span>Monero: <code>47L7Qsto7XcifY3CdG18ySe5Tt83kpFLDLve9jQwbc9taPBLNGv6ZrJNUKpMG9Nj9zHgCZ4FQMSyt75e8Jvx12JFLtJyFdA</code></span>
<img src={MoneroQR} alt="Monero Qr Code">

View File

@ -4,18 +4,24 @@ description: Frequently or not frequently asked questions about Project Segfault
---
# {title}
## Who is the project owner?
Orignally: Midou (Sysadmin) and Mrlerien (Hoster), but now Odyssey346 (Game Server Sysadmin, webdev and social media manager) and Devnol (Hoster) are with us.
# Hold on, what if Devnol decides to backstab you?
I highly doubt he will, but in any case this happens, critical services will stay up. So only extra (non important services) running on the server will be gone, but you should be aware of that anyways.
# One of your services contains toxic people!
You can contact us by mail or Matrix and we can figure this out with you. But we recommend that you put most of these requests in our support channel at [#support:projectsegfau.lt](https://matrix.to/#/#support:projectsegfau.lt) on Matrix.
If it's something personal, just say that you have a report against someone on one of our services and you'd like to be contacted by an admin and we'll constact you ASAP. We have no lives so we're quite active.
# How can I trust your services?
Well, you really can't. We don't make our logs or anything public, however, if you would like the data we have on you, please contact us. If you're paranoid, **you are allowed to use Tor on our services**, but we don't host any .onion links.
# Which ways do you prefer to communicate?
Look at <a href="/contact">Contact</a>.

View File

@ -8,7 +8,9 @@ description: 4 idiots, a Sun server and a Hitachi Compute Rack.
## {description}
# what
We are 4 teenagers who have a decently powerful server. What do we do with this server? Host game servers and random assortment of privacy respecting tools like Invidious, Nextcloud, Matrix etc.... and maybe some original works. You'll see eventually!
# Tell me more! What do you guys host? Where can I contact you? Can you fix my daughter's iPad?
We can't fix your daughter's iPad, but there is a navigation bar at the top of the page with links to websites that explain things about us, or contain useful information about us.

View File

@ -1,14 +1,17 @@
---
title: Project Segfault MC
---
# {title}
# [Click me to go back to the Minecraft site](/minecraft)
## Recommended mods list
These are picked by our community or are for server features like voice chatting.
If you play on Bedrock, try to find an alternative to these. Mods like Simple Voice Chat have no alternative on Bedrock, sorry.
- [Xaero's World Map](https://www.curseforge.com/minecraft/mc-mods/xaeros-world-map) & [Xaero's Minimap](https://www.curseforge.com/minecraft/mc-mods/xaeros-minimap)
- Any optimization mod (We recommend at least Sodium)
- [Simple Voice Chat](https://www.curseforge.com/minecraft/mc-mods/simple-voice-chat)

View File

@ -6,26 +6,30 @@ description: Yeah, we have a Minecraft server.
# {title}
# {description}
We have an invite-only SMP server running on our network on version 1.18* (1.18, 1.18.1, 1.18.2) which is also bridged to Bedrock using GeyserMC.
We have an invite-only SMP server running on our network on version 1.18\* (1.18, 1.18.1, 1.18.2) which is also bridged to Bedrock using GeyserMC.
If you would like to join, please [join our Discord](https://discord.gg/26EG7fFtfS) and ask us there to be whitelisted.
## Rules
1. Do not modify buildings without permission.
2. Do not bypass protections. (mining around a protected door, bypassing chest locks etc)
3. Do not cheat
4. Do not lag the shit out of the server.
## IP
**Java**: mc.projectsegfau.lt:25565
**Bedrock** mc.projectsegfau.lt:19132
*psst, you can join bedrock on your switch using the app we've linked below!*
_psst, you can join bedrock on your switch using the app we've linked below!_
*another psst, if you play on both Java and Bedrock, [link your accounts together on GeyserMC's website!](https://link.geysermc.org)* Your accounts will be linked together meaning you will have the exact same experience.
_another psst, if you play on both Java and Bedrock, [link your accounts together on GeyserMC's website!](https://link.geysermc.org)_ Your accounts will be linked together meaning you will have the exact same experience.
## Links
[Dynmap](https://map.mc.projectsegfau.lt)
[MC Server Connector for iOS](https://apps.apple.com/us/app/mc-server-connector/id1548251304)
@ -33,10 +37,13 @@ If you would like to join, please [join our Discord](https://discord.gg/26EG7fFt
[MC Server Connector for Android](https://play.google.com/store/apps/details?id=com.smokiem.mcserverconnector&hl=no&gl=US)
## Recommended Client-Side Mods
[Click me for a list of recommended client-side mods](/minecraft/client-side-mods)
## Plugin list
This is a manually made list of our plugins, so it might not be up to date.
- BlockLocker
- CoreProtect
- [Dynmap](https://map.mc.projectsegfau.lt)

View File

@ -1,6 +1,6 @@
import adapter from '@sveltejs/adapter-static';
import preprocess from 'svelte-preprocess';
import icons from 'unplugin-icons/vite'
import adapter from "@sveltejs/adapter-static";
import preprocess from "svelte-preprocess";
import icons from "unplugin-icons/vite";
import { mdsvex } from "mdsvex";
/** @type {import('@sveltejs/kit').Config} */
@ -23,10 +23,13 @@ const config = {
vite: {
plugins: [
icons({
compiler: 'svelte',
}),
],
compiler: "svelte"
})
]
},
prerender: {
default: true
}
}
};