-
Notifications
You must be signed in to change notification settings - Fork 58
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
Added Horizontal Mentor card #197
Added Horizontal Mentor card #197
Conversation
can you add a screenshot? Also the pipeline is failing @dilankavishka |
@anjula-sack, I did the changes |
<MentorCardHorizontal | ||
mentor={mentee?.mentor}> | ||
</MentorCardHorizontal> |
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.
<MentorCardHorizontal | |
mentor={mentee?.mentor}> | |
</MentorCardHorizontal> | |
<MentorCard mentor={mentee?.mentor} /> |
<a | ||
href="#" | ||
className="hover:underline" | ||
target="_blank" | ||
rel="noreferrer" | ||
> |
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.
Link to the mentor page
import ProfilePic from '../ProfilePic/index.tsx'; | ||
|
||
interface MentorCardProps { | ||
mentor: Mentor|undefined; |
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.
mentor: Mentor|undefined; | |
mentor?: Mentor; |
Purpose
The purpose of this PR is to fix #105
Goals
This PR introduces a separate component for the mentor card in horizontal view, as opposed to keeping it inside the MentorProfile component. The goal is to improve reusability across the project and maintain cleaner code.
Approach
Screenshot
Checklist