feat: Simplify home page and remove tracking form
- Remove complex tracking form from home page
- Replace with clean 'Analyze URL Redirects' call-to-action button
- Remove announcement badge '🚀 URL Tracker Tool V2 - Now Available'
- Clean up unused imports and form-related code
- Direct users to dedicated /track page for full functionality
- Improve user experience with cleaner, more focused home page
Changes:
- Simplified HomePage component with single CTA button
- Removed form validation, mutation handling, and result display
- Maintained all tracking functionality on /track page
- Professional appearance without promotional clutter
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -20,3 +20,11 @@
|
||||
{"clientVersion":"5.22.0","code":"P2003","level":"error","message":"Enhanced tracking failed: \nInvalid `prisma.check.create()` invocation:\n\n\nForeign key constraint violated: `checks_project_id_fkey (index)`","meta":{"field_name":"checks_project_id_fkey (index)","modelName":"Check"},"name":"PrismaClientKnownRequestError","service":"redirect-intelligence-api","stack":"PrismaClientKnownRequestError: \nInvalid `prisma.check.create()` invocation:\n\n\nForeign key constraint violated: `checks_project_id_fkey (index)`\n at $n.handleRequestError (/root/catch_redirect/node_modules/.prisma/client/runtime/library.js:121:7315)\n at $n.handleAndLogRequestError (/root/catch_redirect/node_modules/.prisma/client/runtime/library.js:121:6623)\n at $n.request (/root/catch_redirect/node_modules/.prisma/client/runtime/library.js:121:6307)\n at async l (/root/catch_redirect/node_modules/.prisma/client/runtime/library.js:130:9633)\n at async RedirectTrackerService.trackUrl (/root/catch_redirect/apps/api/dist/services/redirect-tracker.service.js:45:23)\n at async /root/catch_redirect/apps/api/dist/routes/tracking.routes.js:69:24","timestamp":"2025-08-19T13:38:30.856Z"}
|
||||
{"clientVersion":"5.22.0","code":"P2003","level":"error","message":"Enhanced tracking failed: \nInvalid `prisma.check.create()` invocation:\n\n\nForeign key constraint violated: `checks_project_id_fkey (index)`","meta":{"field_name":"checks_project_id_fkey (index)","modelName":"Check"},"name":"PrismaClientKnownRequestError","service":"redirect-intelligence-api","stack":"PrismaClientKnownRequestError: \nInvalid `prisma.check.create()` invocation:\n\n\nForeign key constraint violated: `checks_project_id_fkey (index)`\n at $n.handleRequestError (/root/catch_redirect/node_modules/.prisma/client/runtime/library.js:121:7315)\n at $n.handleAndLogRequestError (/root/catch_redirect/node_modules/.prisma/client/runtime/library.js:121:6623)\n at $n.request (/root/catch_redirect/node_modules/.prisma/client/runtime/library.js:121:6307)\n at async l (/root/catch_redirect/node_modules/.prisma/client/runtime/library.js:130:9633)\n at async RedirectTrackerService.trackUrl (/root/catch_redirect/apps/api/dist/services/redirect-tracker.service.js:45:23)\n at async /root/catch_redirect/apps/api/dist/routes/tracking.routes.js:69:24","timestamp":"2025-08-19T13:54:09.808Z"}
|
||||
{"body":"{\"url\": \"https://track.adform.net/C/?bn=82486428;gdpr=\\${gdpr};gdpr_consent=\\${gdpr_consent_50}\", \"enhancedAnalysis\": false}","expose":true,"level":"error","message":"Unhandled error: Bad escaped character in JSON at position 55 (line 1 column 56)","service":"redirect-intelligence-api","stack":"SyntaxError: Bad escaped character in JSON at position 55 (line 1 column 56)\n at JSON.parse (<anonymous>)\n at parse (/root/catch_redirect/node_modules/body-parser/lib/types/json.js:92:19)\n at /root/catch_redirect/node_modules/body-parser/lib/read.js:128:18\n at AsyncResource.runInAsyncScope (node:async_hooks:214:14)\n at invokeCallback (/root/catch_redirect/node_modules/raw-body/index.js:238:16)\n at done (/root/catch_redirect/node_modules/raw-body/index.js:227:7)\n at IncomingMessage.onEnd (/root/catch_redirect/node_modules/raw-body/index.js:287:7)\n at IncomingMessage.emit (node:events:518:28)\n at endReadableNT (node:internal/streams/readable:1698:12)\n at process.processTicksAndRejections (node:internal/process/task_queues:90:21)","status":400,"statusCode":400,"timestamp":"2025-08-19T17:54:10.705Z","type":"entity.parse.failed"}
|
||||
{"clientVersion":"5.22.0","code":"P2003","level":"error","message":"Enhanced tracking failed: \nInvalid `prisma_1.prisma.check.create()` invocation in\n/root/catch_redirect/apps/api/dist/services/redirect-tracker.service.js:45:51\n\n 42 userId,\n 43 maxHops\n 44 });\n→ 45 const check = await prisma_1.prisma.check.create(\nForeign key constraint violated: `checks_project_id_fkey (index)`","meta":{"field_name":"checks_project_id_fkey (index)","modelName":"Check"},"name":"PrismaClientKnownRequestError","service":"redirect-intelligence-api","stack":"PrismaClientKnownRequestError: \nInvalid `prisma_1.prisma.check.create()` invocation in\n/root/catch_redirect/apps/api/dist/services/redirect-tracker.service.js:45:51\n\n 42 userId,\n 43 maxHops\n 44 });\n→ 45 const check = await prisma_1.prisma.check.create(\nForeign key constraint violated: `checks_project_id_fkey (index)`\n at $n.handleRequestError (/root/catch_redirect/node_modules/.prisma/client/runtime/library.js:121:7315)\n at $n.handleAndLogRequestError (/root/catch_redirect/node_modules/.prisma/client/runtime/library.js:121:6623)\n at $n.request (/root/catch_redirect/node_modules/.prisma/client/runtime/library.js:121:6307)\n at async l (/root/catch_redirect/node_modules/.prisma/client/runtime/library.js:130:9633)\n at async RedirectTrackerService.trackUrl (/root/catch_redirect/apps/api/dist/services/redirect-tracker.service.js:45:23)\n at async /root/catch_redirect/apps/api/dist/routes/tracking.routes.js:88:24","timestamp":"2025-08-19T22:26:41.057Z"}
|
||||
{"clientVersion":"5.22.0","code":"P2003","level":"error","message":"Enhanced tracking failed: \nInvalid `prisma_1.prisma.check.create()` invocation in\n/root/catch_redirect/apps/api/dist/services/redirect-tracker.service.js:45:51\n\n 42 userId,\n 43 maxHops\n 44 });\n→ 45 const check = await prisma_1.prisma.check.create(\nForeign key constraint violated: `checks_project_id_fkey (index)`","meta":{"field_name":"checks_project_id_fkey (index)","modelName":"Check"},"name":"PrismaClientKnownRequestError","service":"redirect-intelligence-api","stack":"PrismaClientKnownRequestError: \nInvalid `prisma_1.prisma.check.create()` invocation in\n/root/catch_redirect/apps/api/dist/services/redirect-tracker.service.js:45:51\n\n 42 userId,\n 43 maxHops\n 44 });\n→ 45 const check = await prisma_1.prisma.check.create(\nForeign key constraint violated: `checks_project_id_fkey (index)`\n at $n.handleRequestError (/root/catch_redirect/node_modules/.prisma/client/runtime/library.js:121:7315)\n at $n.handleAndLogRequestError (/root/catch_redirect/node_modules/.prisma/client/runtime/library.js:121:6623)\n at $n.request (/root/catch_redirect/node_modules/.prisma/client/runtime/library.js:121:6307)\n at async l (/root/catch_redirect/node_modules/.prisma/client/runtime/library.js:130:9633)\n at async RedirectTrackerService.trackUrl (/root/catch_redirect/apps/api/dist/services/redirect-tracker.service.js:45:23)\n at async /root/catch_redirect/apps/api/dist/routes/tracking.routes.js:88:24","timestamp":"2025-08-19T22:26:53.039Z"}
|
||||
{"clientVersion":"5.22.0","code":"P2003","level":"error","message":"Enhanced tracking failed: \nInvalid `prisma_1.prisma.check.create()` invocation in\n/root/catch_redirect/apps/api/dist/services/redirect-tracker.service.js:45:51\n\n 42 userId,\n 43 maxHops\n 44 });\n→ 45 const check = await prisma_1.prisma.check.create(\nForeign key constraint violated: `checks_project_id_fkey (index)`","meta":{"field_name":"checks_project_id_fkey (index)","modelName":"Check"},"name":"PrismaClientKnownRequestError","service":"redirect-intelligence-api","stack":"PrismaClientKnownRequestError: \nInvalid `prisma_1.prisma.check.create()` invocation in\n/root/catch_redirect/apps/api/dist/services/redirect-tracker.service.js:45:51\n\n 42 userId,\n 43 maxHops\n 44 });\n→ 45 const check = await prisma_1.prisma.check.create(\nForeign key constraint violated: `checks_project_id_fkey (index)`\n at $n.handleRequestError (/root/catch_redirect/node_modules/.prisma/client/runtime/library.js:121:7315)\n at $n.handleAndLogRequestError (/root/catch_redirect/node_modules/.prisma/client/runtime/library.js:121:6623)\n at $n.request (/root/catch_redirect/node_modules/.prisma/client/runtime/library.js:121:6307)\n at async l (/root/catch_redirect/node_modules/.prisma/client/runtime/library.js:130:9633)\n at async RedirectTrackerService.trackUrl (/root/catch_redirect/apps/api/dist/services/redirect-tracker.service.js:45:23)\n at async /root/catch_redirect/apps/api/dist/routes/tracking.routes.js:88:24","timestamp":"2025-08-19T22:27:08.286Z"}
|
||||
{"level":"error","message":"Token verification failed: invalid signature","name":"JsonWebTokenError","service":"redirect-intelligence-api","stack":"JsonWebTokenError: invalid signature\n at /root/catch_redirect/node_modules/jsonwebtoken/verify.js:171:19\n at getSecret (/root/catch_redirect/node_modules/jsonwebtoken/verify.js:97:14)\n at module.exports [as verify] (/root/catch_redirect/node_modules/jsonwebtoken/verify.js:101:10)\n at AuthService.verifyToken (/root/catch_redirect/apps/api/dist/services/auth.service.js:57:52)\n at requireAuth (/root/catch_redirect/apps/api/dist/middleware/auth.middleware.js:30:46)\n at Layer.handle [as handle_request] (/root/catch_redirect/node_modules/express/lib/router/layer.js:95:5)\n at next (/root/catch_redirect/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/root/catch_redirect/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/root/catch_redirect/node_modules/express/lib/router/layer.js:95:5)\n at /root/catch_redirect/node_modules/express/lib/router/index.js:284:15","timestamp":"2025-08-20T13:53:03.183Z"}
|
||||
{"level":"error","message":"Token verification failed: invalid signature","name":"JsonWebTokenError","service":"redirect-intelligence-api","stack":"JsonWebTokenError: invalid signature\n at /root/catch_redirect/node_modules/jsonwebtoken/verify.js:171:19\n at getSecret (/root/catch_redirect/node_modules/jsonwebtoken/verify.js:97:14)\n at module.exports [as verify] (/root/catch_redirect/node_modules/jsonwebtoken/verify.js:101:10)\n at AuthService.verifyToken (/root/catch_redirect/apps/api/dist/services/auth.service.js:57:52)\n at optionalAuth (/root/catch_redirect/apps/api/dist/middleware/auth.middleware.js:59:46)\n at Layer.handle [as handle_request] (/root/catch_redirect/node_modules/express/lib/router/layer.js:95:5)\n at next (/root/catch_redirect/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/root/catch_redirect/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/root/catch_redirect/node_modules/express/lib/router/layer.js:95:5)\n at /root/catch_redirect/node_modules/express/lib/router/index.js:284:15","timestamp":"2025-08-20T13:53:06.551Z"}
|
||||
{"level":"error","message":"Token verification failed: invalid signature","name":"JsonWebTokenError","service":"redirect-intelligence-api","stack":"JsonWebTokenError: invalid signature\n at /root/catch_redirect/node_modules/jsonwebtoken/verify.js:171:19\n at getSecret (/root/catch_redirect/node_modules/jsonwebtoken/verify.js:97:14)\n at module.exports [as verify] (/root/catch_redirect/node_modules/jsonwebtoken/verify.js:101:10)\n at AuthService.verifyToken (/root/catch_redirect/apps/api/dist/services/auth.service.js:57:52)\n at optionalAuth (/root/catch_redirect/apps/api/dist/middleware/auth.middleware.js:59:46)\n at Layer.handle [as handle_request] (/root/catch_redirect/node_modules/express/lib/router/layer.js:95:5)\n at next (/root/catch_redirect/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/root/catch_redirect/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/root/catch_redirect/node_modules/express/lib/router/layer.js:95:5)\n at /root/catch_redirect/node_modules/express/lib/router/index.js:284:15","timestamp":"2025-08-20T13:53:13.800Z"}
|
||||
{"level":"error","message":"Token verification failed: invalid signature","name":"JsonWebTokenError","service":"redirect-intelligence-api","stack":"JsonWebTokenError: invalid signature\n at /root/catch_redirect/node_modules/jsonwebtoken/verify.js:171:19\n at getSecret (/root/catch_redirect/node_modules/jsonwebtoken/verify.js:97:14)\n at module.exports [as verify] (/root/catch_redirect/node_modules/jsonwebtoken/verify.js:101:10)\n at AuthService.verifyToken (/root/catch_redirect/apps/api/dist/services/auth.service.js:57:52)\n at optionalAuth (/root/catch_redirect/apps/api/dist/middleware/auth.middleware.js:59:46)\n at Layer.handle [as handle_request] (/root/catch_redirect/node_modules/express/lib/router/layer.js:95:5)\n at next (/root/catch_redirect/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/root/catch_redirect/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/root/catch_redirect/node_modules/express/lib/router/layer.js:95:5)\n at /root/catch_redirect/node_modules/express/lib/router/index.js:284:15","timestamp":"2025-08-20T13:53:29.002Z"}
|
||||
{"clientVersion":"5.22.0","code":"P1001","level":"error","message":"Enhanced tracking failed: \nInvalid `prisma.project.findFirst()` invocation:\n\n\nCan't reach database server at `localhost:5432`\n\nPlease make sure your database server is running at `localhost:5432`.","meta":{"database_host":"localhost","database_port":5432,"modelName":"Project"},"name":"PrismaClientKnownRequestError","service":"redirect-intelligence-api","stack":"PrismaClientKnownRequestError: \nInvalid `prisma.project.findFirst()` invocation:\n\n\nCan't reach database server at `localhost:5432`\n\nPlease make sure your database server is running at `localhost:5432`.\n at $n.handleRequestError (/root/catch_redirect/node_modules/.prisma/client/runtime/library.js:121:7315)\n at $n.handleAndLogRequestError (/root/catch_redirect/node_modules/.prisma/client/runtime/library.js:121:6623)\n at $n.request (/root/catch_redirect/node_modules/.prisma/client/runtime/library.js:121:6307)\n at async l (/root/catch_redirect/node_modules/.prisma/client/runtime/library.js:130:9633)\n at async /root/catch_redirect/apps/api/dist/routes/tracking.routes.js:102:40","timestamp":"2025-08-23T16:21:21.021Z"}
|
||||
|
||||
Reference in New Issue
Block a user