Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Fix]-slack link 404 errors & Performance Error #1317

Closed

Conversation

MadhavDhatrak
Copy link
Contributor

What kind of change does this PR introduce?
Bugfix--Resolves 404 errors occurring during Slack link hover and click events
Issue Number:

Screenshots/videos:
Before Fix:
Screenshot 2025-01-17 102034

After Fix:

screen-recording-2025-01-17-121537_4iq5mMP1.mp4

community page :
image

If relevant, did you update the documentation?
No documentation updates needed as this is a bugfix for internal routing behavior.
Summary
This PR fixes two issues with the Slack join links:

  1. Eliminates 404 errors appearing in the console when:

    • Hovering over Slack links (prefetch errors)
    • Clicking Slack links (routing errors)
  2. Improves external link handling by:

    • Replacing Next.js Link components with proper <a> tags
    • Adding security attributes (target="_blank"`, `rel="noopener noreferrer")
    • Maintaining clean URL structure with /slack path

Changes made:

  • Updated Slack links in pages/index.page.tsx
  • Maintained redirect configuration in next.config.js

Does this PR introduce a breaking change?
No,

@MadhavDhatrak MadhavDhatrak requested a review from a team as a code owner January 17, 2025 07:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant