From 5f61f9e6308683674b6a216fa4ee03cfb956b235 Mon Sep 17 00:00:00 2001 From: AntoninoP Date: Mon, 12 Aug 2024 19:24:49 +0200 Subject: [PATCH] fix colors --- src/components/CreateServer/CreateServer.jsx | 13 ------------- src/pages/LoginPage/LoginPage.module.scss | 9 ++++----- 2 files changed, 4 insertions(+), 18 deletions(-) diff --git a/src/components/CreateServer/CreateServer.jsx b/src/components/CreateServer/CreateServer.jsx index 097352e..ebe5422 100644 --- a/src/components/CreateServer/CreateServer.jsx +++ b/src/components/CreateServer/CreateServer.jsx @@ -79,19 +79,6 @@ const CreateServer = ({ user, onCreateServer, onSubdomainUpdate, onCancel, noSer return input.replace(/[^a-zA-Z]/g, ''); }; - const getFrameworkSource = () => { - switch (selectedFramework) { - case 'bukkit': - return bukkit; - case 'spigot': - return spigot; - case 'paper': - return paper; - default: - return vanilla; - } - }; - return (
{noServers ? ( diff --git a/src/pages/LoginPage/LoginPage.module.scss b/src/pages/LoginPage/LoginPage.module.scss index 801c3f2..258a477 100644 --- a/src/pages/LoginPage/LoginPage.module.scss +++ b/src/pages/LoginPage/LoginPage.module.scss @@ -1,6 +1,5 @@ $primary-color: #1D1836; $text-color: black; -$background-color: white; $border-radius: 1rem; $padding: 1rem; $font-family: 'Poppins', sans-serif; @@ -10,14 +9,14 @@ html, body { padding: 0; font-family: $font-family; height: 100%; - background-color: $background-color !important; + background-color: white; } .container { display: flex; justify-content: center; align-items: center; - background-color: $background-color; + background-color: white; height: 93vh; } @@ -25,7 +24,7 @@ html, body { .mainCard { width: 60rem; padding: 3rem 0; - background-color: $background-color; + background-color: white; display: flex; justify-content: center; align-items: center; @@ -66,6 +65,6 @@ html, body { .nav { color: $text-color; - background-color: $background-color; + background-color: white; font-size: 2rem; }