diff --git a/src/App.js b/src/App.js
index 55a15301..e8f53331 100644
--- a/src/App.js
+++ b/src/App.js
@@ -52,9 +52,22 @@ function App() {
-
-
-
+
+
+
+
>
);
diff --git a/src/Components/Firebase/Firebase.js b/src/Components/Firebase/Firebase.js
index 93942398..4b4a51fc 100644
--- a/src/Components/Firebase/Firebase.js
+++ b/src/Components/Firebase/Firebase.js
@@ -2,7 +2,7 @@
import { initializeApp } from "firebase/app";
import { getAnalytics } from "firebase/analytics";
import { getFirestore } from "firebase/firestore";
-import { getAuth, GoogleAuthProvider, signInWithPopup, GithubAuthProvider, RecaptchaVerifier, signInWithPhoneNumber } from "firebase/auth";
+import { getAuth, GoogleAuthProvider, GithubAuthProvider, FacebookAuthProvider, signInWithPopup, RecaptchaVerifier, signInWithPhoneNumber } from "firebase/auth";
// Your web app's Firebase configuration
const firebaseConfig = {
@@ -21,8 +21,9 @@ const analytics = getAnalytics(firebaseApp);
const db = getFirestore(firebaseApp);
const googleProvider = new GoogleAuthProvider();
const githubProvider = new GithubAuthProvider();
+const facebookProvider = new FacebookAuthProvider();
const auth = getAuth(firebaseApp);
-export { auth, signInWithPopup, githubProvider, googleProvider, GithubAuthProvider, RecaptchaVerifier, signInWithPhoneNumber };
+export { auth, signInWithPopup, githubProvider, googleProvider, facebookProvider, GithubAuthProvider, FacebookAuthProvider, RecaptchaVerifier, signInWithPhoneNumber };
export { db, analytics, firebaseApp as app };
-export default firebaseApp;
\ No newline at end of file
+export default firebaseApp;
diff --git a/src/Components/Login.css b/src/Components/Login.css
index 8acec7fe..d213dfe4 100644
--- a/src/Components/Login.css
+++ b/src/Components/Login.css
@@ -289,9 +289,10 @@ form.sign-in-form {
}
.panel p {
- font-size: 0.95rem;
+ font-size: 1.1rem;
padding: 0.8rem 0;
color: white;
+ font-family:Arial, Helvetica, sans-serif;
}
.btn.transparent {
diff --git a/src/Components/Login.js b/src/Components/Login.js
index 7c6ef4c8..eca6a885 100644
--- a/src/Components/Login.js
+++ b/src/Components/Login.js
@@ -5,7 +5,7 @@ import '@fortawesome/fontawesome-free/css/all.min.css';
import logImg from './Profile/log.svg';
import registerImg from './Profile/register.svg';
import homeIcon from './FreeLancer/homeicon.png';
-import { auth, googleProvider, githubProvider } from './Firebase/Firebase.js';
+import { auth, googleProvider, githubProvider, facebookProvider } from './Firebase/Firebase.js';
import {
signInWithPopup,
signInWithEmailAndPassword,
@@ -49,7 +49,18 @@ const LogIn = () => {
console.error('GitHub sign-in error:', error);
}
};
-
+ const handleFacebookSignIn = async () => {
+ try {
+ const result = await signInWithPopup(auth, facebookProvider);
+ const user = result.user;
+ localStorage.setItem('user', JSON.stringify(user));
+ console.log('Facebook sign-in success:', user);
+ navigate('/');
+ } catch (error) {
+ console.error('Facebook sign-in error:', error);
+ }
+ };
+
const handleLogin = async (e) => {
e.preventDefault();
const emailPattern = /^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}$/;
@@ -243,9 +254,9 @@ const LogIn = () => {
Connect with Social Magic
-
+
-
+
@@ -341,9 +352,9 @@ const LogIn = () => {
Connect with Social Magic
-
+
-
+
@@ -372,9 +383,22 @@ const LogIn = () => {
Join us today and start collaborating with students from
universities worldwide!
-
+
+
@@ -385,9 +409,22 @@ const LogIn = () => {
Log in to access your account and continue collaborating and
innovating.
-
+
+
diff --git a/src/Components/footer_section/Pricing/pricing.js b/src/Components/footer_section/Pricing/pricing.js
index 5719e82e..ba074a2c 100644
--- a/src/Components/footer_section/Pricing/pricing.js
+++ b/src/Components/footer_section/Pricing/pricing.js
@@ -3,12 +3,15 @@ import React from "react";
import './pricing.css';
import Arrow from '../../projects/arrow.png'
import { Link } from "react-router-dom";
+import homeIcon from '../../../img/homeicon.png';
function Pricing() {
return (
-
+
+
+
Start your 7 day free trial today
Unlock Advanced Features and Maximize Your Potential with UniCollab Pro.