File tree 2 files changed +11
-15
lines changed
src/app/components/layout
2 files changed +11
-15
lines changed Original file line number Diff line number Diff line change 1
- // import type { NextConfig } from "next";
2
-
3
- // const nextConfig = {
4
- // output: "export",
5
- // reactStrictMode: true,
6
- // images: {
7
- // unoptimized: true,
8
- // },
9
- // };
1
+ const nextConfig = {
2
+ output : "export" ,
3
+ reactStrictMode : true ,
4
+ images : {
5
+ unoptimized : true ,
6
+ } ,
7
+ } ;
10
8
11
- // module.exports = nextConfig;
9
+ module . exports = nextConfig ;
12
10
13
- import type { NextConfig } from "next" ;
11
+ // import type { NextConfig } from "next";
14
12
15
- const nextConfig : NextConfig = { } ;
13
+ // const nextConfig: NextConfig = {};
16
14
17
- module . exports = nextConfig ;
15
+ // module.exports = nextConfig;
Original file line number Diff line number Diff line change @@ -37,7 +37,6 @@ export default function MouseTrail() {
37
37
// Draw white glow
38
38
ctx . beginPath ( ) ;
39
39
positionsRef . current . forEach ( ( pos , i ) => {
40
- const alpha = 1 - pos . age / 50 ;
41
40
if ( i === 0 ) {
42
41
ctx . moveTo ( pos . x , pos . y ) ;
43
42
} else {
@@ -52,7 +51,6 @@ export default function MouseTrail() {
52
51
// Draw purple trail
53
52
ctx . beginPath ( ) ;
54
53
positionsRef . current . forEach ( ( pos , i ) => {
55
- const alpha = 1 - pos . age / 50 ;
56
54
const width = 4 * ( 1 - i / positionsRef . current . length ) ;
57
55
if ( i === 0 ) {
58
56
ctx . moveTo ( pos . x , pos . y ) ;
You can’t perform that action at this time.
0 commit comments