-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SK-189 Add images support for profile (#120)
* SK-189 Add images support for profile * SK-189 added updateNeedToUploadAvatar to utils * SK-189 clean up * SK-189 Minor changes * SK-189 removed the login field from the edit request * SK-189 replaced currentuser -> currentUserId store, added getCurrentUserFromParticipants * Sk-189 fix loop * Sk-189 updated blur-hash style, added more avatar views * SK-189 removed all events for upload user's avatar * SK-189 optimization * SK-189 removed uploadAvatarsUrls * SK-189 added hover effect, changed icon * Sk-189 added style for current/other user pages
- Loading branch information
1 parent
1baeab3
commit 2e632d4
Showing
36 changed files
with
358 additions
and
106 deletions.
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
import OvalLoader from "@components/_helpers/OvalLoader"; | ||
import { Blurhash } from "react-blurhash"; | ||
|
||
export default function ItemLoader({ blurHash }) { | ||
export default function ItemLoader({ blurHash, isShowLoader = true }) { | ||
return ( | ||
<div className="blur-hash-preloader"> | ||
<Blurhash | ||
className="canvas-preloader" | ||
hash={blurHash || "LEHLk~WB2yk8pyo0adR*.7kCMdnj"} | ||
width={70} | ||
height={70} | ||
width={"100%"} | ||
height={"100%"} | ||
resolutionX={32} | ||
resolutionY={32} | ||
/> | ||
<OvalLoader height={50} width={50} /> | ||
{isShowLoader ? <OvalLoader height={50} width={50} /> : null} | ||
</div> | ||
); | ||
} |
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
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.