-
Notifications
You must be signed in to change notification settings - Fork 107
Fix contribute on GitHub button #149
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
base: dev
Are you sure you want to change the base?
Fix contribute on GitHub button #149
Conversation
WalkthroughAdds an onClick handler to the GitHub button component that opens the InPactAI GitHub page in a new tab with a no-referrer policy; minor indentation change and a duplicated component declaration remain in the diff. Changes
Sequence Diagram(s)sequenceDiagram
autonumber
actor User
participant UI as GitHub Button (UI)
participant Browser as Browser Window
Note over UI,Browser `#E8F6FF`: New flow: explicit onClick handler
User->>UI: Click GitHub button
UI->>Browser: window.open("https://github.com/InPactAI", "_blank", "noopener,noreferrer")
Browser-->>User: New tab opens (no referrer)
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes
Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
@coderabbitai review |
✅ Actions performedReview triggered.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
@coderabbitai review |
✅ Actions performedReview triggered.
|
As this is just a 5 lines change so I created PR directly as per rule and regulations so, please @chandansgowda merge this PR or respond if any Problem
📝 Description
This PR fixes the inactive “Contribute on GitHub” button on the Landing Page.
The button now correctly redirects users to the official AOSSIE repository:
👉 AOSSIE-Org/InPactAI
Additionally:
🔧 Changes Made
LandingPage/src/components/github.tsx.window.openhandler to redirect to GitHub.📷 Screenshots or Visual Changes
Before:
The button was visually present but inactive.
Uploading before contrb git button.webm…
After:
Clicking the button now opens the InPactAI GitHub Repository in a new browser tab.
(You can attach your screenshot here if you’d like — e.g., the working button UI.)
after.fix.git.button.webm
🤝 Collaboration
Solo contribution by
@aniket866.✅ Checklist
Summary by CodeRabbit