From 60774d4e982418c881dc0c6059b83ee8e7e711bc Mon Sep 17 00:00:00 2001 From: Chloe <44501120+chloezxyy@users.noreply.github.com> Date: Wed, 7 Feb 2024 08:57:36 +0800 Subject: [PATCH] fix(ui-ux): visual assets card section (#735) * fix(u9i-ux): caps on visual assets section * fix(ui-ux): adjust download asset on card * update translations de and fr --- public/locales/de/page-explore-wallets.json | 28 +++++++++++++++++++ .../locales/en-US/page-explore-wallets.json | 2 +- public/locales/fr/page-explore-wallets.json | 28 +++++++++++++++++++ .../assets/downloadAssets/BTCDFILogo.tsx | 7 ++++- .../icons/assets/downloadAssets/DFI3D.tsx | 5 +++- .../_components/VisualAssetsSection.tsx | 11 +++----- 6 files changed, 71 insertions(+), 10 deletions(-) diff --git a/public/locales/de/page-explore-wallets.json b/public/locales/de/page-explore-wallets.json index 19e9715b8..006ed613e 100644 --- a/public/locales/de/page-explore-wallets.json +++ b/public/locales/de/page-explore-wallets.json @@ -30,6 +30,34 @@ } } }, + "visualAssetsSection": { + "sectionTitle": "OPTIMIERE DENINE DEFI-BLOCKCHAIN-ENTWICKLUNG", + "title": "Visual Assets", + "subtitle": "ie Medieninhalte stehen unter der CCO-Lizenz. \"Keine Rechte vorbehalten\"", + "entries": { + "DFC": { + "title": "DeFiChain logo", + "desc": "The official and default logo" + }, + "PowerDFC": { + "title": "Unterstützt von DeFiChain", + "desc": "Nützlich für Projektarbeiten" + }, + "Jellyfish": { + "title": "Das DeFiChain-Quallen-Logo", + "desc": "Nützlich, wenn der Platz knapp ist" + }, + "Built": { + "title": "Aufgebaut auf Bitcoin", + "desc": "3D-Medieninhalte für Illustrationszwecke" + }, + "DFI3D": { + "title": "3D-DFI-Coin", + "desc": "3D-Medieninhalt für Illustrationszwecke" + } + }, + "button": "Herunterladen der Dateien in gezippter Form" + }, "advanceUseSection": { "sectionTitle": "FÜR FORTGESCHRITTENEN EINSATZ GEEIGNET", "title": "Erweiterte Nutzung von DeFiChain", diff --git a/public/locales/en-US/page-explore-wallets.json b/public/locales/en-US/page-explore-wallets.json index 2a6c9935f..922b5b1e7 100644 --- a/public/locales/en-US/page-explore-wallets.json +++ b/public/locales/en-US/page-explore-wallets.json @@ -31,7 +31,7 @@ } }, "visualAssetsSection": { - "sectionTitle": "Supercharge your DeFi Blockchain development", + "sectionTitle": "SUPERCHARGE YOUR DEFI BLOCKCHAIN DEVELOPMENT", "title": "Visual Assets", "subtitle": "The media assets are released under CCO license. \"No Rights Reserved\"", "entries": { diff --git a/public/locales/fr/page-explore-wallets.json b/public/locales/fr/page-explore-wallets.json index b70f24450..f78356505 100644 --- a/public/locales/fr/page-explore-wallets.json +++ b/public/locales/fr/page-explore-wallets.json @@ -30,6 +30,34 @@ } } }, + "visualAssetsSection": { + "sectionTitle": "BOOSTEZ VOTRE DÉVELOPPEMENT DE LA BLOCKCHAIN DANS LE DOMAINE DEFI", + "title": "Ressources visuelles", + "subtitle": "es ressources médiatiques sont diffusées sous licence CCO. \"Aucun droit réservé\"", + "entries": { + "DFC": { + "title": "Logo DeFiChain", + "desc": "Le logo officiel et par défaut" + }, + "PowerDFC": { + "title": "Propulsé par DeFiChain", + "desc": "Utile pour les projets" + }, + "Jellyfish": { + "title": "Le logo méduse de DeFiChain", + "desc": "Utile lorsque l'espace est limité" + }, + "Built": { + "title": "onstruit sur Bitcoin", + "desc": "Ressources 3D à des fins d'illustration" + }, + "DFI3D": { + "title": "DFI 3D Coin", + "desc": "3D asset for illustration purposes" + } + }, + "button": "Téléchargez les fichiers .zippés" + }, "advanceUseSection": { "sectionTitle": "ADAPTÉS À UNE UTILISATION AVANCÉE", "title": "Utilisation avancée de DeFiChain", diff --git a/src/components/icons/assets/downloadAssets/BTCDFILogo.tsx b/src/components/icons/assets/downloadAssets/BTCDFILogo.tsx index 176329d09..d55a865e6 100644 --- a/src/components/icons/assets/downloadAssets/BTCDFILogo.tsx +++ b/src/components/icons/assets/downloadAssets/BTCDFILogo.tsx @@ -1,4 +1,8 @@ -export default function BTCDFILogo(): JSX.Element { +import { SVGProps } from "react"; + +export default function BTCDFILogo( + props: SVGProps, +): JSX.Element { return ( ): JSX.Element { return ( @@ -71,10 +71,7 @@ export function VisualAssetsSection() { svgAssetPath="/downloads/visualAssets/dfi-powered-by.svg" pngAssetPath="/downloads/visualAssets/dfi-powered-by.png" > - + - + - +