-
Notifications
You must be signed in to change notification settings - Fork 456
feat: update GenericModal with new image and link #291
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
Conversation
* Added new image for the Developer Basecamp 13 event. * Updated the link in GenericModal to direct to the registration page. * Enhanced the modal's button styles for better user interaction.
shramee
left a comment
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.
Looks good! Just minor suggestions.
| }} | ||
| > | ||
| <a href={link} style={{ display: 'block' }}> | ||
| <a href={link} onClick={(e) => { e.preventDefault(); openInNewTab(link); }} style={{ display: 'block' }}> |
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.
We can use target="_blank" here.
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.
Done!
| width: "100%", | ||
| height: "100%", | ||
| display: "block", | ||
| cursor: "pointer", |
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.
This shouldn't be necessary because the image is in a anchor tags...
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.
Done!
shramee
left a comment
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.
LGTM! ❤️
Screen.Recording.2025-07-21.at.10.54.04.PM.mp4