“Education is the most powerful weapon which you can use to change the world.”
-
-
-
-
-
-
-
-
-
-
-
-
-
- Conceptual Learning
-
-
-
- Building a foundation of brilliance through deep conceptual understanding.
-Elevate your thinking, embrace conceptual learning's power and
-See beyond the surface where concepts become the keys to wisdom.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Life Skills
-
-
-
- Empower yourself with life skills that last a lifetime by
- Unlocking the secrets to a successful and fulfilling life.Craft a meaningful life with essential life skills.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Activity Based Learning
-
-
-
- Engage, explore, excel the magic of activity-based learning and
-Hands-on learning for a head-start in life's journey.
-Turn lessons into adventures with activity-based discovery.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- >
- )
-}
-export default Educ;
\ No newline at end of file
+version https://git-lfs.github.com/spec/v1
+oid sha256:aae1eef29476fea4168f78a602494421c0d05511988f2a720cf456e856a0c46a
+size 4586
diff --git a/frontend/src/components/Firebase/firebase.js b/frontend/src/components/Firebase/firebase.js
index 4713e00..55ec3f7 100644
--- a/frontend/src/components/Firebase/firebase.js
+++ b/frontend/src/components/Firebase/firebase.js
@@ -1,32 +1,3 @@
-import { getAuth, GoogleAuthProvider, signInWithPopup } from 'firebase/auth';
-import firebase from 'firebase/compat/app';
-import 'firebase/compat/firestore';
-
-const firebaseConfig = {
- apiKey: "AIzaSyDifM4s528CHfhVV6pVbbjlLGtj3Nno5Lk",
- authDomain: "final-fc5c7.firebaseapp.com",
- projectId: "final-fc5c7",
- storageBucket: "final-fc5c7.appspot.com",
- messagingSenderId: "240345534935",
- appId: "1:240345534935:web:f8790c2cd95f662777bb92",
- measurementId: "G-588PM66RF7" //please add the measurement id here, current one is from another Firebase project
-};
-
-const app = firebase.initializeApp(firebaseConfig);
-export const auth = getAuth(app);
-export const db = firebase.firestore(app);
-
-// Google Authentication Function
-export const signInWithGoogle = async () => {
- const provider = new GoogleAuthProvider();
- try {
- const result = await signInWithPopup(auth, provider);
- // You can access the Google Access Token and User info here
- const user = result.user;
- console.log('User Info:', user);
- return user;
- } catch (error) {
- console.error('Error signing in with Google:', error);
- throw error; // Rethrow the error to handle it in the calling component
- }
-};
+version https://git-lfs.github.com/spec/v1
+oid sha256:0e8db5f9b2f02db4f92193f3c58bbeb5e5c65dd532185d29588a3a9fa96029cd
+size 1196
diff --git a/frontend/src/components/Firebase/logout.js b/frontend/src/components/Firebase/logout.js
index 7341053..1c3ab62 100644
--- a/frontend/src/components/Firebase/logout.js
+++ b/frontend/src/components/Firebase/logout.js
@@ -1,23 +1,3 @@
-// useLogout.js
-import { useCallback } from 'react';
-import { useNavigate } from 'react-router-dom';
-import { auth } from './firebase'; // Ensure this path is correct
-
-const useLogout = () => {
- const navigate = useNavigate();
-
- const logoutUser = useCallback(async () => {
- try {
- await auth.signOut();
- console.log("User logged out successfully");
- navigate('/', { replace: true }); // Navigate to home after logging out
- } catch (error) {
- console.error("Error logging out:", error);
- // Optional: Add user feedback here (e.g., a toast notification)
- }
- }, [navigate]);
-
- return logoutUser; // Return the logout function
-};
-
-export default useLogout;
+version https://git-lfs.github.com/spec/v1
+oid sha256:f43b35c8dbcb405565d292aadebe1b408894962949d0b090db5f3805bb4b26df
+size 742
diff --git a/frontend/src/components/Firebase/useAuth.js b/frontend/src/components/Firebase/useAuth.js
index 2701a20..b903f05 100644
--- a/frontend/src/components/Firebase/useAuth.js
+++ b/frontend/src/components/Firebase/useAuth.js
@@ -1,21 +1,3 @@
-// useAuth.js
-import { useEffect } from 'react';
-import { useNavigate } from 'react-router-dom';
-import { auth } from './firebase'; // Ensure this path is correct
-
-const useAuth = () => {
- const navigate = useNavigate();
-
- useEffect(() => {
- const unsubscribe = auth.onAuthStateChanged((user) => {
- if (!user) {
- navigate('/', { replace: true }); // Redirect to home if no user is found
- }
- });
-
- // Cleanup subscription on unmount
- return () => unsubscribe();
- }, [navigate]);
-};
-
-export default useAuth;
+version https://git-lfs.github.com/spec/v1
+oid sha256:93697673b84c2dacc1c90a7c170fac03094f1302386337163ad18b80de296b5c
+size 580
diff --git a/frontend/src/components/Footer/Footer.js b/frontend/src/components/Footer/Footer.js
index 3ecc91f..4fcbc56 100644
--- a/frontend/src/components/Footer/Footer.js
+++ b/frontend/src/components/Footer/Footer.js
@@ -1,84 +1,3 @@
-import React from "react";
-import "./footer.css";
-import { FaInstagram, FaLinkedin, FaGithub } from "react-icons/fa";
-import { FaXTwitter } from "react-icons/fa6";
-import { Link } from 'react-router-dom';
-
-function Footer() {
- return (
-
- );
-}
-
-export default Footer;
+version https://git-lfs.github.com/spec/v1
+oid sha256:b37aa4b1cac4143771952fa4cb5bad4d5d9e624521749f5430be46130dda62b9
+size 2561
diff --git a/frontend/src/components/ForgotPassword/ForgotPassword.js b/frontend/src/components/ForgotPassword/ForgotPassword.js
index 68c50fd..1dcb48f 100644
--- a/frontend/src/components/ForgotPassword/ForgotPassword.js
+++ b/frontend/src/components/ForgotPassword/ForgotPassword.js
@@ -1,3 +1,7 @@
+
+version https://git-lfs.github.com/spec/v1
+oid sha256:187f2d3caac4f8a3641c9c9ac6289793a6ac6014130c887c9f2281114a9eb36b
+size 3470
import React, { useState } from "react";
import { useNavigate } from "react-router-dom";
import { auth } from "../Firebase/firebase";
@@ -97,4 +101,4 @@ function ForgotPassword() {
);
}
-export default ForgotPassword;
\ No newline at end of file
+export default ForgotPassword;
diff --git a/frontend/src/components/GoogleButton/GoogleButton.js b/frontend/src/components/GoogleButton/GoogleButton.js
index 98251f5..8b701c8 100644
--- a/frontend/src/components/GoogleButton/GoogleButton.js
+++ b/frontend/src/components/GoogleButton/GoogleButton.js
@@ -1,3 +1,8 @@
+
+version https://git-lfs.github.com/spec/v1
+oid sha256:9bf6b48689aaf05c19642a0da40fbcdfaf13f0105b6f51c54b5ad53da00274e7
+size 1113
+
// src/components/GoogleButton/GoogleButton.js
import { GoogleAuthProvider, signInWithPopup } from 'firebase/auth';
import React from 'react';
@@ -36,3 +41,4 @@ const GoogleButton = () => {
};
export default GoogleButton;
+
diff --git a/frontend/src/components/Login/Login.js b/frontend/src/components/Login/Login.js
index b86d1b5..de0370e 100644
--- a/frontend/src/components/Login/Login.js
+++ b/frontend/src/components/Login/Login.js
@@ -1,3 +1,8 @@
+
+version https://git-lfs.github.com/spec/v1
+oid sha256:c91ce68a0bee7662510163b8794eaa07b2fd13e393820343d0a7883f92942b65
+size 4196
+
import React, { useEffect, useState } from "react";
import { useSignInWithEmailAndPassword } from "react-firebase-hooks/auth";
import { Link, useNavigate } from "react-router-dom";
diff --git a/frontend/src/components/Navbar/Navbar.js b/frontend/src/components/Navbar/Navbar.js
index 1a55f1a..d5e8221 100644
--- a/frontend/src/components/Navbar/Navbar.js
+++ b/frontend/src/components/Navbar/Navbar.js
@@ -1,3 +1,8 @@
+
+version https://git-lfs.github.com/spec/v1
+oid sha256:a618f2a3dca49325c2606c834fffd5a03d3fc184b0a7ce21acd7c44b854baa79
+size 2488
+
import React, { useState } from "react";
import { useNavigate, NavLink, Link } from "react-router-dom"; // Import NavLink for active links
import "./Navbar.css";
@@ -83,3 +88,4 @@ function Navbar() {
}
export default Navbar;
+
diff --git a/frontend/src/components/Quiz/Quiz.js b/frontend/src/components/Quiz/Quiz.js
index f8765db..c4c41cb 100644
--- a/frontend/src/components/Quiz/Quiz.js
+++ b/frontend/src/components/Quiz/Quiz.js
@@ -1,145 +1,3 @@
-import React, { useState } from 'react';
-import './Quiz.css';
-function Quiz() {
- const questions = [
- {
- questionText: "What is the capital of France",
- answerOptions: [
- { answerText: 'New York', isCorrect: false },
- { answerText: 'London', isCorrect: false },
- { answerText: 'Paris', isCorrect: true },
- { answerText: 'Dublin', isCorrect: false },
- ],
- },
- {
- questionText: "Who is the CEO of Tesla",
- answerOptions: [
- { answerText: 'Elon Musk', isCorrect: true },
- { answerText: 'Jack Ma', isCorrect: false },
- { answerText: 'Bill Gates', isCorrect: false },
- { answerText: 'Steve Jobs', isCorrect: false },
- ],
- },
- {
- questionText: "When is India's Independence Day",
- answerOptions: [
- { answerText: '11 Aug', isCorrect: false },
- { answerText: '16 Jun', isCorrect: false },
- { answerText: '12 Dec', isCorrect: false },
- { answerText: '15 Aug', isCorrect: true },
- ],
- },
- {
- questionText: "Who is the Prime Minister of India",
- answerOptions: [
- { answerText: 'Manmohan Singh', isCorrect: false },
- { answerText: 'Narendra Modi', isCorrect: true },
- { answerText: 'Rahul Gandhi', isCorrect: false },
- { answerText: 'Amit Shah', isCorrect: false },
- ],
- },
- {
- questionText : "What is full form of WHO",
- answerOptions : [
- {answerText : "World Hail Organization", isCorrect : false},
- {answerText : "Work Health Organization", isCorrect: false},
- {answerText : "World Health Organization", isCorrect : true},
- {answerText : "Work Health Organization", isCorrect :false},
-
- ],
- },
- {
- questionText : "Who is the Iron Lady of India",
- answerOptions : [
- {answerText : "Priyanka Gandhi", isCorrect : false},
- {answerText : "Sonia Gandhi", isCorrect: false},
- {answerText : "Pratiba Patil", isCorrect : true},
- {answerText : "Indira Gandhi", isCorrect :false},
-
- ],
- },
- {
- questionText : "Name the largest ocean in the World",
- answerOptions : [
- {answerText : "Indian Ocean", isCorrect : false},
- {answerText : "Pacific ocean", isCorrect: true},
- {answerText : "Atlantic Ocean", isCorrect : false},
- {answerText : "Artic Ocean", isCorrect :false},
-
- ],
- },
- {
- questionText : "Who created Bitcoin",
- answerOptions : [
- {answerText : "Satoshi Nakamoto", isCorrect : true},
- {answerText : " Kim Nakamoto", isCorrect: false},
- {answerText : "Bill Gates", isCorrect : false},
- {answerText : "Steve Jobs", isCorrect :false},
-
- ],
- },
- {
- questionText : "Which continent is known as the 'Dark' continent",
- answerOptions : [
- {answerText : "Asia", isCorrect : false},
- {answerText : "Africa", isCorrect: true},
- {answerText : "Australia", isCorrect : false},
- {answerText : "Europe", isCorrect :false},
-
- ],
- },
- {
- questionText : "Which palnet is known as Red Planet",
- answerOptions : [
- {answerText : "Earth", isCorrect : false},
- {answerText : "Saturn", isCorrect: false},
- {answerText : "Venus", isCorrect : false},
- {answerText : "Mars", isCorrect :true},
-
- ],
- },
- ];
-
- const [currentQuestion, setCurrentQuestion] = useState(0);
- const [showScore, setShowScore] = useState(false);
- const [score, setScore] = useState(0);
-
- const handleAnswerButtonClick = (isCorrect) => {
- if (isCorrect) {
-
- setScore(score + 1);
- }
- const nextQuestion = currentQuestion + 1;
- if (nextQuestion < questions.length) {
- setCurrentQuestion(nextQuestion);
- } else {
- setShowScore(true);
- }
- };
-
- return (
-
- );
-};
-
-const styles = {
- card: {
- padding: '20px',
- border: '1px solid #ddd',
- borderRadius: '5px',
- width: '300px',
- margin: '10px auto',
- textAlign: 'center',
- boxShadow: '0 4px 8px rgba(0, 0, 0, 0.1)',
- },
- button: {
- padding: '10px 15px',
- backgroundColor: '#6200ea',
- color: '#fff',
- border: 'none',
- borderRadius: '5px',
- cursor: 'pointer',
- }
-};
-
-export default ProfileCard;
+version https://git-lfs.github.com/spec/v1
+oid sha256:d91a986b1fbd2e533b2980c7dc6aefdd8d1ca2fae0fdb629a04a8ae8b27d4718
+size 985
diff --git a/frontend/src/index.js b/frontend/src/index.js
index 63478bf..b0c0e2d 100644
--- a/frontend/src/index.js
+++ b/frontend/src/index.js
@@ -1,22 +1,3 @@
-import React from 'react';
-import 'bootstrap/dist/css/bootstrap.css';
-import 'bootstrap/dist/css/bootstrap.min.css';
-import ReactDOM from 'react-dom';
-import App from './App';
-import reportWebVitals from './reportWebVitals';
-import { BrowserRouter } from 'react-router-dom';
-import { Toaster } from "react-hot-toast";
-
-
-const root = document.getElementById('root');
-ReactDOM.render(
-
-
-
-
-
- ,
- root
-);
-reportWebVitals();
-
+version https://git-lfs.github.com/spec/v1
+oid sha256:2b22625dbec47608e73d98fdccab125f1d08248f8198d04e8661c9abbe778bcd
+size 530
diff --git a/frontend/src/pages/About/About.js b/frontend/src/pages/About/About.js
index 4f6e452..28244fe 100644
--- a/frontend/src/pages/About/About.js
+++ b/frontend/src/pages/About/About.js
@@ -1,117 +1,3 @@
-import React from 'react';
-import { Swiper, SwiperSlide } from 'swiper/react';
-import { EffectCoverflow, Pagination, Navigation } from 'swiper/modules';
-import 'swiper/css';
-import 'swiper/css/effect-coverflow';
-import 'swiper/css/pagination';
-import 'swiper/css/navigation';
-import './About.css';
-
-const About = () => {
- const galleryData = [
- {
- title: 'Introduction to Algebra',
- subtitle: 'Master the basics of algebraic expressions and equations',
- img: './images/1.jpg',
- link: 'https://example.com/courses/introduction-to-algebra',
- },
- {
- title: 'Shakespearean Literature',
- subtitle: 'Explore the works of William Shakespeare in depth',
- img: './images/2.jpg',
- link: 'https://example.com/courses/shakespearean-literature',
- },
- {
- title: 'World History',
- subtitle: 'Understand key events that shaped our modern world',
- img: './images/3.jpg',
- link: 'https://example.com/courses/world-history',
- },
- {
- title: 'Introduction to Biology',
- subtitle: 'Learn the fundamentals of life sciences',
- img: './images/4.jpg',
- link: 'https://example.com/courses/introduction-to-biology',
- },
- {
- title: 'Art History and Appreciation',
- subtitle:
- 'Explore the evolution of art through various cultures and eras',
- img: './images/5.jpg',
- link: 'https://example.com/courses/art-history-appreciation',
- },
- {
- title: 'Financial Literacy',
- subtitle: 'Learn how to manage personal finances and investments',
- img: './images/8.jpg',
- link: 'https://example.com/courses/financial-literacy',
- },
- {
- title: 'Public Speaking Essentials',
- subtitle: 'Develop confidence and skill in delivering speeches',
- img: './images/11.jpg',
- link: 'https://example.com/courses/public-speaking-essentials',
- },
- ];
-
- return (
-
-
-
-
-
-
About Us
-
- Our platform offers a wide array of courses tailored to develop
- your skills across diverse areas. In addition to this, we provide
- professional career guidance and valuable insights into loans and
- grants, ensuring you have the support needed to thrive in your
- educational and career pursuits.
-
-
-
-
-
-
-
Our Gallery
-
- {galleryData.map((item, index) => (
-
-
-
-
-
-
{item.title}
- {item.subtitle}
-
-
- ))}
-
-
-
- );
-};
-
-export default About;
+version https://git-lfs.github.com/spec/v1
+oid sha256:adacd84b27c31633b83ab23db33962c565eb1f57f9693a2fcc1cdcbdc9e60703
+size 3435
diff --git a/frontend/src/pages/Contact/Contact.js b/frontend/src/pages/Contact/Contact.js
index e26da85..fb6665a 100644
--- a/frontend/src/pages/Contact/Contact.js
+++ b/frontend/src/pages/Contact/Contact.js
@@ -1,83 +1,3 @@
-import React, { useState } from "react";
-import { BsPerson, BsEnvelope } from "react-icons/bs";
- // Importing Bootstrap Icons for person and envelope icons
-import './Contact.css'
-function Contact() {
- const [isSubmitted, setIsSubmitted] = useState(false);
-
- const handleSubmit = (event) => {
- event.preventDefault();
- // Here you would typically handle the form submission,
- // e.g., sending data to a server
- setIsSubmitted(true);
- };
-
- return (
-
- The page you are looking for is not available!
-
-
-
- Home
-
-
-
-
-
- );
-};
-
-export default Error;
+version https://git-lfs.github.com/spec/v1
+oid sha256:f29129c31994dfc156e064b68d291d0c5d63bb943eb90d1b326709861a8cff62
+size 968
diff --git a/frontend/src/pages/GoogleTranslate.jsx b/frontend/src/pages/GoogleTranslate.jsx
new file mode 100644
index 0000000..e14c407
--- /dev/null
+++ b/frontend/src/pages/GoogleTranslate.jsx
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:3f9580cae113ec8316aa0961975664eea9b1815a88460c0b7c7cd5c81d0f77c1
+size 4586
diff --git a/frontend/src/pages/Home/Hom.js b/frontend/src/pages/Home/Hom.js
index 053ff78..ea4c6f6 100644
--- a/frontend/src/pages/Home/Hom.js
+++ b/frontend/src/pages/Home/Hom.js
@@ -1,122 +1,3 @@
-import React, { useEffect, useState } from "react";
-import { Link } from "react-router-dom";
-import "./Hom.css";
-import Faqs from "./Faqs";
-
-export default function Hom() {
- useEffect(() => {
- const script = document.createElement("script");
- script.src =
- "https://unpkg.com/@dotlottie/player-component@latest/dist/dotlottie-player.mjs";
- script.type = "module";
- document.body.appendChild(script);
-
- return () => {
- document.body.removeChild(script);
- };
- }, []);
-
- const [showScrollTop, setShowScrollTop] = useState(false);
-
- useEffect(() => {
- const handleScroll = () => {
- setShowScrollTop(window.scrollY > 120);
- };
-
- window.addEventListener("scroll", handleScroll);
- return () => {
- window.removeEventListener("scroll", handleScroll);
- };
- }, []);
-
- const cardDetails = [
- {
- title: "Education",
- description:
- "Get complete understanding of concepts. Adapt life skills. Gain general knowledge and enjoy activity-based learning.",
- image: "./images/e3.png",
- action: "Learn Now",
- link: "https://wikiedu.org/"
- },
- {
- title: "Career",
- description:
- "Explore career opportunities and make yourself ready for employment in various fields. Learn how to build your own startup and become a successful entrepreneur.",
- image: "./images/e4.png",
- action: "Explore Now",
- link: "https://en.wikipedia.org/wiki/Career"
- },
- {
- title: "Loans and Grants",
- description:
- "Complete information about loans, grants, and scholarships. Simple procedure and steps to apply easily.",
- image: "./images/e5.png",
- action: "Check Now",
- link: "https://enyanjyoti.vercel.app/loan"
- },
- ];
-
- return (
-
-
- {showScrollTop && (
-
- )}
-
-
-
-
-
-
-
- Dive into the World of Knowledge, Skills and Wisdom
-
-
- Empower yourself with our comprehensive learning platform
-
-
-
- Sign Up
-
-
- Login
-
-
-
-
-
-
- {cardDetails.map((item, index) => (
-
-
-
{item.title}
-
-
-
-
{item.description}
-
-
-
-
-
- ))}
-
-
-
-
-
-
-
- );
-}
+version https://git-lfs.github.com/spec/v1
+oid sha256:15c06f319606630ba61e9a0978056288bc7d04d0695c6733c59373505487fd2d
+size 4020
diff --git a/frontend/src/pages/Loan/Loan.js b/frontend/src/pages/Loan/Loan.js
index 72caffe..8f34d4b 100644
--- a/frontend/src/pages/Loan/Loan.js
+++ b/frontend/src/pages/Loan/Loan.js
@@ -1,163 +1,3 @@
-import React, { useState } from 'react';
-import './Loan.css'; // Import your custom CSS file
-
-const Loan = () => {
- const [loanAmount, setLoanAmount] = useState('');
- const [interestRate, setInterestRate] = useState('');
- const [loanTerm, setLoanTerm] = useState('');
- const [paymentFrequency, setPaymentFrequency] = useState('monthly');
- const [calculationResult, setCalculationResult] = useState(null);
-
- const calculateLoan = () => {
- const principal = parseFloat(loanAmount);
- const annualRate = parseFloat(interestRate) / 100;
- const termInYears = parseFloat(loanTerm);
-
- if (isNaN(principal) || isNaN(annualRate) || isNaN(termInYears)) {
- alert('Please enter valid numbers for all fields.');
- return;
- }
-
- // Determine the number of payments per year and the interest rate per payment based on frequency
- let paymentsPerYear;
- if (paymentFrequency === 'monthly') {
- paymentsPerYear = 12;
- } else if (paymentFrequency === 'biweekly') {
- paymentsPerYear = 26;
- } else {
- paymentsPerYear = 52;
- }
-
- const ratePerPeriod = annualRate / paymentsPerYear;
- const totalPayments = termInYears * paymentsPerYear;
-
- // Calculate the payment per period using the amortization formula
- const paymentPerPeriod = (principal * ratePerPeriod * Math.pow(1 + ratePerPeriod, totalPayments)) /
- (Math.pow(1 + ratePerPeriod, totalPayments) - 1);
-
- const totalPayment = paymentPerPeriod * totalPayments;
- const totalInterest = totalPayment - principal;
-
- setCalculationResult({
- paymentPerPeriod: paymentPerPeriod.toFixed(2),
- totalPayment: totalPayment.toFixed(2),
- totalInterest: totalInterest.toFixed(2),
- frequency: paymentFrequency.charAt(0).toUpperCase() + paymentFrequency.slice(1)
- });
- };
-
- return (
-
-
Understanding Loans and Grants
-
-
-
-
What is a Loan?
-
- A loan is a sum of money that is borrowed and is expected to be paid back with interest.
- Loans can be secured (backed by collateral) or unsecured (not backed by collateral).
-
- A grant is a financial award given by a government agency, organization, or individual for a specific purpose,
- and it does not need to be paid back.
-