This repository has been archived by the owner on Oct 27, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Bepro 1370 fix UI bounty hall logos main nav logo and bounty hero states (#896) * adding styles and logic bg * adding color to bountyTags * adjusting BountyTags component * update Bagde logic * adding opacity logic and refactoring style * adding opacity param to hero * adjusting space * adding import * adding color to hero * adding ? to colors primary * adjusting if association network * DEV-982 Know Your Client (#860) * DEV-982 add isKyc to bounties * DEV-982 add isKyc badge * DEV-982 add kyc session model * DEV-982 init kyc session * DEV-982 validate kyc session * DEV-982 remove tier settings * DEV-982 create helper find user by session * DEV-982 isolate helper query * DEV-982 add isKyc to bounties * DEV-982 change isKyc to tierList * DEV-982 add tierList to settings * DEV-982 validate tier per bounty * DEV-982 refresh step btn * DEV-982 restore loading state * DEV-982 changes request * DEV-982 fix validate tiers * DEV-982 fix check isKyc * DEV-982 restore package-lock * DEV-982 refresh token * DEV-982 add isKyc to bounties * DEV-982 add isKyc badge * DEV-982 init kyc session * DEV-982 validate kyc session * DEV-982 change isKyc to tierList * DEV-982 changes request * DEV-982 fix conflicts * DEV-982 fix conflicts * DEV-982 remove debugger * DEV-982 restore package-json * DEV-982 restore check * DEV-982 fix loading modal * DEV-982 fix size modal * doctors hands: Account for matching accounts before verifying a user * linted * clean dupes from rebase * fix loggers * make it so page.action on bounty redirects to profile and have the profile hold the kyc button * dont return if no session * make it so the timer actually makes sense and cleans when supposed to clean and creates only when needed * make text green, adds a contextual span if success * change labels * add close label * simpler isVerified logic * change timer from 30s to 3s * remove "identifying..." label from modal --------- Co-authored-by: clarkjoao <[email protected]> Co-authored-by: clarkjoao <[email protected]> Co-authored-by: Vitor Hugo <[email protected]> Co-authored-by: Marcus Vinícius <[email protected]> * Bepro 1414 is possible to config fees to 100 (#882) * adding validator * removing console.log * validating limits * using interpolation for limits * fix limits errors * fix condition to update network (#908) * Bepro 1465 explore icon not aligned with rest of nav (#909) * creating style mgt-3 * adding mgt-3 to main-nav and adjusting Icon * fix fundedAmount logic (#905) * fix order disabled disputed button (#904) * adding text-truncate (#917) * Bepro 1410 governance tab missing individual fees configuration (#902) * adding parameters * updating dappkit version * oracle exchange rate is not percent * calculate exchange rate and add colors to modal body * fix readonly alert visible out of a network * adding missing parameters * network can no longer update the treasury address * fix file name * adding limits to new parameters and checking solidity integer limit * change minimum to 1, because of contract things * only integer * fix * adding unable to change warning * using N scale * using lower case on address * using lower case on address * adding review suggestion * renaming validators * fix reading of undefined * fix reading of undefined * using calculateDistributedAmounts to check minimum value * fix condition * fix NaN --------- Co-authored-by: Marcus Vinícius <[email protected]> Co-authored-by: clarkjoao <[email protected]> Co-authored-by: clarkjoao <[email protected]> Co-authored-by: Vitor Hugo <[email protected]>
- Loading branch information
1 parent
c9885f4
commit d58a5c9
Showing
82 changed files
with
1,534 additions
and
419 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
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,25 +1,28 @@ | ||
import { ReactElement } from "react"; | ||
import { CSSProperties, ReactElement } from "react"; | ||
import { Badge as ReactBadge } from "react-bootstrap"; | ||
|
||
interface BadgeProps { | ||
label?: string; | ||
color?: string; | ||
className?: string; | ||
children?: ReactElement | ||
style?: CSSProperties; | ||
} | ||
|
||
export default function Badge({ | ||
label, | ||
color = "primary", | ||
className, | ||
children | ||
children, | ||
style | ||
}: BadgeProps) { | ||
return( | ||
<ReactBadge | ||
className={className || "p-small family-Regular text-uppercase"} | ||
bg={color} | ||
bg={style ? null : color} | ||
style={style} | ||
> | ||
{label ? label : children} | ||
</ReactBadge> | ||
); | ||
} | ||
} |
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.