Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/nishant0708/Counsellor-Web
Browse files Browse the repository at this point in the history
…into profile_dark
  • Loading branch information
nishant0708 committed Jul 27, 2024
2 parents 449ec8c + 04b24e3 commit d0c4d6d
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 19 deletions.
41 changes: 22 additions & 19 deletions src/components/FAQs/FAQs.css
Original file line number Diff line number Diff line change
Expand Up @@ -228,19 +228,32 @@
color: #666;
}

/* FAQs.css */
.modal {
position: absolute;
position: fixed; /* Change from absolute to fixed */
top: 50%;
left: 50%;
right: auto;
bottom: auto;
margin-right: -50%;
transform: translate(-50%, -50%);
background: #fff;
background: white;
padding: 20px;
border-radius: 10px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
text-align: center;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
max-width: 500px;
width: 100%;
z-index: 1000; /* Ensure it is above the overlay */
}

.overlay {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: rgba(0, 0, 0, 0.75);
display: flex;
align-items: center;
justify-content: center;
z-index: 999; /* Ensure it is below the modal */
}

.modal h2 {
Expand All @@ -263,26 +276,16 @@
cursor: pointer;
}

.overlay {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.5);
}

.newsletter-section h2 {
font-size: 40px !important;
}

@media (max-width: 768px) {

.newsletter-section h2 {
font-size: 24px !important;
}

#email {
width: 100%;
}
}
}
25 changes: 25 additions & 0 deletions src/firebase/auth.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
import { getAnalytics } from "firebase/analytics";
import { initializeApp } from "firebase/app";
import { getAuth, GoogleAuthProvider } from "firebase/auth";
import { getDatabase } from "firebase/database";
import { getStorage } from "firebase/storage";

const firebaseConfig = {
apiKey: "AIzaSyCL_bwyE7_rwnAbuEJl5Vr7FD1_e_cOZxw",
authDomain: "counsellor-web-e81b7.firebaseapp.com",
databaseURL: "https://counsellor-web-e81b7-default-rtdb.asia-southeast1.firebasedatabase.app",
projectId: "counsellor-web-e81b7",
storageBucket: "counsellor-web-e81b7.appspot.com",
messagingSenderId: "1055143292636",
appId: "1:1055143292636:web:1397f7974a27bd486e0e19",
measurementId: "G-MJST0MPDZ3"

};

// Initialize Firebase
const app = initializeApp(firebaseConfig);
const analytics = getAnalytics(app);
export const database = getDatabase(app);
export const auth = getAuth();
export const storage = getStorage(app);
export const googleAuthProvider = new GoogleAuthProvider();

0 comments on commit d0c4d6d

Please sign in to comment.