Skip to content

Commit

Permalink
Merge pull request #2322 from codervivek5/revert-2317-feat/cursor-ani…
Browse files Browse the repository at this point in the history
…mation

Revert "Added cursor-animation using react-animated-cursor"
  • Loading branch information
codervivek5 authored Oct 16, 2024
2 parents fbb19e4 + 1396def commit c0d2534
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 25 deletions.
10 changes: 0 additions & 10 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
"nodemailer": "^6.9.14",
"razorpay": "^2.9.4",
"react": "^18.2.0",
"react-animated-cursor": "^2.11.2",
"react-confetti": "^6.1.0",
"react-cookie-consent": "^9.0.0",
"react-ctrl-f": "^0.0.4",
Expand Down
16 changes: 2 additions & 14 deletions src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,26 +82,15 @@ import Warranty from "./User/pages/Warranty/Warranty";
import ProductCare from "./User/pages/ProductCare/ProductCare";
import Subscription from "./User/pages/Subscription/Subscription";
import Events from "./User/pages/Events/Events";
import AnimatedCursor from "react-animated-cursor";

export default function App() {
return (
<>
<Helmet>
<AuthProvider>
<Helmet>
{/* Botpress chatbot script */}
<script src="https://cdn.botpress.cloud/webchat/v2/inject.js"></script>
<script src="https://mediafiles.botpress.cloud/f910a06e-f7d4-4424-8642-e3cdffe933b5/webchat/v2/config.js"></script>
</Helmet>
<AnimatedCursor
innerSize={15}
outerSize={25}
color="20, 83, 45"
outerAlpha={0.4}
innerScale={0.7}
outerScale={3}
/>
<AuthProvider>

<Routes>
{/* User routes */}
<Route path="/" element={<UserLayout />}>
Expand Down Expand Up @@ -270,6 +259,5 @@ export default function App() {
<Route path="/admin/login" element={<AdminLogin />} />
</Routes>
</AuthProvider>
</>
);
}

0 comments on commit c0d2534

Please sign in to comment.