diff --git a/package-lock.json b/package-lock.json index 8f74eae..af0d919 100644 --- a/package-lock.json +++ b/package-lock.json @@ -25,6 +25,7 @@ "react": "^18.2.0", "react-bootstrap": "^2.10.1", "react-dom": "^18.2.0", + "react-icon": "^1.0.0", "react-icons": "^5.3.0", "react-native-linear-gradient": "^2.8.3", "react-redux": "^9.1.2", @@ -8466,6 +8467,24 @@ "babel-plugin-transform-react-remove-prop-types": "^0.4.24" } }, + "node_modules/babel-runtime": { + "version": "5.8.38", + "resolved": "https://registry.npmjs.org/babel-runtime/-/babel-runtime-5.8.38.tgz", + "integrity": "sha512-KpgoA8VE/pMmNCrnEeeXqFG24TIH11Z3ZaimIhJWsin8EbfZy3WzFKUTIan10ZIDgRVvi9EkLbruJElJC9dRlg==", + "license": "MIT", + "peer": true, + "dependencies": { + "core-js": "^1.0.0" + } + }, + "node_modules/babel-runtime/node_modules/core-js": { + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-1.2.7.tgz", + "integrity": "sha512-ZiPp9pZlgxpWRu0M+YWbm6+aQ84XEfH1JRXvfOc/fILWI0VKhLC2LX13X1NYq4fULzLMq7Hfh43CSo2/aIaUPA==", + "deprecated": "core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.", + "license": "MIT", + "peer": true + }, "node_modules/balanced-match": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", @@ -20391,6 +20410,16 @@ "resolved": "https://registry.npmjs.org/react-fast-compare/-/react-fast-compare-3.2.2.tgz", "integrity": "sha512-nsO+KSNgo1SbJqJEYRE9ERzo7YtYbou/OqjSQKxV7jcKox7+usiUVZOAC+XnDOABXggQTno0Y1CpVnuWEc1boQ==" }, + "node_modules/react-icon": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/react-icon/-/react-icon-1.0.0.tgz", + "integrity": "sha512-VzSlpBHnLanVw79mOxyq98hWDi6DlxK9qPiZ1bAK6bLurMBCaxO/jjyYUrRx9+JGLc/NbnwOmyE/W5Qglbb2QA==", + "license": "MIT", + "peerDependencies": { + "babel-runtime": "^5.3.3", + "react": ">=0.12.0" + } + }, "node_modules/react-icons": { "version": "5.3.0", "resolved": "https://registry.npmjs.org/react-icons/-/react-icons-5.3.0.tgz", diff --git a/package.json b/package.json index 1c63e42..5ceeee8 100644 --- a/package.json +++ b/package.json @@ -20,6 +20,7 @@ "react": "^18.2.0", "react-bootstrap": "^2.10.1", "react-dom": "^18.2.0", + "react-icon": "^1.0.0", "react-icons": "^5.3.0", "react-native-linear-gradient": "^2.8.3", "react-redux": "^9.1.2", diff --git a/src/App.js b/src/App.js index 1a8abba..cc8a129 100644 --- a/src/App.js +++ b/src/App.js @@ -1,16 +1,16 @@ import React from "react"; import { Routes, Route } from "react-router-dom"; // Resolved spacing issue -import Navbar from "./Navbar.js"; -import Hom from "./Hom.js"; -import Educ from "./Educ.js"; -import Quiz from "./Quiz.js"; -import Craft from "./Craft.js"; -import Sef from "./Sef.js"; -import Act from "./Act.js"; -import Login from "./Login.js"; -import Signup from "./Signup.js"; -import Footer from "./Footer.js"; -import About from "./About.js"; +import Navbar from "./components/Navbar/Navbar.js"; +import Hom from "./pages/Home/Hom.js"; +import Educ from "./components/Education/Educ.js"; +import Quiz from "./components/Quiz/Quiz.js"; +import Craft from "./components/Craft/Craft.js"; +import Sef from "./components/Sef/Sef.js"; +import Act from "./components/Act/Act.js"; +import Login from "./components/Login/Login.js"; +import Signup from "./components/Signup/Signup.js"; +import Footer from "./components/Footer/Footer.js"; +import About from "./pages/About/About.js"; function App() { return ( diff --git a/src/Craft.js b/src/Craft.js deleted file mode 100644 index d067031..0000000 --- a/src/Craft.js +++ /dev/null @@ -1,114 +0,0 @@ -import React from 'react'; -import './Hom.css'; -function Craft() { - - return ( - -
-
-
-
-
-
-
-

Art and Craft

-

- Learn creative , become creative . -

-
-
-
-
-
-
-

1. Wall Hanging - Bamboo Sticks

-
-
- -
-
-
-
-
-

2.Home Decor- Old Diya DIY

-
-
- -
-
-
-
-
-

3.Ganesh Idol - Paper Clay

-
-
- -
-
-
-
-
-

4. Pen-Pencil holder - Waste Plastic bottles

-
-
- -
-
-
-
-
-

5. Wall paintings - Broken Bangles

-
-
- -
-
-
-
-
-

6. Beautiful Lantern - Waste items

-
-
- -
-
-
-
-
-

7. Garden Planters - Coconut shells

-
-
- -
-
-
-
-
-

8. Table Decor's - Waste LED Bulbs

-
-
- -
-
-
-
-
-

9.Flower Vase - Plastic Spoons

-
-
- -
-
-
-
-
-
-
- -
- ); -} - -export default Craft; diff --git a/src/Act.js b/src/components/Act/Act.js similarity index 100% rename from src/Act.js rename to src/components/Act/Act.js diff --git a/src/Car.js b/src/components/Car/Car.js similarity index 100% rename from src/Car.js rename to src/components/Car/Car.js diff --git a/src/Concep.js b/src/components/Concept/Concep.js similarity index 100% rename from src/Concep.js rename to src/components/Concept/Concep.js diff --git a/src/components/Craft/Craft.js b/src/components/Craft/Craft.js new file mode 100644 index 0000000..3bfc622 --- /dev/null +++ b/src/components/Craft/Craft.js @@ -0,0 +1,116 @@ +import React from 'react'; +import '../../pages/Home/Hom.css'; + + +function Craft() { + + return ( + +
+
+
+
+
+
+
+

Art and Craft

+

+ Learn creative , become creative . +

+
+
+
+
+
+
+

1. Wall Hanging - Bamboo Sticks

+
+
+ +
+
+
+
+
+

2.Home Decor- Old Diya DIY

+
+
+ +
+
+
+
+
+

3.Ganesh Idol - Paper Clay

+
+
+ +
+
+
+
+
+

4. Pen-Pencil holder - Waste Plastic bottles

+
+
+ +
+
+
+
+
+

5. Wall paintings - Broken Bangles

+
+
+ +
+
+
+
+
+

6. Beautiful Lantern - Waste items

+
+
+ +
+
+
+
+
+

7. Garden Planters - Coconut shells

+
+
+ +
+
+
+
+
+

8. Table Decor's - Waste LED Bulbs

+
+
+ +
+
+
+
+
+

9.Flower Vase - Plastic Spoons

+
+
+ +
+
+
+
+
+
+
+ +
+ ); +} + +export default Craft; diff --git a/src/Educ.js b/src/components/Education/Educ.js similarity index 100% rename from src/Educ.js rename to src/components/Education/Educ.js diff --git a/src/firebase.js b/src/components/Firebase/firebase.js similarity index 100% rename from src/firebase.js rename to src/components/Firebase/firebase.js diff --git a/src/Footer.js b/src/components/Footer/Footer.js similarity index 100% rename from src/Footer.js rename to src/components/Footer/Footer.js diff --git a/src/footer.css b/src/components/Footer/footer.css similarity index 100% rename from src/footer.css rename to src/components/Footer/footer.css diff --git a/src/Loan.js b/src/components/Loan/Loan.js similarity index 100% rename from src/Loan.js rename to src/components/Loan/Loan.js diff --git a/src/Login.js b/src/components/Login/Login.js similarity index 100% rename from src/Login.js rename to src/components/Login/Login.js diff --git a/src/Navbar.css b/src/components/Navbar/Navbar.css similarity index 100% rename from src/Navbar.css rename to src/components/Navbar/Navbar.css diff --git a/src/Navbar.js b/src/components/Navbar/Navbar.js similarity index 100% rename from src/Navbar.js rename to src/components/Navbar/Navbar.js diff --git a/src/Quiz.css b/src/components/Quiz/Quiz.css similarity index 100% rename from src/Quiz.css rename to src/components/Quiz/Quiz.css diff --git a/src/Quiz.js b/src/components/Quiz/Quiz.js similarity index 100% rename from src/Quiz.js rename to src/components/Quiz/Quiz.js diff --git a/src/Register.js b/src/components/Register/Register.js similarity index 100% rename from src/Register.js rename to src/components/Register/Register.js diff --git a/src/Sef.js b/src/components/Sef/Sef.js similarity index 100% rename from src/Sef.js rename to src/components/Sef/Sef.js diff --git a/src/Signup.js b/src/components/Signup/Signup.js similarity index 100% rename from src/Signup.js rename to src/components/Signup/Signup.js diff --git a/src/context/AppContext.js b/src/context/AppContext.js new file mode 100644 index 0000000..e69de29 diff --git a/src/hooks/useCustomHook.js b/src/hooks/useCustomHook.js new file mode 100644 index 0000000..e69de29 diff --git a/src/About.css b/src/pages/About/About.css similarity index 100% rename from src/About.css rename to src/pages/About/About.css diff --git a/src/About.js b/src/pages/About/About.js similarity index 100% rename from src/About.js rename to src/pages/About/About.js diff --git a/src/pages/Contact/Contact.css b/src/pages/Contact/Contact.css new file mode 100644 index 0000000..e69de29 diff --git a/src/Contact.js b/src/pages/Contact/Contact.js similarity index 100% rename from src/Contact.js rename to src/pages/Contact/Contact.js diff --git a/src/Hom.css b/src/pages/Home/Hom.css similarity index 100% rename from src/Hom.css rename to src/pages/Home/Hom.css diff --git a/src/Hom.js b/src/pages/Home/Hom.js similarity index 100% rename from src/Hom.js rename to src/pages/Home/Hom.js diff --git a/src/styles/main.css b/src/styles/main.css new file mode 100644 index 0000000..e69de29 diff --git a/src/utils/helpers.js b/src/utils/helpers.js new file mode 100644 index 0000000..e69de29