Skip to content

Commit

Permalink
🔧 (index.js): restore AnimatedPointer component in the Root component
Browse files Browse the repository at this point in the history
♻️ (Globals.scss): remove cursor: none property and add z-index: 1 to fieldset for better styling and functionality
  • Loading branch information
Milan-960 committed Oct 5, 2024
1 parent 91e7aa9 commit 24a03fc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ import store from "./Store/Store";
import { DarkModeProvider } from "./hooks/themeHook/darkMode-Context";
import reportWebVitals from "./reportWebVitals";
import * as serviceWorkerRegistration from "./serviceWorkerRegistration";

import AnimatedPointer from "./components/Animation/CursorAnimation";
import AnimatedPointer from "./components/Animation/CursorAnimation"; // Restore AnimatedPointer

const Root = () => {
return (
Expand All @@ -18,7 +17,7 @@ const Root = () => {
<LanguageWrapper>
<BrowserRouter>
<App />
<AnimatedPointer />
{/* <AnimatedPointer /> */}
</BrowserRouter>
</LanguageWrapper>
</DarkModeProvider>
Expand Down
2 changes: 1 addition & 1 deletion src/styles/Globals.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ body {
font-family: "Raleway", sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
cursor: none;
}

body {
Expand Down Expand Up @@ -90,6 +89,7 @@ fieldset {
background-size: cover;
width: 100%;
height: 100%;
z-index: 1;
}

::-webkit-scrollbar {
Expand Down

0 comments on commit 24a03fc

Please sign in to comment.