-
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
Update mentee and mentor card #170 #195
Open
AnsarMahir
wants to merge
35
commits into
sef-global:development
Choose a base branch
from
AnsarMahir:main
base: development
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 33 commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
c0e86c1
placed the elements
AnsarMahir bdd8c7f
Fix: Update mentor profile UI #171
AnsarMahir fb69afe
Fix:Update Mentor Profile UI
AnsarMahir 010a49b
Chip design implemented
AnsarMahir 6f2df3d
colors swapped with condition
AnsarMahir 5a68efa
same row in mobile
AnsarMahir ebe0fa3
conditional rendering of slot&slots
AnsarMahir 477665a
Merge remote-tracking branch 'upstream/main'
AnsarMahir 0e5214a
Merge remote-tracking branch 'upstream/main'
AnsarMahir d3aea87
node version updated to 18 in e2e
AnsarMahir f627679
reverted changes to package json and lock
AnsarMahir 23c87d9
Update package.json
AnsarMahir 34da7ad
variables used
AnsarMahir 2ec5888
Merge branch 'main' of https://github.com/AnsarMahir/scholarx-frontend
AnsarMahir a29d7bd
fixed css
AnsarMahir 1fce7a0
removed comments
AnsarMahir b635310
matched with latest version
AnsarMahir 70d5d09
matched with latest updates
AnsarMahir fa2f82d
lint issue fixed
AnsarMahir ed63123
Merge remote-tracking branch 'upstream/main'
AnsarMahir 011adc7
upper part fixed (image)
AnsarMahir 697f514
Mentee card finalized
AnsarMahir 3583f6f
mentee card finished
AnsarMahir 606eb00
Merge remote-tracking branch 'upstream/main'
AnsarMahir dc66eca
lint fix
AnsarMahir 4980b4b
fixed lint
AnsarMahir 2def59b
Merge branch 'main' into main
AnsarMahir 4794fb9
finalized mentee and mentor card
AnsarMahir b771c66
Merge branch 'main' of https://github.com/AnsarMahir/scholarx-frontend
AnsarMahir 9ff7f62
done for mentor card
AnsarMahir f14aa63
Merge remote-tracking branch 'upstream/development'
AnsarMahir 465e392
SVG refactored
AnsarMahir 91ff164
es lint fixes
AnsarMahir 75d2210
Merge branch 'development'
AnsarMahir 9c28ba4
few design changes
AnsarMahir File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import React from 'react'; | ||
|
||
const BusinessBag: React.FC = () => ( | ||
<svg | ||
className="w-4 h-4 text-gray-500 dark:text-white mr-2" | ||
aria-hidden="true" | ||
xmlns="http://www.w3.org/2000/svg" | ||
fill="currentColor" | ||
viewBox="0 0 20 20" | ||
> | ||
<path d="M19.728 10.686c-2.38 2.256-6.153 3.381-9.875 3.381-3.722 0-7.4-1.126-9.571-3.371L0 10.437V18a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-7.6l-.272.286Z"></path> | ||
<path d="m.135 7.847 1.542 1.417c3.6 3.712 12.747 3.7 16.635.01L19.605 7.9A.98.98 0 0 1 20 7.652V6a2 2 0 0 0-2-2h-3V3a3 3 0 0 0-3-3H8a3 3 0 0 0-3 3v1H2a2 2 0 0 0-2 2v1.765c.047.024.092.051.135.082ZM10 10.25a1.25 1.25 0 1 1 0-2.5 1.25 1.25 0 0 1 0 2.5ZM7 3a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v1H7V3Z"></path> | ||
</svg> | ||
); | ||
|
||
export default BusinessBag; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Total application count is also there in the mentor application.
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 issue is that , I tried already to simplify the logic as below
but it pop up an error,
"Property 'appliedMenteesCount' does not exist on type '{ firstName: string; lastName: string; email: string; contactNo: string; country: string; position: string; expertise: string; bio: string; isPastMentor: boolean; reasonToMentor: string; profilePic: string; ... 10 more ...; canCommit?: boolean | undefined; }'."
Tried to fix that error by adding
to the mentor interface, but did not work out. :(. That's why just left it as it is