-
Notifications
You must be signed in to change notification settings - Fork 316
feat: nft avatar #6079
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
Merged
Merged
feat: nft avatar #6079
Changes from all commits
Commits
Show all changes
188 commits
Select commit
Hold shift + click to select a range
2b491c2
feat: nft avatar
lelenei 08dbe54
Merge remote-tracking branch 'origin/develop' into lelenei/mf-281
lelenei 827676e
feat: upload avatar image
lelenei 3dc62e4
feat: update twitter avatar
lelenei 7c1e5b5
feat: move code
lelenei 2237abc
Merge remote-tracking branch 'origin/develop' into lelenei/mf-281
lelenei 14b7cc5
fix: remove unused code
lelenei 7793ec4
fix: import error
lelenei deb5e25
refactor: code style
lelenei 6fb8934
fix: typo
lelenei 5d93f07
fix: can't read wallet address
lelenei ffe44fc
feat: use wizard page mode
lelenei 2467f8b
fix: typo
lelenei 068360a
fix: userid lowercase
lelenei 473f30d
feat: add badge for persona avatar
lelenei 9ca212b
fix: add rainbow at avatar
lelenei 49fcd08
fix: remove unused code
lelenei 7bbc1df
feat: selcted token
lelenei 64c8242
fix: icons
lelenei 3909cdd
fix: button status
lelenei 67f77a8
fix: save button status
lelenei 5dea2fb
fix: save button status
lelenei 6d4dfd7
Merge branch 'lelenei/mf-281' of https://github.com/DimensionDev/Mask…
lelenei 66aaba8
fix: when user has no avatar, can't open nft list page
lelenei 4fcc6ba
fix: save button status
lelenei e6b5c6d
fix: show rainbow
lelenei 23373be
feat: use nextID strorage
lelenei e34ecfe
refactor: remove console.log
lelenei 2fa8305
feat: save avatar to nextid storage
lelenei 9952251
fix: wallet sign
lelenei 601e85f
feat: useI18N
lelenei 2580291
fix: reply review
lelenei 5547ea9
fix: typo
lelenei 13b10ed
fix: use generateSignResult sign
lelenei 79ce744
fix: get nickname
lelenei ed99cfd
fix: nextid kv storage
lelenei 0fa33ad
Merge branch 'lelenei/mf-281' of https://github.com/DimensionDev/Mask…
lelenei 132d02b
fix: use context
lelenei 31615f2
fix: reply review
lelenei 567007d
fix: wallet background
lelenei 3a95f7f
feat: new nft list page for polygon
lelenei 757e5ad
refactor: remove unused code
lelenei 7316954
fix: login user
lelenei a3858bb
feat: application board tooltip
lelenei 43df40f
fix: style
lelenei d4d5204
fix: useI18N
lelenei 8ceae09
refactor: code style
lelenei f0ca7f4
fix: icon color
lelenei 589166a
fix: wallet icon
lelenei ece0034
fix: css style
lelenei a1409d6
fix: css style
lelenei f0c12a6
fix: open nft pfp dialog from edit profile
lelenei 579f5ed
Merge branch 'lelenei/mf-281' of https://github.com/DimensionDev/Mask…
lelenei c569cc3
fix: cspell
lelenei be6c434
fix: need popup for sign
lelenei 98885e7
fix: tranlate component
lelenei cba2828
fix: nextid sign
lelenei b9bb8a3
fix: sign flow
lelenei 506c622
fix: css style
lelenei 3cfa208
fix: wallet connect dialog
lelenei 822b950
fix: get current persona from nextid
lelenei 39825e8
fix: save nft avatar meta
lelenei 737db28
Merge remote-tracking branch 'origin/develop' into lelenei/mf-281
lelenei 2fde26e
fix: kv storage
hanszhoou 3584604
chore: temp
hanszhoou e2dcae4
chore: disable tips entry as no nextId
hanszhoou 4f44210
chore: remove useless interface
hanszhoou 68e4a1e
chore: handle sns persona unmatched
hanszhoou fdd151e
chore: rename
hanszhoou 704089a
fix: little fix
hanszhoou f8b1002
chore: little fix
hanszhoou 9815334
fix: code style
lelenei f2c7303
chore: icon
hanszhoou 29e7f70
Merge branch 'lelenei/mf-281' of https://github.com/DimensionDev/Mask…
lelenei 7dc12b6
fix: reply review
lelenei 060ba76
Merge remote-tracking branch 'origin/develop' into lelenei/mf-281
lelenei 3d4bd26
fix: reply review
lelenei c2896f8
fix: reply review
lelenei da6eebc
fix(twitter): renmove unused code
lelenei bb23edc
fix: css style
lelenei 4b37433
Merge remote-tracking branch 'origin/develop' into lelenei/mf-281
lelenei ed893a8
chore: hide entry on unsupported sns
hanszhoou 4f32850
fix: can't show avatar plugin
lelenei 478cfa5
Merge remote-tracking branch 'origin/develop' into lelenei/mf-281
lelenei 23ae275
Merge remote-tracking branch 'origin/develop' into lelenei/mf-281
lelenei faba90d
fix: nft pfp button at profile page
lelenei 7786428
fix: update avatar
lelenei fa95d8f
fix: css style
lelenei acde393
fix: get nft at polygon
lelenei 044ba2f
fix: css style
lelenei aa5fa88
fix: css style
lelenei e536a4b
fix: profile icon
lelenei 2a4893c
fix: save nft error
lelenei 54e1dae
Merge branch 'lelenei/mf-281' of https://github.com/DimensionDev/Mask…
lelenei 71c8f52
chore: translate
hanszhoou 5132487
fix: css style
lelenei 9d4035c
Merge branch 'lelenei/mf-281' of https://github.com/DimensionDev/Mask…
lelenei fb01d3d
fix: connect wallet
lelenei 6746e3a
fix: typo
lelenei 97f20a3
Merge remote-tracking branch 'origin/develop' into lelenei/mf-281
lelenei 85b1c49
fix: recovery code
lelenei 69d8571
fix: recovery code
lelenei 202f10f
Merge branch 'lelenei/mf-281' of https://github.com/DimensionDev/Mask…
lelenei 20c5017
Merge remote-tracking branch 'origin/develop' into lelenei/mf-281
lelenei bfb7109
fix: pnpm-lock
lelenei 02363ed
fix: revert pnpm-lock
lelenei ff1d798
fix: revert pnpm-lock
lelenei 260e98d
fix: lockfile
UncleBill 103630b
fix: css style
lelenei d1f747a
fix: typo
lelenei 0fb3f4d
fix: get nft from opensea
lelenei b63063f
fix: have nft avatar
lelenei 0e5552e
fix: css style
lelenei 75f05af
fix: css style
lelenei 3a1b4d2
fix: css style
lelenei ac70696
fix: add nft dialog
lelenei 1b94c82
fix: code style
lelenei f882dde
fix: css style
lelenei 2b8f889
fix: remove nft avatar selector
lelenei a04a34b
fix: css style
lelenei cda8af1
fix: css style
lelenei 927e22a
fix: css style
lelenei ff83ce6
fix: css style
lelenei d2d4d66
fix: css style
lelenei e84aa94
fix: navigate to connect wallet when params has internal
nuanyang233 0c5ccbe
fix: adjust facebook profile edit dom selector
nuanyang233 ab6d859
fix: css style
lelenei ad909d6
Merge branch 'lelenei/mf-281' of https://github.com/DimensionDev/Mask…
lelenei bcb548e
fix: css style
lelenei ae1144d
fix: chain link address
lelenei e389bec
fix: scollbar style
lelenei 9b5c4ea
fix: find avatar meta from next id by avatarid
lelenei fed76a4
fix: list persona
lelenei 0ce4715
fix: show local persona
lelenei bb6dfe0
fix: filter user
lelenei 9baefb9
fix: name
lelenei 81e6f3e
fix: css style
lelenei 12a5201
fix: ploygon contract
lelenei 91b3370
fix: opensea link for polygon
lelenei 9f7a17e
fix: check owner
lelenei 8a17bb7
fix: get nft from polygon
lelenei 41f9f3e
fix: revert code
lelenei 12cad91
fix: reply review
lelenei 8281bfe
Merge remote-tracking branch 'origin/develop' into lelenei/mf-281
lelenei 0abb7b2
fix: typo
lelenei fad2ff0
fix: typo
lelenei 9a2e17d
fix: revert code
lelenei bcebb66
Merge remote-tracking branch 'origin/develop' into lelenei/mf-281
lelenei 8e0489a
fix: connect / create persona
lelenei 8ff254c
refactor: remove unused code
lelenei bf5e5f8
fix: filter non-twitter user
lelenei e834e57
fix: verifed persona
lelenei 500c4d3
fix: remove non-evm wallet
lelenei 8ca52fa
fix: scroll page
lelenei 3acd367
fix: verified user token
lelenei a0cd15c
fix: css style
lelenei f00b53d
fix: css style
lelenei 3bfcd91
fix: css style
lelenei 968fe2e
chore: add recommend area
hanszhoou ada1fc5
Merge branch 'develop' into lelenei/mf-281
hanszhoou e3ba054
chore: style
hanszhoou 3469707
chore: add shadow color
hanszhoou d1c81a5
chore: style
hanszhoou 08b674b
fix: application tips
lelenei 3352d67
chore: tooltip hint postion
hanszhoou b5c029a
Merge branch 'lelenei/mf-281' of https://github.com/DimensionDev/Mask…
hanszhoou b2f9b6b
chore: style
hanszhoou 20e7f64
chore: style
hanszhoou fcfd8d7
fix: reply review
lelenei d5c6ebc
Merge branch 'lelenei/mf-281' of https://github.com/DimensionDev/Mask…
lelenei 1fdf60c
Merge remote-tracking branch 'origin/develop' into lelenei/mf-281
lelenei db379f5
fix: build error
lelenei b7f7acd
fix: add loading
hanszhoou ad99369
fix: remove console.log
lelenei 234ea01
Merge branch 'lelenei/mf-281' of https://github.com/DimensionDev/Mask…
lelenei 49f72a8
fix: reply review
lelenei 6768558
Merge remote-tracking branch 'origin/develop' into lelenei/mf-281
lelenei 0d5343d
Merge branch 'lelenei/mf-281' of https://github.com/DimensionDev/Mask…
lelenei f5f8d8c
chore: add disabled
hanszhoou 696690e
fix: reply review
lelenei da00b2f
Merge branch 'lelenei/mf-281' of https://github.com/DimensionDev/Mask…
lelenei 1c8c020
fix: typo
lelenei 5bb550f
fix: disabled
hanszhoou 097a591
Merge branch 'lelenei/mf-281' of https://github.com/DimensionDev/Mask…
hanszhoou 79ae41e
fix: reply review
lelenei dbd57d6
Merge branch 'lelenei/mf-281' of https://github.com/DimensionDev/Mask…
lelenei 978c2bf
fix: remove unused word
lelenei ae0bdc7
Merge remote-tracking branch 'origin/develop' into lelenei/mf-281
lelenei 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 hidden or 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 hidden or 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 hidden or 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,29 @@ | ||
| import { createIcon } from '../utils' | ||
| import type { SvgIcon } from '@mui/material' | ||
|
|
||
| export const NFTAvatarIcon: typeof SvgIcon = createIcon( | ||
| 'nft_avatar', | ||
| <g> | ||
| <path | ||
| d="M4.83325 3.5C4.83325 2.39543 5.72868 1.5 6.83325 1.5H29.8333C30.9378 1.5 31.8333 2.39543 31.8333 3.5V32.5C31.8333 33.6046 30.9378 34.5 29.8333 34.5H6.83325C5.72868 34.5 4.83325 33.6046 4.83325 32.5V3.5Z" | ||
| fill="url(#paint0_linear_35_22290)" | ||
| /> | ||
| <path | ||
| d="M13.6273 6.90742C15.4435 5.44402 17.9166 5.03182 20.1702 5.46022C22.2222 5.94982 24.0582 7.33042 25.0536 9.19702C25.743 10.4246 25.9572 11.8466 25.9662 13.2362C25.9644 16.838 25.9662 20.438 25.9644 24.0398C25.905 24.5096 26.2758 24.8444 26.5116 25.2044C27.6312 26.81 28.155 28.7576 28.2468 30.698C27.5736 30.7016 26.9004 30.6998 26.2272 30.698C26.1246 29.4452 25.9032 28.1924 25.3164 27.0674C23.4786 27.0584 21.6426 27.098 19.8048 27.08C19.794 25.7156 19.7994 24.3512 19.7976 22.9868C18.2298 22.6196 16.5739 22.8932 15.1015 23.5016C12.2881 24.6878 10.3837 27.6578 10.3945 30.6998H8.42525C8.33165 28.295 9.32885 25.9262 10.9021 24.1352C11.1235 23.9264 11.0443 23.5988 11.0677 23.3288C11.0479 20.5676 11.0803 17.8046 11.0515 15.0434C10.9831 13.6682 11.0263 12.2912 11.0893 10.916C11.2531 9.27082 12.2629 7.80562 13.6273 6.90742ZM20.073 7.46362C20.2998 8.10262 20.919 8.50582 21.1638 9.14302C21.9324 10.5722 21.7146 12.2264 21.7398 13.7816C21.7524 17.5634 21.7488 21.3434 21.7506 25.1252C22.5048 25.127 23.2608 25.1306 24.015 25.1162C24.0096 21.1562 24.0114 17.1944 24.015 13.2344C24.006 12.2786 23.9106 11.294 23.484 10.4228C22.8522 9.00082 21.5562 7.91362 20.073 7.46362ZM14.4175 8.75602C13.4221 9.40582 12.9289 10.6262 12.9667 11.789C15.2491 11.8106 17.5296 11.7962 19.812 11.798C19.893 10.2806 18.912 8.73982 17.4108 8.35102C16.4101 7.99642 15.3247 8.28082 14.4175 8.75602ZM13.0261 13.7366C13.0153 14.5484 13.0441 15.4016 13.4725 16.1198C14.1097 17.3276 15.4309 18.0692 16.7826 18.1106C16.7845 18.755 16.7845 19.3994 16.7826 20.0456C15.3841 20.015 14.0413 19.4696 12.9829 18.5624C13.0027 19.8206 12.9829 21.0788 12.9973 22.3388C14.9899 21.0644 17.4649 20.5298 19.803 20.9042C19.7904 18.5156 19.8012 16.1252 19.7958 13.7366C17.5404 13.7348 15.2833 13.7348 13.0261 13.7366Z" | ||
| fill="white" | ||
| /> | ||
| <defs> | ||
| <linearGradient | ||
| id="paint0_linear_35_22290" | ||
| x1="21.0748" | ||
| y1="1.5" | ||
| x2="21.0748" | ||
| y2="34.4996" | ||
| gradientUnits="userSpaceOnUse"> | ||
| <stop stopColor="#FF8D5C" /> | ||
| <stop offset="0.99" stopColor="#FFC49A" /> | ||
| </linearGradient> | ||
| </defs> | ||
| </g>, | ||
| '0 0 37 36', | ||
| ) |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
I suggest to use a more readable name instead of
internal