From b9fe05953affcadcd29706631954ac5e86709e97 Mon Sep 17 00:00:00 2001 From: Akis Date: Sat, 2 Jul 2022 22:53:41 +0300 Subject: [PATCH] initial work on refactor --- package.json | 2 +- pnpm-lock.yaml | 84 +++++++----- src/i18n/_global.json | 27 ---- src/i18n/common.json | 65 --------- src/i18n/fr.json | 63 --------- src/i18n/nb.json | 62 --------- src/lib/Footer.svelte | 12 +- src/lib/MDsvexLayout.svelte | 38 ++++++ src/lib/Members.json | 24 ++++ src/lib/Nav.svelte | 24 ++-- src/lib/translations.js | 33 ----- src/routes/__layout.svelte | 36 +---- src/routes/contact.md | 18 +++ src/routes/contact.svelte | 125 ------------------ src/routes/donate.md | 52 ++++++++ src/routes/donate.svelte | 75 ----------- src/routes/faq.md | 22 +++ src/routes/faq.svelte | 44 ------ src/routes/index.md | 16 +++ src/routes/index.svelte | 23 ---- src/routes/legal/index.md | 11 ++ src/routes/legal/privacy-policy.md | 33 +++++ src/routes/legal/tos.md | 13 ++ src/routes/members.svelte | 65 +++++++++ src/routes/minecraft/client-side-mods.md | 25 ++++ src/routes/minecraft/client-side-mods.svelte | 43 ------ src/routes/minecraft/index.md | 59 +++++++++ src/routes/minecraft/index.svelte | 87 ------------ {src/lib/images => static}/Monero.png | Bin .../ProjectSegfault_Desktop_16-9.png | Bin svelte.config.js | 11 +- 31 files changed, 455 insertions(+), 737 deletions(-) delete mode 100644 src/i18n/_global.json delete mode 100644 src/i18n/common.json delete mode 100644 src/i18n/fr.json delete mode 100644 src/i18n/nb.json create mode 100644 src/lib/MDsvexLayout.svelte create mode 100644 src/lib/Members.json delete mode 100644 src/lib/translations.js create mode 100644 src/routes/contact.md delete mode 100644 src/routes/contact.svelte create mode 100644 src/routes/donate.md delete mode 100644 src/routes/donate.svelte create mode 100644 src/routes/faq.md delete mode 100644 src/routes/faq.svelte create mode 100644 src/routes/index.md delete mode 100644 src/routes/index.svelte create mode 100644 src/routes/legal/index.md create mode 100644 src/routes/legal/privacy-policy.md create mode 100644 src/routes/legal/tos.md create mode 100644 src/routes/members.svelte create mode 100644 src/routes/minecraft/client-side-mods.md delete mode 100644 src/routes/minecraft/client-side-mods.svelte create mode 100644 src/routes/minecraft/index.md delete mode 100644 src/routes/minecraft/index.svelte rename {src/lib/images => static}/Monero.png (100%) rename {src/lib/images => static}/ProjectSegfault_Desktop_16-9.png (100%) diff --git a/package.json b/package.json index dadbab1..d77954a 100644 --- a/package.json +++ b/package.json @@ -17,13 +17,13 @@ "@iconify-json/simple-icons": "^1.1.15", "@sveltejs/adapter-static": "next", "@sveltejs/kit": "next", + "mdsvex": "^0.10.6", "prettier": "^2.7.1", "prettier-plugin-svelte": "^2.7.0", "svelte": "^3.48.0", "svelte-check": "^2.7.2", "svelte-preprocess": "^4.10.7", "svelte-seo": "^1.4.1", - "sveltekit-i18n": "^2.2.2", "tslib": "^2.4.0", "typescript": "^4.7.4", "unplugin-icons": "^0.14.5" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 37d1023..d92e138 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1,17 +1,17 @@ -lockfileVersion: 5.3 +lockfileVersion: 5.4 specifiers: '@iconify-json/fa6-solid': ^1.1.4 '@iconify-json/simple-icons': ^1.1.15 '@sveltejs/adapter-static': next '@sveltejs/kit': next + mdsvex: ^0.10.6 prettier: ^2.7.1 prettier-plugin-svelte: ^2.7.0 svelte: ^3.48.0 svelte-check: ^2.7.2 svelte-preprocess: ^4.10.7 svelte-seo: ^1.4.1 - sveltekit-i18n: ^2.2.2 tslib: ^2.4.0 typescript: ^4.7.4 unplugin-icons: ^0.14.5 @@ -20,14 +20,14 @@ devDependencies: '@iconify-json/fa6-solid': 1.1.4 '@iconify-json/simple-icons': 1.1.15 '@sveltejs/adapter-static': 1.0.0-next.34 - '@sveltejs/kit': 1.0.0-next.352_svelte@3.48.0 + '@sveltejs/kit': 1.0.0-next.357_svelte@3.48.0 + mdsvex: 0.10.6_svelte@3.48.0 prettier: 2.7.1 - prettier-plugin-svelte: 2.7.0_prettier@2.7.1+svelte@3.48.0 + prettier-plugin-svelte: 2.7.0_nakrehnrzdf7fdea5k3a4dfy4m svelte: 3.48.0 svelte-check: 2.7.2_svelte@3.48.0 - svelte-preprocess: 4.10.7_svelte@3.48.0+typescript@4.7.4 + svelte-preprocess: 4.10.7_lvfi2wesz6u4l5rfbnetbucfmm svelte-seo: 1.4.1_typescript@4.7.4 - sveltekit-i18n: 2.2.2_svelte@3.48.0 tslib: 2.4.0 typescript: 4.7.4 unplugin-icons: 0.14.5 @@ -125,8 +125,8 @@ packages: tiny-glob: 0.2.9 dev: true - /@sveltejs/kit/1.0.0-next.352_svelte@3.48.0: - resolution: {integrity: sha512-cYQWGZ2TU1iMsh1cqi44FJm5Aqs3iOkuUOnRpoecthcbmiZaqkD1sPG/uROBIPexXSbfyUfrck/hgr9vdCAmCw==} + /@sveltejs/kit/1.0.0-next.357_svelte@3.48.0: + resolution: {integrity: sha512-nCAehVybIEpQNnPu61V/EFVdfDb1nBSiQUfW9EcSSDEUbyAMCVBOKZZuzQ0qQDp3xniqRkyDzpBA4wN+ADxHBw==} engines: {node: '>=16.7'} hasBin: true peerDependencies: @@ -168,20 +168,6 @@ packages: - supports-color dev: true - /@sveltekit-i18n/base/1.2.1_svelte@3.48.0: - resolution: {integrity: sha512-F8gqG2+KAOeT0o2wYlUrW3TRCX7zaD7rBy/1CEVNw0irfw9TgFf/ODmhubkHHT3+6Zk+SMz8RNgeuffBfAMbJw==} - peerDependencies: - svelte: ^3.x - dependencies: - svelte: 3.48.0 - optionalDependencies: - '@sveltekit-i18n/parser-default': 1.0.3 - dev: true - - /@sveltekit-i18n/parser-default/1.0.3: - resolution: {integrity: sha512-HheveklTjp3hxpYQhoHfyA6B4bQaUeSV5MQf2usIv/58UF2jY/YqhCAWj9bDBjufbuZc5pSz4BXvdX3WVT+viA==} - dev: true - /@types/node/18.0.0: resolution: {integrity: sha512-cHlGmko4gWLVI27cGJntjs/Sj8th9aYwplmZFwmmgYQQvL5NUsgVJG7OddLvNfLqYS31KFN0s3qlaD9qCaxACA==} dev: true @@ -196,6 +182,10 @@ packages: '@types/node': 18.0.0 dev: true + /@types/unist/2.0.6: + resolution: {integrity: sha512-PBjIUxZHOuj0R15/xuwJYjFi+KZdNFrehocChv4g5hu6aFroHue8m0lBP0POdK2nKzbw0cgV1mws8+V/JAcEkQ==} + dev: true + /acorn/8.7.1: resolution: {integrity: sha512-Xx54uLJQZ19lKygFXOWsscKUbsBZW0CPykPhVQdhIeIwrbPmJzqeASDInc8nKBnp/JT6igTs82qPXz069H8I/A==} engines: {node: '>=0.4.0'} @@ -710,6 +700,18 @@ packages: sourcemap-codec: 1.4.8 dev: true + /mdsvex/0.10.6_svelte@3.48.0: + resolution: {integrity: sha512-aGRDY0r5jx9+OOgFdyB9Xm3EBr9OUmcrTDPWLB7a7g8VPRxzPy4MOBmcVYgz7ErhAJ7bZ/coUoj6aHio3x/2mA==} + peerDependencies: + svelte: 3.x + dependencies: + '@types/unist': 2.0.6 + prism-svelte: 0.4.7 + prismjs: 1.28.0 + svelte: 3.48.0 + vfile-message: 2.0.4 + dev: true + /merge-stream/2.0.0: resolution: {integrity: sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==} dev: true @@ -852,7 +854,7 @@ packages: source-map-js: 1.0.2 dev: true - /prettier-plugin-svelte/2.7.0_prettier@2.7.1+svelte@3.48.0: + /prettier-plugin-svelte/2.7.0_nakrehnrzdf7fdea5k3a4dfy4m: resolution: {integrity: sha512-fQhhZICprZot2IqEyoiUYLTRdumULGRvw0o4dzl5jt0jfzVWdGqeYW27QTWAeXhoupEZJULmNoH3ueJwUWFLIA==} peerDependencies: prettier: ^1.16.4 || ^2.0.0 @@ -868,6 +870,15 @@ packages: hasBin: true dev: true + /prism-svelte/0.4.7: + resolution: {integrity: sha512-yABh19CYbM24V7aS7TuPYRNMqthxwbvx6FF/Rw920YbyBWO3tnyPIqRMgHuSVsLmuHkkBS1Akyof463FVdkeDQ==} + dev: true + + /prismjs/1.28.0: + resolution: {integrity: sha512-8aaXdYvl1F7iC7Xm1spqSaY/OJBpYW3v+KJ+F17iYxvdc8sfjW194COK5wVhMZX45tGteiBQgdvD/nhxcRwylw==} + engines: {node: '>=6'} + dev: true + /queue-microtask/1.2.3: resolution: {integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==} dev: true @@ -1008,7 +1019,7 @@ packages: picocolors: 1.0.0 sade: 1.8.1 svelte: 3.48.0 - svelte-preprocess: 4.10.7_svelte@3.48.0+typescript@4.7.4 + svelte-preprocess: 4.10.7_lvfi2wesz6u4l5rfbnetbucfmm typescript: 4.7.4 transitivePeerDependencies: - '@babel/core' @@ -1032,7 +1043,7 @@ packages: svelte: 3.48.0 dev: true - /svelte-preprocess/4.10.7_svelte@3.48.0+typescript@4.7.4: + /svelte-preprocess/4.10.7_lvfi2wesz6u4l5rfbnetbucfmm: resolution: {integrity: sha512-sNPBnqYD6FnmdBrUmBCaqS00RyCsCpj2BG58A1JBswNF7b0OKviwxqVrOL/CKyJrLSClrSeqQv5BXNg2RUbPOw==} engines: {node: '>= 9.11.2'} requiresBuild: true @@ -1096,16 +1107,6 @@ packages: engines: {node: '>= 8'} dev: true - /sveltekit-i18n/2.2.2_svelte@3.48.0: - resolution: {integrity: sha512-6eygICleGCSL7elY7A3trF8XUhV+mlW56ZSoD0UUKXlw+Y6u0MTTHDq48u1LyY73SfnlbPHXgTarhTjZ0BvUKA==} - peerDependencies: - svelte: ^3.x - dependencies: - '@sveltekit-i18n/base': 1.2.1_svelte@3.48.0 - '@sveltekit-i18n/parser-default': 1.0.3 - svelte: 3.48.0 - dev: true - /tiny-glob/0.2.9: resolution: {integrity: sha512-g/55ssRPUjShh+xkfx9UPDXqhckHEsHr4Vd9zX55oSdGZc/MD0m3sferOkwWtp98bv+kcVfEHtRJgBVJzelrzg==} dependencies: @@ -1130,6 +1131,12 @@ packages: hasBin: true dev: true + /unist-util-stringify-position/2.0.3: + resolution: {integrity: sha512-3faScn5I+hy9VleOq/qNbAd6pAx7iH5jYBMS9I1HgQVijz/4mv5Bvw5iw1sC/90CODiKo81G/ps8AJrISn687g==} + dependencies: + '@types/unist': 2.0.6 + dev: true + /unplugin-icons/0.14.5: resolution: {integrity: sha512-fxi/fuBZXtZu64L8iAPj+ecu/rnSvTbfR14RO44xIWdsI/Ohpzs9Gve7+nHIgD6JFrdtCfzGnXWBEVPbMGWX3A==} peerDependencies: @@ -1185,6 +1192,13 @@ packages: webpack-virtual-modules: 0.4.3 dev: true + /vfile-message/2.0.4: + resolution: {integrity: sha512-DjssxRGkMvifUOJre00juHoP9DPWuzjxKuMDrhNbk2TdaYYBNMStsNhEOt3idrtI12VQYM/1+iM0KOzXi4pxwQ==} + dependencies: + '@types/unist': 2.0.6 + unist-util-stringify-position: 2.0.3 + dev: true + /vite/2.9.12: resolution: {integrity: sha512-suxC36dQo9Rq1qMB2qiRorNJtJAdxguu5TMvBHOc/F370KvqAe9t48vYp+/TbPKRNrMh/J55tOUmkuIqstZaew==} engines: {node: '>=12.2.0'} diff --git a/src/i18n/_global.json b/src/i18n/_global.json deleted file mode 100644 index 9507264..0000000 --- a/src/i18n/_global.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "NAME": "Project Segfault", - "PROJECT": "Project", - "SEGFAULT": "Segfault", - "MATRIX_INVITE": "https://matrix.to/#/#project-segfault:projectsegfau.lt/", - "DISCORD_INVITE": "https://discord.gg/26EG7fFtfS/", - "GITHUB": "https://github.com/ProjectSegfault/", - "STATUS": "https://status.projectsegfau.lt/", - "MINECRAFT": "Minecraft", - "INSTANCES": "https://instances.projectsegfau.lt/", - "BLOG_URL": "https://blog.projectsegfau.lt/", - "EMAIL": "contact@projectsegfau.lt", - "MIDOU": "Midou", - "MIDOU_MATRIX_URL": "https://matrix.to/#/@midou:projectsegfau.lt/", - "MRLERIEN": "MrLeRien", - "MRLERIEN_DISCORD_URL": "https://discord.com/users/213634643327582208/", - "AKISBLACK": "akisblack", - "AKISBLACK_MATRIX_URL": "https://matrix.to/#/@akis:projectsegfau.lt/", - "AKISBLACK_DISCORD_URL": "https://discord.com/users/845535118285602866/", - "DEVNOL": "Devnol", - "DEVNOL_MATRIX_URL": "https://matrix.to/#/@devnol:projectsegfau.lt/", - "DEVNOL_DISCORD_URL": "https://discord.com/users/429353559566319626/", - "MONERO": "Monero", - "MINECRAFT_JAVA_IP": "mc.projectsegfau.lt:25565", - "MINECRAFT_BEDROCK_IP": "mc.projectsegfau.lt:19132", - "TRANSPARENCY_REPO": "https://github.com/ProjectSegfault/transparency/" -} diff --git a/src/i18n/common.json b/src/i18n/common.json deleted file mode 100644 index 6098a19..0000000 --- a/src/i18n/common.json +++ /dev/null @@ -1,65 +0,0 @@ -{ - "NAVBAR_INSTANCES": "Instances & Gameservers", - "NAVBAR_DONATE": "Donate", - "NAVBAR_FAQ": "FAQ", - "NAVBAR_CONTACT": "Contact", - "NAVBAR_BLOG": "Blog", - "FOOTER_COPYRIGHT": "© 2021 - present, Project Segfault", - "INDEX_DESCRIPTION": "3 idiots, a Sun server and a Hitachi Compute Rack.", - "INDEX_WHAT": "What is this?", - "INDEX_WHO_ARE_WE": "We are 3 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!", - "INDEX_TELL_ME_MORE": "Tell me more! What do you guys host? Where can I contact you? Can you fix my daughter's iPad?", - "INDEX_MORE_INFO": "We can't fix your daughter's iPad, but there is a navigation bar at the top of the page with links to websites and pages that explain things about us, or contain useful information about our services.", - "DONATE_TITLE": "Donate to Project Segfault", - "DONATE_DESCRIPTION": "The ways you can donate to us and more.", - "DONATE_PLEASE_DO": "Reasons to donate to our project.", - "DONATE_EXPLANATION": "If you donate, we will be more motivated to work on the server and host more stuff and maybe even get more hardware. We really recommend you donate any spare money you have if you enjoy or use our services on a daily basis. Thanks!", - "DONATE_TRANSPARENCY_1": "You can find all of our financial reports on", - "DONATE_TRANSPARENCY_2": "our transparency repository on GitHub", - "DONATE_OK_SURE": "Donation Links", - "CONTACT_TITLE": "Contact Us", - "CONTACT_DESCRIPTION": "Do you want to contact us?", - "CONTACT_OUR_EMAIL": "Our email", - "CONTACT_EMAIL_SPAM": "Please be aware that Microsoft often blocks non-popular emails, if you do contact us through there, make sure to check your spam and mark it as not-spam!", - "CONTACT_PEOPLE": "People", - "CONTACT_CLICK": "Click to show who is active on what platform", - "MINECRAFT_TITLE": "Project Segfault MC", - "MINECRAFT_DESCRIPTION": "Yeah, we have a Minecraft server.", - "MINECRAFT_SMP": "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.", - "MINECRAFT_JOIN": "If you would like to join, please join our Matrix space or Discord server and ask a project member to whitelist your account.", - "MINECRAFT_DISCORD": "Invite link to our Discord", - "MINECRAFT_RULES": "Rules", - "MINECRAFT_RULE_1": "1. Do not modify buildings without permission.", - "MINECRAFT_RULE_2": "2. Do not bypass protections. (mining around a protected door, bypassing chest locks etc.)", - "MINECRAFT_RULE_3": "3. Do not cheat.", - "MINECRAFT_RULE_4": "4. Do not lag the server purposely.", - "MINECRAFT_IP": "IP", - "MINECRAFT_NOTE_1": "Psst, you can join bedrock on your Switch using the app we’ve linked below!", - "MINECRAFT_NOTE_2": "Another psst, if you play on both Java and Bedrock, link your accounts together on GeyserMC’s website! Your accounts will be linked together meaning you will have the exact same experience.", - "MINECRAFT_LINKS": "Links", - "MINECRAFT_MC_IOS": "MC Server Connector for iOS", - "MINECRAFT_MC_ANDROID": "MC Server Connector for Android", - "MINECRAFT_CLIENT_SIDE_MODS": "Recommended Client-Side Mods", - "MINECRAFT_CLIENT_SIDE_MODS_URL": "Click me for a list of recommended client-side mods.", - "MINECRAFT_PLUGIN_LIST_TITLE": "Plugin List", - "MINECRAFT_PLUGIN_LIST_NOTE": "This is a manually made list of our plugins, so it might not reflect the plugins currently on the server.", - "MINECRAFT_MCMMO": "Click here to download our build of mcMMO.", - "MINECRAFT_VIAVERSION_NOTE": "You may only connect from a base version and its subversions (1.18, 1.18.1, 1.18.2). You cannot connect from a major version older or newer than the major version the server is running.", - "CSM_GOBACK": "Click me to go back to the Minecraft site.", - "CSM_TITLE": "Recommended Mods List", - "CSM_HOW_THEY_ARE_PICKED": "These are picked by our community or are required for server features like voice chatting.", - "CSM_NOTE_BEDROCK": "These plugins only support Minecraft Java edition and most only work on the Fabric/Quilt modloaders. If you play on Bedrock or Forge mod loader, try to find an alternative to these. Mods like Simple Voice Chat have no alternative on Bedrock, sorry.", - "CSM_OPTIMIZATION_MODS_NOTE": "Any optimization mod (We recommend at least Sodium)", - "FAQ_TITLE": "Frequently Asked Questions", - "FAQ_OWNER_TITLE": "Who is the project owner?", - "FAQ_OWNER": "Orignally: Midou (sysadmin) and Mrlerien (hoster), but now Odsysey346 (gameserver sysadmin, web developer and social media manager), Devnol (hoster) and akisblack (web developer) are with us.", - "FAQ_TOXICITY_TITLE": "One of your services contains toxic people!", - "FAQ_TOXICITY_1": "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", - "FAQ_TOXICITY_2": "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 contact you as soon as possible. We generally tend to be active throughout the day.", - "FAQ_TRUST_TITLE": "How can I trust your services?", - "FAQ_TRUST_1": "Well, you really can't. We don't make our logs or anything else public, however, if you would like access to the data we have on you, please contact us. If you're extremely privacy/security conscious,", - "FAQ_TRUST_2": "you are allowed to use Tor on our services", - "FAQ_TRUST_3": ", but we don't host any .onion links.", - "FAQ_CONTACT_TITLE": "Which ways do you prefer to communicate?", - "FAQ_CONTACT": "Look at" -} diff --git a/src/i18n/fr.json b/src/i18n/fr.json deleted file mode 100644 index 8074ca2..0000000 --- a/src/i18n/fr.json +++ /dev/null @@ -1,63 +0,0 @@ -{ - "NAVBAR_INSTANCES": "Instances & Gameservers", - "NAVBAR_DONATE": "Faire un don", - "NAVBAR_FAQ": "FAQ", - "NAVBAR_CONTACT": "Contact", - "NAVBAR_BLOG": "Blog", - "FOOTER_COPYRIGHT": "© 2021 - présent, Project Segfault", - "INDEX_DESCRIPTION": "3 idiots, un server Sun et un server Hitachi", - "INDEX_WHAT": "Hein?", - "INDEX_WHO_ARE_WE": "On est 3 ados qui on un Server assez puissant. Mais on fait quoi de ce server? Eh bien on héberge des servers pour jeu et quelque service qui aident à mieux protéger sa vie privée comme Invidious, Nextcloud, Matrix et etc... et peut être on finira par faire un VRAI projet unique. Ça arrivera patientez!", - "INDEX_TELL_ME_MORE": "Hé, je veux plus de détails! Je veux savoir ce que vous hébergez et ce que vous faites!", - "INDEX_MORE_INFO": "Il y'a une barre en haut de la page avec des boutons dessus, j'espère que vous n'avez pas de problème de vision!", - "DONATE_TITLE": "Faire un don à Project Segfault", - "DONATE_DESCRIPTION": "Les manières dont vous pouvez faire des dons:", - "DONATE_PLEASE_DO": "Faites un don quand vous le pourrez s'il vous plaît!", - "DONATE_EXPLANATION": "Si on reçoit des dons, on sera capable de héberger plus longtemps que prévu, avec votre soutien, on pourra aussi faire des nouvelles fonctionnalités et des nouveaux serveurs. Et vous ferez un peu de bien pour nous, car c'est un projet qui nous fait une part de la vie.", - "DONATE_OK_SURE": "OK! Je suis sûr que je peux faire un don! Ou devrais-je faire un don?", - "CONTACT_TITLE": "Nous contacter", - "CONTACT_DESCRIPTION": "Vous voulez nous contacter?", - "CONTACT_OUR_EMAIL": "Notre mail", - "CONTACT_EMAIL_SPAM": "Si vous attendez un mail, c'est que vous avez un problème avec le spam. Microsoft a un filtre anti-spam qui bloque les mails non connnus, si c'est le cas, veuillez cliquer sur \"ne pas considérer comme spam\". Merci infiniment!", - "CONTACT_PEOPLE": "Les membres", - "CONTACT_CLICK": "Cliquez ici pour afficher les moyens de contact des membres de Project Segfault!", - "MINECRAFT_TITLE": "Serveur Minecraft de Project Segfault", - "MINECRAFT_DESCRIPTION": "Ouep, on a aussi un server Minecraft.", - "MINECRAFT_SMP": "On a un server SMP qui est sur liste blanche, il est jouable sous la version 1.18 jusquà 1.19, le server est bridgé avec la version Bedrock, donc vous pouvez aussi jouer sur mobile!", - "MINECRAFT_JOIN": "Si vous voulez nous rejoindre, contactez nous sous Discord ou Matrix afin de vous laisser accéder au server.", - "MINECRAFT_DISCORD": "Invite Discord", - "MINECRAFT_RULES": "Règles", - "MINECRAFT_RULE_1": "1. Ne détruisez pas les maisons faites par les autres joueurs, et ne les changez pas sans autorisation de son propriétaire.", - "MINECRAFT_RULE_2": "2. Ne contournez pas les portes protégés! C'est comme barricader une maison.", - "MINECRAFT_RULE_3": "3. Trichez pas", - "MINECRAFT_RULE_4": "4. Ne laggez pas le serveur", - "MINECRAFT_IP": "IP", - "MINECRAFT_NOTE_1": "psst, tu peux rejoindre le jeux sous bedrock avec l'application ci dessous!", - "MINECRAFT_NOTE_2": "another psst, Si vous avez bedrock et java, vous pouvez les lier sur geyser mc, comme ça vous aurez le même compte sur les deux côtés!", - "MINECRAFT_LINKS": "Liens", - "MINECRAFT_MC_IOS": "MC Server Connector pour iOS", - "MINECRAFT_MC_ANDROID": "MC Server Connector pour Android", - "MINECRAFT_CLIENT_SIDE_MODS": "Les mods recommandés", - "MINECRAFT_CLIENT_SIDE_MODS_URL": "Cliquez sur moi pour une liste de mods recommandés!", - "MINECRAFT_PLUGIN_LIST_TITLE": "Liste des extensions", - "MINECRAFT_PLUGIN_LIST_NOTE": "Ceci est une liste d'extensions composée manuellement, donc elle peut être un peu datée.", - "MINECRAFT_MCMMO": "Cliquez ici pour télecharger notre version compilée de MCMMO!", - "MINECRAFT_VIAVERSION_NOTE": "Vous devez vous connecter sur une de ces versions (1.18, 1.18.1, 1.18.2). Vous pouvez pas utiliser une version plus récente que celle-ci.", - "CSM_GOBACK": "Clique moi pour revenir sur le site Minecraft!", - "CSM_TITLE": "Liste de mods recommandés", - "CSM_HOW_THEY_ARE_PICKED": "Celles-ci on été choisies par notre équipe pour être les plus utiles pour vous.", - "CSM_NOTE_BEDROCK": "Si vous jouez sous Bedrock, Essayez de trouver d'autre alternatives. Simple Voice Chat n'a pas d'autres alternatives. Désolé.", - "CSM_OPTIMIZATION_MODS_NOTE": "N'importe que optimisation pour minecraft (comme sodium)", - "FAQ_TITLE": "Foire aux questions", - "FAQ_OWNER_TITLE": "C'est qui les membres ?", - "FAQ_OWNER": "Originellement: Midou (Sysadmin) et Mrlerien (Hébergeur), Mais Odyssey346 (Sysadmin coté jeux, développeur web (faut vraiment faire sa pub à la con qui fout plus la honte qu'autre chose?) et le géreur de réseaux sociaux (c'est aussi con que le premier) et Devnol (Hébergeur²) sont avec nous.", - "FAQ_TOXICITY_TITLE": "Un de vos services est vraiment pas acceuillant et toxique! Comment faire pour le signaler?", - "FAQ_TOXICITY_1": "Vous pouvez nous contacter par mail, mais les demandes faites dans le chat (plus précisément le channel de singalement) sont plus efficaces.", - "FAQ_TOXICITY_2": "Si c'est personnel. Vous pouvez nous le demander en MP. On a pas de vie alors on est souvent actif.", - "FAQ_TRUST_TITLE": "Comment je peux faire confiances à vous services?", - "FAQ_TRUST_1": "En vrai, il y'a aucun moyen de prouver que nous sommes des personnes de confiance, mais si vous voulez avoir vos informations (sous la loi GDPR), vous pouvez nous le demander sous le salon requêtes.", - "FAQ_TRUST_2": "Ah, et tor existe", - "FAQ_TRUST_3": ", mai on héberge pas de sites sous tor.", - "FAQ_CONTACT_TITLE": "Quel moyen de communication vous préferez?", - "FAQ_CONTACT": "Regardez" -} diff --git a/src/i18n/nb.json b/src/i18n/nb.json deleted file mode 100644 index 13dd58a..0000000 --- a/src/i18n/nb.json +++ /dev/null @@ -1,62 +0,0 @@ -{ - "NAVBAR_INSTANCES": "Våre tjenester og spillservere", - "NAVBAR_DONATE": "Doner", - "NAVBAR_FAQ": "OSS", - "NAVBAR_CONTACT": "Kontakt", - "NAVBAR_BLOG": "Blogg", - "INDEX_DESCRIPTION": "4 idioter, en Sun server og en Hitachi Compute Rack.", - "INDEX_WHAT": "Hva?", - "INDEX_WHO_ARE_WE": "Vi er 4 tenåringer med en grei server. Hva gjør vi med denne serveren? Vi ofrer tjenester som respekterer personvernet ditt som for eksempel Invidious, Matrix, Pleroma. Vi kjører også noen spillservere på serveren våres, for eksempel Minecraft. Kanskje vi lager noe originalt... det får du se etterhvert!", - "INDEX_TELL_ME_MORE": "Fortell meg mer! Hva kjører dere på serverene deres? Hvor kan jeg komme i kontakt med dere? Kan dere fikse min datters iPad?", - "INDEX_MORE_INFO": "Vi kan ikke fikse din datters iPad, men det er navigasjonslinje på toppen av siden som har lenker til sider som forklarer ting om oss, eller har nyttig informasjon om oss.", - "DONATE_TITLE": "Doner til Project Segfault", - "DONATE_DESCRIPTION": "Veiene du kan donere til oss og mer", - "DONATE_PLEASE_DO": "Grunner til å donere til Project Segfault", - "DONATE_EXPLANATION": "Hvis du donerer, blir vi mer motivert til å jobbe på serverene våres og ofre flere tjenester, og kanskje skaffe oss mer maskinvare. Jeg anbefaler at du donerer reservepenger hvis du liker å bruke tjenestene våres, eller hvis du bruker våres tjenester på en daglig basis. Takk!", - "DONATE_OK_SURE": "Doneringsmeteoder", - "CONTACT_TITLE": "Få kontakt med oss", - "CONTACT_DESCRIPTION": "Veier du kan komme i kontakt med oss.", - "CONTACT_OUR_EMAIL": "Våres e-post", - "CONTACT_EMAIL_SPAM": "Microsoft (Outlook, Hotmail) pleier å markere e-poster som ikke er populære som søppelpost. Hvis du sender oss en e-post via Microsoft, husk å markere oss som ikke søppelpost!", - "CONTACT_PEOPLE": "Medlemmer i Project Segfault", - "CONTACT_CLICK": "Klikk for å komme i kontakt med en av medlemmene våres.", - "MINECRAFT_TITLE": "Project Segfault MC", - "MINECRAFT_DESCRIPTION": "Vi har en Minecraft server.", - "MINECRAFT_SMP": "Vi har en semi-privat \"SMP\" Minecraft server som kjører på vår Soleil server. Vi kjører Minecraft versjon 1.18* (1.18, 1.18.1, 1.18.2), som man kan også bli med i med Bedrock, takket være GeyserMC", - "MINECRAFT_JOIN": "Hvis du har lyst til å bli med i serveren, bli med på Discorden eller Matrix-rommet våres og spør om å bli puttet på hvitelisten.", - "MINECRAFT_DISCORD": "Invitasjonslenke til våres Discord", - "MINECRAFT_RULES": "Regler", - "MINECRAFT_RULE_1": "1. Ikke modifiser byggninger uten tilatelse.", - "MINECRAFT_RULE_2": "2. Ikke kjør om beskyttninger. (ødelegge blokker rundt en beskyttet dør, kjøre om låser på kister osv)", - "MINECRAFT_RULE_3": "3. Ikke juks", - "MINECRAFT_RULE_4": "4. Ikke gjør serveren treg med vilje.", - "MINECRAFT_IP": "IP", - "MINECRAFT_NOTE_1": "forresten, du kan bli med på din Nintendo Switch med å bruke appen vi har lenket under!", - "MINECRAFT_NOTE_2": "også, hvis du spiller på både Java og Bedrock, så kan du koble kontoene sammen på GeyserMCs nettsted. Du får prikk lik opplevelse på begge kontoene dine.", - "MINECRAFT_LINKS": "Linker", - "MINECRAFT_MC_IOS": "MC Server Connector for iOS", - "MINECRAFT_MC_ANDROID": "MC Server Connector for Android", - "MINECRAFT_CLIENT_SIDE_MODS": "Anbefalte mods som kjører på din maskin", - "MINECRAFT_CLIENT_SIDE_MODS_URL": "Klikk meg for en liste av anbefalt lokale mods", - "MINECRAFT_PLUGIN_LIST_TITLE": "Plugin liste", - "MINECRAFT_PLUGIN_LIST_NOTE": "Denne listen er laget manuelt, så det kan hende at den ikke er oppdatert.", - "MINECRAFT_MCMMO": "Klikk her for å laste ned våres bygg av mcMMO.", - "MINECRAFT_VIAVERSION_NOTE": "Du kan bare koble til serveren fra en basisversjon (for eksempel 1.18) og versjonene som er etter basisstasjonen (for eksempel 1.18.1 eller 1.18.2). Du kan ikke koble til fra en stor versjon som er eldre eller nyere enn den våres server kjører.", - "CSM_GOBACK": "Klikk for å gå tilbake til Minecraft siden", - "CSM_TITLE": "Anbefalte mods", - "CSM_HOW_THEY_ARE_PICKED": "Disse er plukket av våres felleskap eller er nødvendig for funksjoner som stemmechat.", - "CSM_NOTE_BEDROCK": "Meste av disse fungerer bare på Fabric/Quilt modinnlasterne. Hvis du spiller på Bedrock, eller bruker Forge, så får du ikke brukt mods som Simple Voice Chat. Unnskyld! :(", - "CSM_OPTIMIZATION_MODS_NOTE": "Hva slags mod som gjør spillet kjappere (Vi anbefaler i det minste Sodium)", - "FAQ_TITLE": "Ofte Stilte Spørsmål", - "FAQ_OWNER_TITLE": "Hvem eier prosjektet?", - "FAQ_OWNER": "Originalt var det Midou (system administrator) og MrLeRien (personen som eier 2 av våres VPSer og Soleil), men nå har Odyssey346 (Spillserver systemadministrator, nettutvikler og norsk-oversetter) og Devnol (personen som eier Helios) blitt med oss.", - "FAQ_TOXICITY_TITLE": "En av deres tjenester har slemme folk!", - "FAQ_TOXICITY_1": "Du kan få i kontakt med oss på e-post eller på Matrix og vi kan diskutere det med deg. Vi anbefaler at du putter meste av disse forespørselene i våres support-kanal her:", - "FAQ_TOXICITY_2": "på Matrix. Hvis det er personlig, bare si at du har en rapport mot noen på våres tjenester, og at du har lyst til å bli kontaktet av en administrator, så kontakter vi deg når det er mulig.", - "FAQ_TRUST_TITLE": "Hvordan kan jeg stole på dere?", - "FAQ_TRUST_1": "Vel, du kan egentlig ikke det. Vi slepper ikke ut loggene våres, men du kan spørre oss om informasjom vi har om deg på serverene våres med å kontakte oss. Hvis du er veldig forsiktig med personvern,", - "FAQ_TRUST_2": " det er lov å bruke Tor på våres tjenester", - "FAQ_TRUST_3": ", men vi har ingen .onion lenker.", - "FAQ_CONTACT_TITLE": "Hvordan har dere lyst til å kommunisere?", - "FAQ_CONTACT": "Se på" -} \ No newline at end of file diff --git a/src/lib/Footer.svelte b/src/lib/Footer.svelte index 8aa8507..6a8c5cf 100644 --- a/src/lib/Footer.svelte +++ b/src/lib/Footer.svelte @@ -3,8 +3,6 @@ import IconMatrix from "~icons/simple-icons/matrix"; import IconGitHub from "~icons/simple-icons/github"; import IconSignal from "~icons/fa6-solid/signal"; - import * as global from "../i18n/_global.json"; - import { t } from "$lib/translations"; import { page } from "$app/stores"; @@ -22,19 +20,19 @@ {/if}
- {$t("common.FOOTER_COPYRIGHT")} + © 2021 - present, Project Segfault diff --git a/src/lib/MDsvexLayout.svelte b/src/lib/MDsvexLayout.svelte new file mode 100644 index 0000000..6102559 --- /dev/null +++ b/src/lib/MDsvexLayout.svelte @@ -0,0 +1,38 @@ + + + + + + {title} {separator} Project Segfault + + +
+ +
\ No newline at end of file diff --git a/src/lib/Members.json b/src/lib/Members.json new file mode 100644 index 0000000..2a45dce --- /dev/null +++ b/src/lib/Members.json @@ -0,0 +1,24 @@ +[ + { + "name": "Midou", + "matrix": "https://matrix.to/#/@midou:projectsegfau.lt/", + "position": "System administrator" + }, + { + "name": "MrLeRien", + "discord": "https://discord.com/users/213634643327582208/", + "position": "Hoster" + }, + { + "name": "akisblack", + "matrix": "https://matrix.to/#/@akis:projectsegfau.lt/", + "discord": "https://discord.com/users/845535118285602866/", + "position": "Web developer" + }, + { + "name": "Devnol", + "matrix": "https://matrix.to/#/@devnol:projectsegfau.lt/", + "discord": "https://discord.com/users/429353559566319626/", + "position": "Hoster" + } +] \ No newline at end of file diff --git a/src/lib/Nav.svelte b/src/lib/Nav.svelte index 4344758..57843c9 100644 --- a/src/lib/Nav.svelte +++ b/src/lib/Nav.svelte @@ -1,27 +1,23 @@ - - diff --git a/src/lib/translations.js b/src/lib/translations.js deleted file mode 100644 index 377d8d2..0000000 --- a/src/lib/translations.js +++ /dev/null @@ -1,33 +0,0 @@ -import i18n from "sveltekit-i18n"; - -/** @type {import('sveltekit-i18n').Config} */ -const config = { - loaders: [ - { - locale: "en", - key: "common", - loader: async () => (await import("../i18n/common.json")).default - }, - { - locale: "nb", - key: "common", - loader: async () => (await import("../i18n/nb.json")).default - }, - { - locale: "fr", - key: "common", - loader: async () => (await import("../i18n/fr.json")).default - } - /* - { - locale: "el", - key: "common", - loader: async () => (await import("../i18n/el.json")).default - } - */ - ] -}; - -export const { t, locale, locales, loading, loadTranslations } = new i18n( - config -); diff --git a/src/routes/__layout.svelte b/src/routes/__layout.svelte index 8704142..a4a8088 100644 --- a/src/routes/__layout.svelte +++ b/src/routes/__layout.svelte @@ -1,47 +1,21 @@ - - - import { t } from "$lib/translations"; - import * as global from "../i18n/_global.json"; - import SvelteSeo from "svelte-seo"; - - - - -

{$t("common.CONTACT_TITLE")}

- -

{$t("common.CONTACT_DESCRIPTION")}

- -

{$t("common.CONTACT_OUR_EMAIL")}

- -

{global.EMAIL}

-

{$t("common.CONTACT_EMAIL_SPAM")}

- -

{$t("common.CONTACT_PEOPLE")}

- -
-
-
{global.MIDOU}:
- [Matrix] -
-
{global.MRLERIEN}:
- Discord -
-
{global.AKISBLACK}:
- [Matrix] - Discord -
{global.DEVNOL}:
- [Matrix] - Discord -
-
- - diff --git a/src/routes/donate.md b/src/routes/donate.md new file mode 100644 index 0000000..9bb7f3d --- /dev/null +++ b/src/routes/donate.md @@ -0,0 +1,52 @@ +--- +title: Donate to Project Segfault +description: The ways you can donate to us and more. +--- + +# { title } + +{ description } + +## Reasons to donate to our project. + +If you donate, we will be more motivated to work on the server and host more stuff and maybe even get more hardware. We really recommend you donate any spare money you have if you enjoy or use our services on a daily basis. Thanks! + +## Donation Links + +
+ Monero: 47L7Qsto7XcifY3CdG18ySe5Tt83kpFLDLve9jQwbc9taPBLNGv6ZrJNUKpMG9Nj9zHgCZ4FQMSyt75e8Jvx12JFLtJyFdA + Monero Qr Code +
+ +

+ You can find all of our financial reports on our transparency repository on GitHub. +

+ + diff --git a/src/routes/donate.svelte b/src/routes/donate.svelte deleted file mode 100644 index 52c5a81..0000000 --- a/src/routes/donate.svelte +++ /dev/null @@ -1,75 +0,0 @@ - - - - -

{$t("common.DONATE_TITLE")}

- -

{$t("common.DONATE_DESCRIPTION")}

- -

{$t("common.DONATE_PLEASE_DO")}

- -

{$t("common.DONATE_EXPLANATION")}

- -

{$t("common.DONATE_OK_SURE")}

- -
- {global.MONERO}: - 47L7Qsto7XcifY3CdG18ySe5Tt83kpFLDLve9jQwbc9taPBLNGv6ZrJNUKpMG9Nj9zHgCZ4FQMSyt75e8Jvx12JFLtJyFdA - Monero Qr Code -
- -

- - {$t("common.DONATE_TRANSPARENCY_1")} - {$t("common.DONATE_TRANSPARENCY_2")} - . - -

- - diff --git a/src/routes/faq.md b/src/routes/faq.md new file mode 100644 index 0000000..b0b2ea2 --- /dev/null +++ b/src/routes/faq.md @@ -0,0 +1,22 @@ +--- +title: Frequently Asked Questions +description: Frequently Asked Questions +--- + +# { title } + +## Who is the project owner? + +The project doesn't have a single owner but is made up of a team of people. A list of the people involved and their positions can be found [on our members page](/members). + +## 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 contact you as soon as possible. We generally tend to be active throughout the day. + +## How can I trust your services? + +Well, you really can't. We don't make our logs or anything else public, however, if you would like access to the data we have on you, please contact us. If you're extremely privacy/security conscious, **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 [Contact](/contact). \ No newline at end of file diff --git a/src/routes/faq.svelte b/src/routes/faq.svelte deleted file mode 100644 index 865f3df..0000000 --- a/src/routes/faq.svelte +++ /dev/null @@ -1,44 +0,0 @@ - - - - -

{$t("common.FAQ_TITLE")}

- -

{$t("common.FAQ_OWNER_TITLE")}

-

{$t("common.FAQ_OWNER")}

- -

{$t("common.FAQ_TOXICITY_TITLE")}

-

- {$t("common.FAQ_TOXICITY_1")} - #support:projectsegfau.lt - {$t("common.FAQ_TOXICITY_2")} -

- -

{$t("common.FAQ_TRUST_TITLE")}

-

- {$t("common.FAQ_TRUST_1")} - {$t("common.FAQ_TRUST_2")} - {$t("common.FAQ_TRUST_3")} -

- -

{$t("common.FAQ_CONTACT_TITLE")}

-

- {$t("common.FAQ_CONTACT")} - {$t("common.NAVBAR_CONTACT")} - . -

diff --git a/src/routes/index.md b/src/routes/index.md new file mode 100644 index 0000000..714e571 --- /dev/null +++ b/src/routes/index.md @@ -0,0 +1,16 @@ +--- +title: Home +description: 4 idiots, a Sun server and a Hitachi Compute Rack. +--- + +# Project Segfault + +{ description } + +## What is this? + +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 and pages that explain things about us, or contain useful information about our services. \ No newline at end of file diff --git a/src/routes/index.svelte b/src/routes/index.svelte deleted file mode 100644 index 3b3d77d..0000000 --- a/src/routes/index.svelte +++ /dev/null @@ -1,23 +0,0 @@ - - - - {global.NAME} - - -

{global.NAME}

- -
-

{$t("common.INDEX_DESCRIPTION")}

- -

{$t("common.INDEX_WHAT")}

- - -

{$t("common.INDEX_WHO_ARE_WE")}

- -

{$t("common.INDEX_TELL_ME_MORE")}

- -

{$t("common.INDEX_MORE_INFO")}

-
diff --git a/src/routes/legal/index.md b/src/routes/legal/index.md new file mode 100644 index 0000000..29152bd --- /dev/null +++ b/src/routes/legal/index.md @@ -0,0 +1,11 @@ +--- +title: Legal stuff +--- + +# { title } + +Since we care about transparency, privacy and safety we have created some documents regarding these topics. + +- [Privacy Policy](/legal/privacy-policy) +- [Terms of Service](/legal/tos) +- [Transparency reports](https://github.com/ProjectSegfault/transparency/) \ No newline at end of file diff --git a/src/routes/legal/privacy-policy.md b/src/routes/legal/privacy-policy.md new file mode 100644 index 0000000..c7d424b --- /dev/null +++ b/src/routes/legal/privacy-policy.md @@ -0,0 +1,33 @@ +--- +title: Privacy Policy +description: Our privacy policy +--- + +# { title } + +We take your privacy more seriously than FAANG. + +## We don't collect more information than we need to. + +Here's what we collect. + +- User agent (OS and browser) +- IP address (This is kind of obvious. Every website does this. If you're paranoid about this, get a [good VPN](https://wiki.pussthecat.org/general/privacy-guide/#vpn) or use Tor.) +- When you made a request +- Referrer (Where you came from when you made a request.) + +The log looks like this, for reference: ``127.0.0.1 - - [17/Jun/2022:20:19:26 +0300] "GET / HTTP/2.0" 200 144 "https://projectsegfau.lt/" "Mozilla/5.0 (Windows NT 10.0; rv:100.0) Gecko/20100101 Firefox/100.0" "-"`` + +Some of our services have things like databases and things, for example [Pleroma](https://social.projectsegfau.lt), but that should be pretty obvious the moment you make an account on there. They may collect some things, however we barely even access those databases so you should be fine. + +If you want the data we've collected on you to be sent, please contact us on Matrix in [this room](https://matrix.to/#/#gdpr:projectsegfau.lt). You don't need an account on our Matrix instance in order to chat there, you can choose from a bunch of public instances or make your own. + +## We don't give any of the data we collect to anyone outside of Project Segfault. +What we just described above won't be sold or given to anyone outside of Project Segfault. It could be given to law enforcement IF they have a warrant. + +There is no reason for anyone outside of Project Segfault to see your data. In fact, Project Segfault really has no reason to see your data, unless there's something to suspect. + +## Data may be cleared at any point upon request, but... +As we said, you can request any GDPR/Privacy things in [this Matrix room](https://matrix.to/#/#gdpr:projectsegfau.lt). But, if there's any ongoing investigations and a law enforcement agency contacts us, we will comply. But, we will only do it if we can verify it's official and they have a warrant. + +We hope you can understand our privacy policy. \ No newline at end of file diff --git a/src/routes/legal/tos.md b/src/routes/legal/tos.md new file mode 100644 index 0000000..392511f --- /dev/null +++ b/src/routes/legal/tos.md @@ -0,0 +1,13 @@ +--- +title: Terms of Service +description: We're not anarchists, so we have some rules. +--- + +# { title } + +## { description } + +1. Do not use our Services to (D)DOS or attempt to disrupt someone else's online stability. +2. Do not use our Services to Dox someone. +3. Do not do anything on our Services that would be illegal in Greece or France. +4. Refrain from using our services to harass people. \ No newline at end of file diff --git a/src/routes/members.svelte b/src/routes/members.svelte new file mode 100644 index 0000000..7e6a7ca --- /dev/null +++ b/src/routes/members.svelte @@ -0,0 +1,65 @@ + + + + Members | Project Segfault + + + +
+

Members

+
+ {#each members as { name, discord, matrix, position }} +
+

{name}

+ +

Position: {position}

+ +
+ {#if matrix} + [Matrix] + {/if} + + {#if discord} + Discord + {/if} +
+
+ {/each} +
+
+ + \ No newline at end of file diff --git a/src/routes/minecraft/client-side-mods.md b/src/routes/minecraft/client-side-mods.md new file mode 100644 index 0000000..3c0f621 --- /dev/null +++ b/src/routes/minecraft/client-side-mods.md @@ -0,0 +1,25 @@ +--- +title: Recommended Client Side Mods +description: Recommended client side mods for use when playing on our server. +--- + +# { title } + +{ description } + +*[Click me to go back to the Minecraft page](/minecraft)* + +## How are these mods picked? + +These are picked by our community or are required for server features like voice chatting. + +## Can I use these plugins on Bedrock edition or the Forge mod loader? + +These plugins only support Minecraft Java edition and most only work on the Fabric/Quilt modloaders. If you play on Bedrock or Forge mod loader, try to find an alternative to these. Mods like Simple Voice Chat have no alternative on Bedrock, sorry. + +## The list + +- [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/) +- [Simple Voice Chat](https://modrinth.com/mod/simple-voice-chat/) +- Any optimization mod (we recommend at least Sodium, but you can find more on [Modrinth](https://modrinth.com/).) \ No newline at end of file diff --git a/src/routes/minecraft/client-side-mods.svelte b/src/routes/minecraft/client-side-mods.svelte deleted file mode 100644 index bd492e9..0000000 --- a/src/routes/minecraft/client-side-mods.svelte +++ /dev/null @@ -1,43 +0,0 @@ - - - - -

{$t("common.MINECRAFT_TITLE")}

- -

{$t("common.CSM_GOBACK")}

- -

{$t("common.CSM_TITLE")}

- -

{$t("common.CSM_HOW_THEY_ARE_PICKED")}

- -

{$t("common.CSM_NOTE_BEDROCK")}

- diff --git a/src/routes/minecraft/index.md b/src/routes/minecraft/index.md new file mode 100644 index 0000000..535ff8d --- /dev/null +++ b/src/routes/minecraft/index.md @@ -0,0 +1,59 @@ +--- +title: Minecraft +description: Information about our Minecraft server. +--- + +# { title } + +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. + +## How do I join? + +If you would like to join, please join our Matrix space or Discord server and ask a project member to whitelist your account. The links to either the Matrix or the Discord can be found on the footer of the page. + +## 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 server purposely. + +## 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!* + +## Links + +[Dynmap](https://map.mc.projectsegfau.lt/) + +[MC Server Connector for iOS](https://apps.apple.com/us/app/mc-server-connector/id1548251304/) + +[MC Server Connector for Android](https://play.google.com/store/apps/details?id=com.smokiem.mcserverconnector/) + +## Recommended Client Side Mods + +[Click me for a list of recommended client side mods.](/minecraft/client-side-mods/) + +## Plugin List + +A list of plugins we use on our server via PaperMC. + +*This is a manually made list of our plugins, so it might not reflect the plugins currently on the server.* + +- BlockLocker +- CoreProtect +- [Dynmap](https://map.mc.projectsegfau.lt/) +- EssentialsX (EssentialsXDiscord, EssentialsXGeoIP) +- Geyser & Floodgate +- LuckPerms +- mcMMO ([Click here to download our build of mcMMO.](https://dl.odyssey346.dev/Software/mcMMO.jar)) +- TabTPS +- Vault +- ViaVersion (You may only connect from a base version and its subversions (1.18, 1.18.1, 1.18.2). You cannot connect from a major version older or newer than the major version the server is running.) +- PlugMan +- CombatLogX +- Simple Voice Chat \ No newline at end of file diff --git a/src/routes/minecraft/index.svelte b/src/routes/minecraft/index.svelte deleted file mode 100644 index 0dec221..0000000 --- a/src/routes/minecraft/index.svelte +++ /dev/null @@ -1,87 +0,0 @@ - - - - -

{$t("common.MINECRAFT_TITLE")}

- -

{$t("common.MINECRAFT_DESCRIPTION")}

- -

{$t("common.MINECRAFT_SMP")}

- -

{$t("common.MINECRAFT_JOIN")}

-{$t("common.MINECRAFT_DISCORD")} - -

{$t("common.MINECRAFT_RULES")}

- -

{$t("common.MINECRAFT_RULE_1")}

-

{$t("common.MINECRAFT_RULE_2")}

-

{$t("common.MINECRAFT_RULE_3")}

-

{$t("common.MINECRAFT_RULE_4")}

- -

{$t("common.MINECRAFT_IP")}

- -

Java: {global.MINECRAFT_JAVA_IP}

- -

Bedrock: {global.MINECRAFT_BEDROCK_IP}

- -{$t("common.MINECRAFT_NOTE_1")} - -
- -{$t("common.MINECRAFT_NOTE_2")} - -

{$t("common.MINECRAFT_LINKS")}

- -Dynmap - -{$t("common.MINECRAFT_MC_IOS")} - -{$t("common.MINECRAFT_MC_ANDROID")} - -

{$t("common.MINECRAFT_CLIENT_SIDE_MODS")}

- -{$t("common.MINECRAFT_CLIENT_SIDE_MODS_URL")} - -

{$t("common.MINECRAFT_PLUGIN_LIST_TITLE")}

- -

{$t("common.MINECRAFT_PLUGIN_LIST_NOTE")}

- -
    -
  • BlockLocker
  • -
  • CoreProtect
  • -
  • Dynmap
  • -
  • EssentialsX (EssentialsXDiscord, EssentialsXGeoIP)
  • -
  • Geyser & Floodgate
  • -
  • LuckPerms
  • -
  • - mcMMO {$t("common.MINECRAFT_MCMMO")} -
  • -
  • TabTPS
  • -
  • Vault
  • -
  • ViaVersion ({$t("common.MINECRAFT_VIAVERSION_NOTE")})
  • -
  • PlugMan
  • -
  • CombatLogX
  • -
  • Simple Voice Chat
  • -
diff --git a/src/lib/images/Monero.png b/static/Monero.png similarity index 100% rename from src/lib/images/Monero.png rename to static/Monero.png diff --git a/src/lib/images/ProjectSegfault_Desktop_16-9.png b/static/ProjectSegfault_Desktop_16-9.png similarity index 100% rename from src/lib/images/ProjectSegfault_Desktop_16-9.png rename to static/ProjectSegfault_Desktop_16-9.png diff --git a/svelte.config.js b/svelte.config.js index 7ba9549..24e611b 100644 --- a/svelte.config.js +++ b/svelte.config.js @@ -1,14 +1,21 @@ 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} */ const config = { // Consult https://github.com/sveltejs/svelte-preprocess // for more information about preprocessors - extensions: [".svelte"], + extensions: [".svelte", ".md"], - preprocess: [preprocess()], + preprocess: [ + preprocess(), + mdsvex({ + extensions: [".md"], + layout: "./src/lib/MDsvexLayout.svelte" + }) + ], kit: { adapter: adapter(),