diff --git a/public/locales/en.json b/public/locales/en.json index 21fa581..1c52a50 100644 --- a/public/locales/en.json +++ b/public/locales/en.json @@ -428,6 +428,7 @@ "resultNotFound": "That address has not yet been initialised on the Krist network.", "verifiedCardTitle": "Verified address", + "verifiedInactive": "This service is not currently active.", "verifiedWebsiteButton": "Visit website" }, diff --git a/src/__data__/verified-addresses.json b/src/__data__/verified-addresses.json index aa0bad4..d7523c4 100644 --- a/src/__data__/verified-addresses.json +++ b/src/__data__/verified-addresses.json @@ -3,5 +3,17 @@ "label": "SwitchCraft", "description": "This address is the master wallet for the SwitchCraft Minecraft server. It represents the balance of all SwitchCraft players.", "website": "https://switchcraft.pw" - } + }, + "kitsemmaya": { "label": "BustaKrist" }, + "ksellshopq": { "label": "Sellshop" }, + "kr08ac3b4o": { "label": "CodersNet", "isActive": false }, + "kyq7arbu73": { "label": "CodersNet", "isActive": false }, + "kek4daddy2": { "label": "KDice", "isActive": false }, + "klemmyturd": { "label": "KFaucet", "isActive": false }, + "knfe7aps4c": { "label": "KFaucet", "isActive": false }, + "kh9w36ea1b": { "label": "KLottery", "isActive": false }, + "klucky7942": { "label": "KLottery", "isActive": false }, + "kmineqokuz": { "label": "KristMiner.cf", "isActive": false }, + "kul2kr8t4l": { "label": "LurCraft", "isActive": false }, + "k5cfswitch": { "label": "SwitchMarket", "isActive": false } } diff --git a/src/components/addresses/VerifiedAddress.tsx b/src/components/addresses/VerifiedAddress.tsx index 1d4c583..5cbeb16 100644 --- a/src/components/addresses/VerifiedAddress.tsx +++ b/src/components/addresses/VerifiedAddress.tsx @@ -2,7 +2,7 @@ // This file is part of KristWeb 2 under GPL-3.0. // Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt import classNames from "classnames"; -import { Row, Col, Card, Tooltip, Button } from "antd"; +import { Row, Col, Card, Tooltip, Button, Typography } from "antd"; import { GlobalOutlined } from "@ant-design/icons"; import { useTranslation } from "react-i18next"; @@ -15,6 +15,8 @@ import Markdown from "markdown-to-jsx"; import { useMarkdownLink } from "@comp/krist/MarkdownLink"; +const { Text } = Typography; + // A verified address is a service that transacts on behalf of its users, or // holds a balance for its users, and is run by someone we think is trustworthy. @@ -91,6 +93,13 @@
} + {/* Inactive notice */} + {verified.isActive === false &&