From 416b4358c8d42976acab090884c8f430620b966a Mon Sep 17 00:00:00 2001 From: Sawan Date: Sat, 26 Oct 2024 12:56:14 +0530 Subject: [PATCH] Added animation through out the website --- client/package-lock.json | 24 ++++++++++++++++ client/package.json | 1 + client/src/App.jsx | 6 ++++ client/src/component/About.jsx | 40 +++++++++++++------------- client/src/component/Footer.jsx | 10 +++---- client/src/component/Home.jsx | 11 ++++--- client/src/component/HomePage/Card.jsx | 4 +++ client/src/component/Login.jsx | 6 ++-- client/src/component/Testimonial.jsx | 6 ++-- 9 files changed, 74 insertions(+), 34 deletions(-) diff --git a/client/package-lock.json b/client/package-lock.json index fbb4190..6ccf773 100644 --- a/client/package-lock.json +++ b/client/package-lock.json @@ -23,6 +23,7 @@ "@splinetool/runtime": "^1.0.67", "@splinetool/viewer": "^1.0.67", "antd": "^5.21.3", + "aos": "^3.0.0-beta.6", "axios": "^1.6.8", "bootstrap": "^5.3.3", "bootstrap-icons": "^1.11.3", @@ -2191,6 +2192,17 @@ "node": ">= 8" } }, + "node_modules/aos": { + "version": "3.0.0-beta.6", + "resolved": "https://registry.npmjs.org/aos/-/aos-3.0.0-beta.6.tgz", + "integrity": "sha512-VLWrpq8bfAWcetynVHMMrqdC+89Qq/Ym6UBJbHB4crIwp3RR8uq1dNGgsFzoDl03S43rlVMK+na3r5+oUCZsYw==", + "license": "MIT", + "dependencies": { + "classlist-polyfill": "^1.2.0", + "lodash.debounce": "^4.0.8", + "lodash.throttle": "^4.1.1" + } + }, "node_modules/arg": { "version": "5.0.2", "dev": true, @@ -2625,6 +2637,12 @@ "node": ">= 6" } }, + "node_modules/classlist-polyfill": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/classlist-polyfill/-/classlist-polyfill-1.2.0.tgz", + "integrity": "sha512-GzIjNdcEtH4ieA2S8NmrSxv7DfEV5fmixQeyTmqmRmRJPGpRBaSnA2a0VrCjyT8iW8JjEdMbKzDotAJf+ajgaQ==", + "license": "Unlicense" + }, "node_modules/classnames": { "version": "2.5.1", "license": "MIT" @@ -4973,6 +4991,12 @@ "version": "4.2.1", "license": "MIT" }, + "node_modules/lodash.throttle": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/lodash.throttle/-/lodash.throttle-4.1.1.tgz", + "integrity": "sha512-wIkUCfVKpVsWo3JSZlc+8MB5it+2AN5W8J7YVMST30UrvcQNZ1Okbj+rbVniijTWE6FGYy4XJq/rHkas8qJMLQ==", + "license": "MIT" + }, "node_modules/long": { "version": "5.2.3", "license": "Apache-2.0" diff --git a/client/package.json b/client/package.json index c575244..4fa13b3 100644 --- a/client/package.json +++ b/client/package.json @@ -25,6 +25,7 @@ "@splinetool/runtime": "^1.0.67", "@splinetool/viewer": "^1.0.67", "antd": "^5.21.3", + "aos": "^3.0.0-beta.6", "axios": "^1.6.8", "bootstrap": "^5.3.3", "bootstrap-icons": "^1.11.3", diff --git a/client/src/App.jsx b/client/src/App.jsx index 794387c..b8a336a 100644 --- a/client/src/App.jsx +++ b/client/src/App.jsx @@ -38,6 +38,8 @@ import NotFound from "./component/NotFound"; // import MiniChatbot from "./component/MiniChatbot"; import ProgressBar from "./component/ProgressBar/ProgressBar"; import ProtectedRoute from '../../client/src/component/ProtectedRoute' +import AOS from 'aos'; +import 'aos/dist/aos.css'; // Main Layout Component @@ -125,6 +127,10 @@ function App() { } }; + useEffect(() => { + AOS.init(); + }, []) + return (
diff --git a/client/src/component/About.jsx b/client/src/component/About.jsx index 82ed26a..5d849e4 100644 --- a/client/src/component/About.jsx +++ b/client/src/component/About.jsx @@ -31,15 +31,15 @@ export default function About(props) { return (
-
+
-
+

About Us

Bitbox is like a friendly community where people working on @@ -83,7 +83,7 @@ export default function About(props) {
-
+
aboutVectorImg
@@ -97,12 +97,12 @@ export default function About(props) {
-

+

Our Team

{/* card 1 */} -
+
Anuj Verma is a tech-savvy person who loves working with AI and building websites. He's gained experience through internships and projects, showing that he's ready to do great things in the tech world.
@@ -127,7 +127,7 @@ export default function About(props) {
{/* card 2 */} -
+
Jitendra Kumar: Tech enthusiast skilled in web development and database management, showcasing expertise in projects like weather app and algorithm analyzer, poised for impactful contributions in the tech industry.
@@ -152,7 +152,7 @@ export default function About(props) {
{/* card 3 */} -
+
Harshit Singh: Entry-level software engineer skilled in C, C++, Python, HTML, CSS, and JavaScript. Eager to leverage abilities in problem-solving and project development for organizational growth.
@@ -186,12 +186,12 @@ export default function About(props) {
-

+

Visitors

-
+
@@ -200,7 +200,7 @@ export default function About(props) {

VisitorCount

-
+
{/* */} @@ -210,7 +210,7 @@ export default function About(props) {

Registrations

-
+
@@ -219,7 +219,7 @@ export default function About(props) {

Participants

-
+
{/* */} @@ -237,14 +237,14 @@ export default function About(props) { {/* FAQ */}
-
+

Frequently Asked Questions

- diff --git a/client/src/component/Footer.jsx b/client/src/component/Footer.jsx index de2ab2b..82da063 100644 --- a/client/src/component/Footer.jsx +++ b/client/src/component/Footer.jsx @@ -88,7 +88,7 @@ const Footer = (props) => { {/* Footer container with dynamic background color */}
-
+

Subscribe to our Newsletter

{
{/* Left section with branding and social icons */} -
+

BITBOX

@@ -143,7 +143,7 @@ const Footer = (props) => {
{/* Middle section with About links */} -
+
About
  • @@ -156,7 +156,7 @@ const Footer = (props) => {
{/* Right section with Legal links */} -
+
Legals