Skip to content

Commit

Permalink
Add mousetrail
Browse files Browse the repository at this point in the history
  • Loading branch information
mayank1513 committed Jun 26, 2024
1 parent ca0d70e commit be8f616
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
1 change: 1 addition & 0 deletions examples/nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"r18gs": "workspace:*",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-webgl-trails": "0.0.2-optimize.0",
"react18-loaders": "^1.1.3"
},
"devDependencies": {
Expand Down
2 changes: 2 additions & 0 deletions examples/nextjs/src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { Core } from "nextjs-darkmode";
import { Layout } from "@repo/shared/dist/server";
import { GlobalLoader, Header } from "@repo/shared";
import { Inter } from "next/font/google";
import { MouseTrail } from "react-webgl-trails";

const inter = Inter({ subsets: ["latin"] });

Expand All @@ -18,6 +19,7 @@ export default function RootLayout({ children }: { children: React.ReactNode }):
{children}
</Layout>
<GlobalLoader />
<MouseTrail />
</body>
</html>
);
Expand Down
14 changes: 14 additions & 0 deletions pnpm-lock.yaml

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

0 comments on commit be8f616

Please sign in to comment.