fix(rating): coloring and update mocked data

This commit is contained in:
Daniel Klein 2024-09-17 09:17:06 +02:00
parent c35e1cf99a
commit 7e71c3c2e6
2 changed files with 96 additions and 58 deletions

View file

@ -97,7 +97,7 @@ const hidePopover = () => {
text-12px
font-700
leading-20px
:class="{ 'text-app-text-rating-negative': !item.isValid }"
:class="[item.isValid ? 'text-app-white': 'text-app-text-rating-negative']"
>
<div
flex

View file

@ -16198,9 +16198,11 @@
"references": [
{
"field": "team.teammembers",
"label": "Team",
"label": {
"name": "Team",
"positive": "Member",
"negative": "Anonymous",
"negative": "Anonymous"
},
"condition": {
"minLength": 1
},
@ -16208,9 +16210,11 @@
},
{
"field": "links.docs",
"label": "Documentation",
"label": {
"name": "Documentation",
"positive": "Link",
"negative": "Not available",
"negative": "Not available"
},
"condition": {
"exists": true
},
@ -16218,9 +16222,11 @@
},
{
"field": "links.github",
"label": "Github",
"label": {
"name": "Github",
"positive": "Link",
"negative": "Not available",
"negative": "Not available"
},
"condition": {
"exists": true
},
@ -16228,9 +16234,11 @@
},
{
"field": "links.twitter",
"label": "Twitter",
"label": {
"name": "Twitter",
"positive": "Link",
"negative": "Not available",
"negative": "Not available"
},
"condition": {
"exists": true
},
@ -16238,9 +16246,11 @@
},
{
"field": "links.telegram",
"label": "Telegram",
"label": {
"name": "Twitter",
"positive": "Link",
"negative": "Not available",
"negative": "Not available"
},
"condition": {
"exists": true
},
@ -16248,9 +16258,11 @@
},
{
"field": "links.discord",
"label": "Discord",
"label": {
"name": "Discord",
"positive": "Link",
"negative": "Not available",
"negative": "Not available"
},
"condition": {
"exists": true
},
@ -16258,9 +16270,11 @@
},
{
"field": "links.lens",
"label": "Lens",
"label": {
"name": "Lens",
"positive": "Link",
"negative": "Not available",
"negative": "Not available"
},
"condition": {
"exists": true
},
@ -16268,9 +16282,11 @@
},
{
"field": "links.farcaster",
"label": "Farcaster",
"label": {
"name": "Farcaster",
"positive": "Link",
"negative": "Not available",
"negative": "Not available"
},
"condition": {
"exists": true
},
@ -16278,9 +16294,11 @@
},
{
"field": "links.whitepaper",
"label": "Whitepaper",
"label": {
"name": "Whitepaper",
"positive": "Link",
"negative": "Not available",
"negative": "Not available"
},
"condition": {
"exists": true
},
@ -16288,9 +16306,11 @@
},
{
"field": "funding.value",
"label": "Funding",
"label": {
"name": "Funding",
"positive": "Investment",
"negative": "Not available",
"negative": "Not available"
},
"condition": {
"exists": true
},
@ -16304,9 +16324,11 @@
"references": [
{
"field": "project_status.mainnet",
"label": "Mainnet",
"label": {
"name": "Mainnet",
"positive": "Yes",
"negative": "No",
"negative": "No"
},
"condition": {
"exists": true
},
@ -16314,9 +16336,11 @@
},
{
"field": "blockchain_features.opensource",
"label": "Open Source",
"label": {
"name": "Open Source",
"positive": "Yes",
"negative": "No",
"negative": "No"
},
"condition": {
"equals": true
},
@ -16324,9 +16348,11 @@
},
{
"field": "blockchain_features.asset_custody_type",
"label": "Non Custody",
"label": {
"name": "Non Custody",
"positive": "None",
"negative": "Custodial",
"negative": "Custodial"
},
"condition": {
"equals": "non-custody"
},
@ -16334,9 +16360,11 @@
},
{
"field": "blockchain_features.upgradability.enabled",
"label": "Upgradability",
"label": {
"name": "Upgradability",
"positive": "Disabled",
"negative": "Enabled",
"negative": "Enabled"
},
"condition": {
"equals": false
},
@ -16344,9 +16372,11 @@
},
{
"field": "audits",
"label": "Audits",
"label": {
"name": "Audits",
"positive": "Audit",
"negative": "None",
"negative": "None"
},
"condition": {
"minLength": 1
},
@ -16360,9 +16390,11 @@
"references": [
{
"field": "privacy_policy.link",
"label": "Privacy Policy",
"label": {
"name": "Privacy Policy",
"positive": "Link",
"negative": "Not available",
"negative": "Not available"
},
"condition": {
"exists": true
},
@ -16370,9 +16402,11 @@
},
{
"field": "traceability.kyc",
"label": "KYC",
"label": {
"name": "KYC",
"positive": "No",
"negative": "Yes",
"negative": "Yes"
},
"condition": {
"equals": false
},
@ -16380,9 +16414,11 @@
},
{
"field": "compliance",
"label": "Compliance",
"label": {
"name": "Compliance",
"positive": "No",
"negative": "OFAC",
"negative": "OFAC"
},
"condition": {
"equals": true
},
@ -16390,9 +16426,11 @@
},
{
"field": "default_privacy",
"label": "Default Privacy",
"label": {
"name": "Default Privacy",
"positive": "YES",
"negative": "No",
"negative": "No"
},
"condition": {
"equals": true
},