From 70a173d02b77d40fe12867766fbb3ae7d541c812 Mon Sep 17 00:00:00 2001 From: blryface <124838505+blryface@users.noreply.github.com> Date: Tue, 3 Sep 2024 20:43:14 -0300 Subject: [PATCH] Rules page --- .vscode/launch.json | 15 +++++++++ components/NavBar.tsx | 8 +++++ pages/index.tsx | 53 ------------------------------- pages/rules.tsx | 74 +++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 97 insertions(+), 53 deletions(-) create mode 100644 .vscode/launch.json create mode 100644 pages/rules.tsx diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..2ba986f --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,15 @@ +{ + // Use IntelliSense to learn about possible attributes. + // Hover to view descriptions of existing attributes. + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + { + "type": "chrome", + "request": "launch", + "name": "Launch Chrome against localhost", + "url": "http://localhost:8080", + "webRoot": "${workspaceFolder}" + } + ] +} \ No newline at end of file diff --git a/components/NavBar.tsx b/components/NavBar.tsx index e0199d4..999b446 100644 --- a/components/NavBar.tsx +++ b/components/NavBar.tsx @@ -1,6 +1,7 @@ import { Menu, Home, + Scale, AtSign, Images, Map, @@ -102,6 +103,13 @@ export default function NavBar({ currentPage }: { currentPage: string }) { Home +
  • + + + + Rules + +
  • diff --git a/pages/index.tsx b/pages/index.tsx index 3c07c9c..c401bfb 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -33,59 +33,6 @@ export default function Home() {

    You can download it from Modrinth: https://modrinth.com/modpack/crsspack.

    - -

    Rules

    - -
      -
    1. - The use of modified clients that give an unfair advantage to players, such as hacked clients, is not permitted. - -
        -
      • - You are not allowed to use them even for their legitimate features, such as a fullbright option. -
      • -
      • - If admins suspect you are hacking you will be immediately banned. -
      • -
      -
    2. -
    3. - Do not modify or destroy (grief) other player's constructions without their consent, or steal any of their items. - -
        -
      • - You are allowed to visit any build, as long as you don't take anything, and if you do you pay them back. -
      • -
      • - You should ask permission in the discord or the in-game chat before modifying builds. -
      • -
      -
    4. -
    5. - Follow the laws of the nations you are in to avoid issues with other players and making the server unfun to play. - -
        -
      • - If you feel the laws are too vague, feel free to ask the people in charge of them what they meanr with something, and feel free to contribute to them. Complaining that they don't make sense won't get you anywhere. -
      • -
      • - Breaking laws isn't bannable, the nation you are in will take measures and punish you for your actions as they see fit. -
      • -
      -
    6. -
    7. - Do not attempt to make nations where the territory is already owned by another nation. - -
        -
      • - You can make it near the borders of a nation but never inside one, you can't just take existing territory as your own. -
      • -
      • - Other nations are free to claim more territory whenever they feel like it, as long as it doesnt take other nations' territory with it. -
      • -
      -
    8. -