-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
3 changed files
with
62 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>Register</title> | ||
<link rel="stylesheet" href="loginreg.css"> | ||
</head> | ||
<body> | ||
<div class="wrapper register"> | ||
<h1>Join Pageturners!</h1> | ||
<p>Sign up and be a part of our book-loving community!</p> | ||
<form id="signup-form"> | ||
<input type="email" id="email" placeholder="Enter your email" required> | ||
<input type="password" id = "password" placeholder="Create a password" required> | ||
<button type="submit" class="register">Register</button> | ||
</form> | ||
|
||
|
||
<div class="not-member"> | ||
Already a member? <a href="login.html">Login here</a> | ||
</div> | ||
</div> | ||
<script src="https://www.gstatic.com/firebasejs/10.13.2/firebase-app-compat.js"></script> | ||
<script src="https://www.gstatic.com/firebasejs/10.13.2/firebase-firestore-compat.js"></script> | ||
<script type="module"> | ||
// Import the functions you need from the SDKs you need | ||
import { initializeApp } from "https://www.gstatic.com/firebasejs/10.13.2/firebase-app.js"; | ||
import { getAnalytics } from "https://www.gstatic.com/firebasejs/10.13.2/firebase-analytics.js"; | ||
import {getAuth } from "https://www.gstatic.com/firebasejs/10.13.2/firebase-auth.js"; | ||
import firebase from "firebase/compat/app"; | ||
// Required for side-effects | ||
import "firebase/firestore"; | ||
// TODO: Add SDKs for Firebase products that you want to use | ||
// https://firebase.google.com/docs/web/setup#available-libraries | ||
|
||
// Your web app's Firebase configuration | ||
// For Firebase JS SDK v7.20.0 and later, measurementId is optional | ||
const firebaseConfig = { | ||
apiKey: "AIzaSyAt-SInlPaL2FzwtXrRltIEiV5l8k5HMjg", | ||
authDomain: "pageturners-a831a.firebaseapp.com", | ||
projectId: "pageturners-a831a", | ||
storageBucket: "pageturners-a831a.appspot.com", | ||
messagingSenderId: "304224952392", | ||
appId: "1:304224952392:web:f33dbc84b481e39a44787d", | ||
measurementId: "G-C6DKQSJ1R8" | ||
}; | ||
|
||
// Initialize Firebase | ||
const app = initializeApp(firebaseConfig); | ||
const analytics = getAnalytics(app); | ||
|
||
const auth = getAuth(app); | ||
const db = getFirestore(app); | ||
|
||
|
||
</script> | ||
<script type="module" src="scripts/auth1.js"> </script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters