From 4891cc4cfb92f3d871a2c3deb50994522e170f8c Mon Sep 17 00:00:00 2001 From: Pranjal Prasoon Date: Thu, 11 Aug 2022 02:06:10 +0530 Subject: [PATCH 1/5] Removed logo --- src/pages/login/login.html | 16 ++++++++-------- src/pages/login/style.css | 15 ++------------- 2 files changed, 10 insertions(+), 21 deletions(-) diff --git a/src/pages/login/login.html b/src/pages/login/login.html index 474d1e1..6c57f3b 100644 --- a/src/pages/login/login.html +++ b/src/pages/login/login.html @@ -13,15 +13,15 @@ Log In Page -
-

Login

+

Register

+
+

+ Whatever you provide us with would be saved locally and not on the + server. +

+
+

diff --git a/src/pages/login/style.css b/src/pages/login/style.css index 4d095a3..c6b776b 100644 --- a/src/pages/login/style.css +++ b/src/pages/login/style.css @@ -20,7 +20,7 @@ body { background: var(--bg-gradient); font-family: var(--font-family); - min-height: 100vh; + height: 100vh; width: 100%; display: flex; justify-content: center; @@ -28,17 +28,6 @@ body { flex-direction: column; padding: 20px 0; } -.logo { - display: flex; - justify-content: center; - align-items: center; - width: 120px; - height: 120px; - margin-bottom: 80px; -} -.logo img { - width: 100%; -} .form-container { padding: 24px; display: flex; @@ -46,7 +35,7 @@ body { align-items: center; flex-direction: column; background-color: var(--light); - border-radius: 8px; + /* border-radius: 8px; */ } .form-container h1 { padding-bottom: 2rem; From c8bf2139cd68912c7739f5fb52dc3dc9de83e04d Mon Sep 17 00:00:00 2001 From: Pranjal Prasoon Date: Thu, 11 Aug 2022 02:23:07 +0530 Subject: [PATCH 2/5] Fixed the colour of the log in button --- src/pages/login/style.css | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/pages/login/style.css b/src/pages/login/style.css index c6b776b..8476a61 100644 --- a/src/pages/login/style.css +++ b/src/pages/login/style.css @@ -86,13 +86,14 @@ body { font-size: 1.2rem; font-family: var(--font-family); cursor: pointer; - border: 2px solid rgba(9, 9, 121, 1); - color: rgba(9, 9, 121, 1); + background: #4990F5; + border: 2px solid #4990F5; + color: white; transition: all 200ms ease-in-out; } .submit-btn:hover { - background: rgba(9, 9, 121, 1); - color: var(--light); + background: white; + color: #4990f5; } @media screen and (max-width: 576px) { From ce14bcb03d74ce88d443a02ca6b1c6abc0e09e8b Mon Sep 17 00:00:00 2001 From: Pranjal Prasoon Date: Thu, 11 Aug 2022 21:57:39 +0530 Subject: [PATCH 3/5] Udated Login Page --- src/pages/login/login.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pages/login/login.html b/src/pages/login/login.html index 6c57f3b..f4a7721 100644 --- a/src/pages/login/login.html +++ b/src/pages/login/login.html @@ -17,7 +17,7 @@

Register

- Whatever you provide us with would be saved locally and not on the + The data that you enter here is saved locally and not sent to any server.

@@ -37,7 +37,7 @@

- +
From 2e675912b7834beb6967ca4b36f2b59b7781c12a Mon Sep 17 00:00:00 2001 From: Vishal Lokare <31512838+vishal-lokare@users.noreply.github.com> Date: Sun, 9 Oct 2022 10:42:22 +0530 Subject: [PATCH 4/5] Login page on startup, README logo fix (#189) * Display Login Page on StartUp for first time users 1/2 (#185) * Added checklog script * checklog to check if user logged in checklog script checks if user has already logged in before to show log in page on start * Redirect to popup after user enters login info * Readme logo fix (#188) * Removed logo * Fixed the colour of the log in button * Udated Login Page * Update README.md Co-authored-by: Pranjal Prasoon Co-authored-by: Vishal Lokare <31512838+vishal-lokare@users.noreply.github.com> Co-authored-by: Pranjal Prasoon <79872203+motaboii@users.noreply.github.com> Co-authored-by: Sumanth Kotikalapudi Co-authored-by: Aditya Srinivas Menon Co-authored-by: Neeraj P Yetheendran <46917698+NXPY123@users.noreply.github.com> Co-authored-by: D PRIYATHAM Co-authored-by: Pranjal Prasoon Co-authored-by: Pranjal Prasoon <79872203+motaboii@users.noreply.github.com> Co-authored-by: Sumanth Kotikalapudi Co-authored-by: Aditya Srinivas Menon --- README.md | 2 +- src/js/checklog.js | 7 +++++++ src/js/popup.html | 5 +++-- src/pages/login/app.js | 5 ++++- 4 files changed, 15 insertions(+), 4 deletions(-) create mode 100644 src/js/checklog.js diff --git a/README.md b/README.md index 61da5f9..84baa66 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ ![Firebase](https://camo.githubusercontent.com/ea0283d34b92d1905070c14ffe1c48412fef80c44232679c0657db176708403f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f46697265626173652d79656c6c6f773f7374796c653d666f722d7468652d6261646765266c6f676f3d666972656261736526)

- AutoJoomer
+ AutoJoomer
AutoJoomer


AutoJoomer extension on Chrome Webstore - Add to your browser

diff --git a/src/js/checklog.js b/src/js/checklog.js new file mode 100644 index 0000000..57aa9d8 --- /dev/null +++ b/src/js/checklog.js @@ -0,0 +1,7 @@ +chrome.storage.local.get(["AutoJoomerUsername"], function (result) { //checks if user has logged in to show login page on opening popup + if (!result.AutoJoomerUsername) { + window.open("/src/pages/login/login.html", "_self"); + } else { + + } + }); diff --git a/src/js/popup.html b/src/js/popup.html index 9705b07..4faa2ff 100644 --- a/src/js/popup.html +++ b/src/js/popup.html @@ -11,7 +11,8 @@ - + +