From 3b150e6378da7e3ffc63262f2ebde427a7cfc69e Mon Sep 17 00:00:00 2001 From: Rayushkasud Date: Sat, 21 Aug 2021 19:33:47 +0530 Subject: [PATCH 01/21] files for firebase login and signup added --- .DS_Store | Bin 0 -> 6148 bytes public/.DS_Store | Bin 0 -> 6148 bytes public/Welcome.html | 253 +++++++++++++++++++++++++++++++++ public/css/main.css | 1 + public/index.html | 2 +- public/js/login.js | 29 +++- public/js/registration.js | 44 ++++++ public/login.html | 284 ++++++++++++++++++++++++++++++++++---- public/registration.html | 243 ++++++++++++++++++++++++++++++++ 9 files changed, 829 insertions(+), 27 deletions(-) create mode 100644 .DS_Store create mode 100644 public/.DS_Store create mode 100644 public/Welcome.html create mode 100644 public/js/registration.js create mode 100644 public/registration.html diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..2458c6e4015789daf4514f00ee75840e843e0291 GIT binary patch literal 6148 zcmeHK&2G~`5S~p#Y7155fJ84yd*K#EX{h))Ah{tu^iT<51P4H^9jDaD^+vJNsDvQD z27L*hgD2o|;G5m0stItZgiy63&3?19^R4Y~Ew7h|#9)?e5w(fPgEKaKG`}$(XJ4^~ z&9s0*&k<8Z1&ygo?^mi_;(t_t*KUK3D5WXZ?eh8+q$uCZ)F{qWj4FObcHrIb+7J=7 zXhJivGVn*g)PDI}Z9Fd~cHXb?Buk63*ZU?KYt0+2bh zEc*8!b!7ixZ`qNH$NgSMZa>&wE`9ILy{#vEhbLzr79W?NKI=y&fmdDIEsH4cKHmf|j|F6)l2GpB%4z$tJA1?-2+ zyLp8<9Mvh{6u6!W@b^K&83T)zLH+4KqmKZbu750cB z3>|rC>jI0FK|?2D4+JP70dinVUg3}^-}8Uy^>HK%8aCY16oJ!AQ`U|FU&;$BcDz;&4GO^_>}1FO57joY~FZD-;LuC zeN?3o(;kT7HY8gb6oOo)5sl$-f~5O&wrPTbq%RqgOnOTDXzkHsU<2Etm#2X^Sy_)V z#_?B@;$*F{%BM9(T6{%Pu-!m;T3i{yUpCARECX2jn3#hU8}Ly(_n-A-oYAb;w(v+$ z@)aB86B5+@#oC=FBNh9bI|_p&Z8pENQn|8qY1=SO!@Od?wukZ5PMvg;be-`_{`AC2 zhpwtW!#e)1JMQzqpB~n(KZ>K&2_kX}#yUlssn%!?T>sI?tdpzCfA|CfAPmQwkgE!p@EMf?DcO}N zbe-7aD2yZiiY)^!1Dyw|IT$^ce;5~Vvab@^awWTtK?OpK2BmM|yQk*G_} zfMy`iKv_Q4`1!xT`Tn1G(odQJ&A@-f0IT%uUKc5;vvnmoe%4yhBPbVcw~#1YP^jZr gRQOT63l)Msi&uahg$s#jf#@FrL4z(d1OJqPU)ZbuApigX literal 0 HcmV?d00001 diff --git a/public/Welcome.html b/public/Welcome.html new file mode 100644 index 0000000..fb0bdd4 --- /dev/null +++ b/public/Welcome.html @@ -0,0 +1,253 @@ + + + + + + VoluntYOU | Sign Up/Sign In + + + + + + + + + + + + + + + + + + + + + + + +
+
+ +
+ +
+
+
+ + VoluntYou Logo + +
+ + + Login + + Sign In + + + + +
+ + + +
+
+
+ + +
+
+
+ +
+ +
+
+
+
+
+ +
+ Facebook Icon +
+ +
+ Instagram Icon +
+ +
+ Email Icon +
+ +
+ Linkedin Icon +
+ +
+ + +
+
+ Copyright 2021 Julianna Schneider. All Rights Reserved. Patent Pending. Registered + Domestic Nonprofit + Corporation. +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/public/css/main.css b/public/css/main.css index 11bdbbb..f9ff8b9 100644 --- a/public/css/main.css +++ b/public/css/main.css @@ -116,3 +116,4 @@ label.btn.selected::before { background-color: #b1873f!important; border-color: #b1873f!important; } + diff --git a/public/index.html b/public/index.html index 73bd449..b6c0645 100644 --- a/public/index.html +++ b/public/index.html @@ -42,7 +42,7 @@ aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation"> - + + +
+
+
+ +
+ Facebook Icon +
+ +
+ Instagram Icon +
+ +
+ Email Icon +
+ +
+ Linkedin Icon +
+ +
+ + +
+
+ Copyright 2021 Julianna Schneider. All Rights Reserved. Patent Pending. Registered + Domestic Nonprofit + Corporation. +
+ +
+ + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file From 81355a99005c675918e8a94733a03b4bb6ff4eb8 Mon Sep 17 00:00:00 2001 From: Rayushkasud Date: Mon, 23 Aug 2021 14:29:05 +0530 Subject: [PATCH 02/21] Minor error in registration.html rectified --- public/login.html | 6 +++++- public/registration.html | 5 +---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/public/login.html b/public/login.html index 5ea526e..d097a6d 100644 --- a/public/login.html +++ b/public/login.html @@ -133,6 +133,10 @@

Login

+ @@ -236,7 +240,7 @@

Login

btn.addEventListener("show.bs.dropdown", about); - + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - + + firebase.auth().setPersistence(firebase.auth.Auth.Persistence.SESSION) + .then(() => { + // Existing and future Auth states are now persisted in the current + // session only. Closing the window would clear any existing state even + // if a user forgets to sign out. + // ... + // New sign-in will be persisted with session persistence. + return firebase.auth().signInWithEmailAndPassword(email, password); + }) + .catch((error) => { + // Handle Errors here. + var errorCode = error.code; + var errorMessage = error.message; + }); + diff --git a/public/registration.html b/public/registration.html index 2a4957d..56a2cb0 100644 --- a/public/registration.html +++ b/public/registration.html @@ -58,6 +58,20 @@ +
@@ -75,47 +89,40 @@

Sign Up

- +
-
Valid
-
Please enter your email address
-
-
Valid
+
-
Please enter your password
- -
-
- - -
Valid
+
+
+ + +
+ +
+ +
+ +
-
Please re-enter your password
- - -
- -
- - - -