Skip to content

Commit b2ad1b6

Browse files
committed
feat: remove cursor follower component
1 parent e74f9b4 commit b2ad1b6

File tree

5 files changed

+3
-49
lines changed

5 files changed

+3
-49
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ This guide is for developers maintaining or contributing to this project.
6262
├── src/
6363
│ ├── app/ # Next.js App Router pages and layouts.
6464
│ ├── components/
65-
│ │ ├── features/ # Self-contained features (e.g., theme toggle, cursor).
65+
│ │ ├── features/ # Self-contained features (e.g., theme toggle).
6666
│ │ ├── layout/ # Global layout components (Header, Footer).
6767
│ │ ├── sections/ # Reusable page sections (e.g., Hero, WhoWeAre).
6868
│ │ └── ui/ # Base UI components from shadcn/ui.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
"build": "next build",
88
"start": "next start",
99
"lint": "next lint",
10-
"format": "prettier --write 'src/**/*.{ts,tsx}'"
10+
"format": "prettier --write 'src/**/*.{ts,tsx}'",
11+
"diff": "git --no-pager diff --staged --function-context > commit.txt"
1112
},
1213
"dependencies": {
1314
"@icons-pack/react-simple-icons": "^13.7.0",

src/app/globals.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@
8181

8282
/* Z-index scale */
8383
--z-header: 50;
84-
--z-cursor: 9999;
8584
}
8685

8786
.dark {

src/app/layout.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import { Header } from "@/components/layout/header";
77
import { Footer } from "@/components/layout/footer";
88
import { Analytics } from "@vercel/analytics/next";
99
import { SpeedInsights } from "@vercel/speed-insights/next";
10-
import { CursorFollower } from "@/components/features/cursor/cursor-follower";
1110

1211
const siteUrl = process.env.SITE_URL;
1312

@@ -91,7 +90,6 @@ export default function RootLayout({
9190
type="application/ld+json"
9291
dangerouslySetInnerHTML={{ __html: JSON.stringify(jsonLd) }}
9392
/>
94-
<CursorFollower />
9593
<ThemeProvider
9694
attribute="class"
9795
defaultTheme="system"

src/components/features/cursor/cursor-follower.tsx

Lines changed: 0 additions & 44 deletions
This file was deleted.

0 commit comments

Comments
 (0)