From 7728dff812cffe56698733923741710e81db042a Mon Sep 17 00:00:00 2001 From: Mastan Sayyad Date: Thu, 27 Jun 2024 03:00:35 +0530 Subject: [PATCH 1/6] Update index.js --- src/index.js | 50 +++++++++++++++++++++++--------------------------- 1 file changed, 23 insertions(+), 27 deletions(-) diff --git a/src/index.js b/src/index.js index db119b58..c33d4aae 100644 --- a/src/index.js +++ b/src/index.js @@ -1,7 +1,6 @@ import React from 'react'; import ReactDOM from 'react-dom'; import './index.css'; -// import App from './App'; import reportWebVitals from './reportWebVitals'; import Preloader from './Components/Preloader'; @@ -9,29 +8,29 @@ const coords = { x: 0, y: 0 }; const circles = document.querySelectorAll(".circle"); const colors = [ - "darkturquoise", - "darkturquoise", - "darkturquoise", - "darkturquoise", - "darkturquoise", - "darkturquoise", - "darkturquoise", - "darkturquoise", + "#ff21bc", + "#ff21bc", + "#ff21bc", + "#ff21bc", + "#ff21bc", + "#ff21bc", + "#ff21bc", + "#ff21bc", "#3fbcc0c6", - "darkturquoise", - "darkturquoise", - "darkturquoise", + "#ff21bc", + "#ff21bc", + "#ff21bc", "#3fbcc0c6", - "darkturquoise", - "darkturquoise", - "darkturquoise", - "darkturquoise", - "darkturquoise", - "darkturquoise", - "darkturquoise", - "darkturquoise", - "darkturquoise", - "darkturquoise", + "#ff21bc", + "#ff21bc", + "#ff21bc", + "#ff21bc", + "#ff21bc", + "#ff21bc", + "#ff21bc", + "#ff21bc", + "#ff21bc", + "#ff21bc", ]; circles.forEach(function (circle, index) { @@ -42,9 +41,10 @@ circles.forEach(function (circle, index) { window.addEventListener("mousemove", function (e) { coords.x = e.pageX; - coords.y = e.pageY; + coords.y = e.pageY - window.scrollY; // Adjust for vertical scroll position }); + function animateCircles() { let x = coords.x; let y = coords.y; @@ -69,13 +69,9 @@ animateCircles(); ReactDOM.render( - {/* */} , document.getElementById('root') ); -// If you want to start measuring performance in your app, pass a function -// to log results (for example: reportWebVitals(console.log)) -// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals reportWebVitals(); From 5b934a01e8146d5d3fdc871acfc01780eac9d0b8 Mon Sep 17 00:00:00 2001 From: Mastan Sayyad Date: Thu, 27 Jun 2024 03:00:50 +0530 Subject: [PATCH 2/6] Update index.html --- public/index.html | 46 +++++++++++++++++++--------------------------- 1 file changed, 19 insertions(+), 27 deletions(-) diff --git a/public/index.html b/public/index.html index e506a39b..7194fea4 100644 --- a/public/index.html +++ b/public/index.html @@ -12,7 +12,6 @@ @@ -97,27 +98,18 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- - - - +
+
+
+
+
+
+
+
+
+
+
+
+ + From 0c8e049ab56064de00761bf3a2c7ac9d42df1044 Mon Sep 17 00:00:00 2001 From: Mastan Sayyad Date: Thu, 27 Jun 2024 03:01:13 +0530 Subject: [PATCH 3/6] Update RopContainer.css --- src/Components/TopContainer.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Components/TopContainer.css b/src/Components/TopContainer.css index 0c739205..35ec0e81 100644 --- a/src/Components/TopContainer.css +++ b/src/Components/TopContainer.css @@ -13,7 +13,7 @@ box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.4); position: sticky; top: 0; - z-index: 99999; + z-index: 1100; } #list { From 2ce118494bdd30938f8c27f7001f35c55d593feb Mon Sep 17 00:00:00 2001 From: Mastan Sayyad Date: Thu, 27 Jun 2024 03:01:24 +0530 Subject: [PATCH 4/6] Update Footer.css --- src/Components/Footer.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Components/Footer.css b/src/Components/Footer.css index 0b7dae1e..e3c376ed 100644 --- a/src/Components/Footer.css +++ b/src/Components/Footer.css @@ -2,15 +2,18 @@ background-color: #19162c; color: white; padding: 2.5rem 2.5rem 1rem 2.5rem; + z-index: 1000; } .footer-container { display: flex; + z-index: 1000; } .footer-container-md { display: flex; justify-content: space-between; + z-index: 1000; } .footer-1 { @@ -27,6 +30,7 @@ width: 60%; display: flex; justify-content: space-evenly; + z-index: 1000; } .footer-2 { From 4db7727005cb29e6fa75dae66ab56cac82f50045 Mon Sep 17 00:00:00 2001 From: Mastan Sayyad Date: Thu, 27 Jun 2024 03:01:39 +0530 Subject: [PATCH 5/6] Update Container.css --- src/Components/Container.css | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Components/Container.css b/src/Components/Container.css index 10737972..679edefc 100644 --- a/src/Components/Container.css +++ b/src/Components/Container.css @@ -20,6 +20,7 @@ justify-content: space-between; align-items: center; position: relative; + z-index: 1100; } .topContainer .inputBox { From 8630461d9655a270f47d6e58087fb2d3eb574840 Mon Sep 17 00:00:00 2001 From: Mastan Sayyad Date: Thu, 27 Jun 2024 03:02:37 +0530 Subject: [PATCH 6/6] Update App.css --- src/App.css | 1 + 1 file changed, 1 insertion(+) diff --git a/src/App.css b/src/App.css index 1cf800b4..32873368 100644 --- a/src/App.css +++ b/src/App.css @@ -23,6 +23,7 @@ color: #ffffff; font-size: 14px; padding: 0 10px; + z-index: 1000; } .App::-webkit-scrollbar {