Skip to content

Commit 60774d4

Browse files
authored
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
1 parent d0c9edf commit 60774d4

File tree

6 files changed

+71
-10
lines changed

6 files changed

+71
-10
lines changed

public/locales/de/page-explore-wallets.json

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,34 @@
3030
}
3131
}
3232
},
33+
"visualAssetsSection": {
34+
"sectionTitle": "OPTIMIERE DENINE DEFI-BLOCKCHAIN-ENTWICKLUNG",
35+
"title": "Visual Assets",
36+
"subtitle": "ie Medieninhalte stehen unter der CCO-Lizenz. \"Keine Rechte vorbehalten\"",
37+
"entries": {
38+
"DFC": {
39+
"title": "DeFiChain logo",
40+
"desc": "The official and default logo"
41+
},
42+
"PowerDFC": {
43+
"title": "Unterstützt von DeFiChain",
44+
"desc": "Nützlich für Projektarbeiten"
45+
},
46+
"Jellyfish": {
47+
"title": "Das DeFiChain-Quallen-Logo",
48+
"desc": "Nützlich, wenn der Platz knapp ist"
49+
},
50+
"Built": {
51+
"title": "Aufgebaut auf Bitcoin",
52+
"desc": "3D-Medieninhalte für Illustrationszwecke"
53+
},
54+
"DFI3D": {
55+
"title": "3D-DFI-Coin",
56+
"desc": "3D-Medieninhalt für Illustrationszwecke"
57+
}
58+
},
59+
"button": "Herunterladen der Dateien in gezippter Form"
60+
},
3361
"advanceUseSection": {
3462
"sectionTitle": "FÜR FORTGESCHRITTENEN EINSATZ GEEIGNET",
3563
"title": "Erweiterte Nutzung von DeFiChain",

public/locales/en-US/page-explore-wallets.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
}
3232
},
3333
"visualAssetsSection": {
34-
"sectionTitle": "Supercharge your DeFi Blockchain development",
34+
"sectionTitle": "SUPERCHARGE YOUR DEFI BLOCKCHAIN DEVELOPMENT",
3535
"title": "Visual Assets",
3636
"subtitle": "The media assets are released under CCO license. \"No Rights Reserved\"",
3737
"entries": {

public/locales/fr/page-explore-wallets.json

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,34 @@
3030
}
3131
}
3232
},
33+
"visualAssetsSection": {
34+
"sectionTitle": "BOOSTEZ VOTRE DÉVELOPPEMENT DE LA BLOCKCHAIN DANS LE DOMAINE DEFI",
35+
"title": "Ressources visuelles",
36+
"subtitle": "es ressources médiatiques sont diffusées sous licence CCO. \"Aucun droit réservé\"",
37+
"entries": {
38+
"DFC": {
39+
"title": "Logo DeFiChain",
40+
"desc": "Le logo officiel et par défaut"
41+
},
42+
"PowerDFC": {
43+
"title": "Propulsé par DeFiChain",
44+
"desc": "Utile pour les projets"
45+
},
46+
"Jellyfish": {
47+
"title": "Le logo méduse de DeFiChain",
48+
"desc": "Utile lorsque l'espace est limité"
49+
},
50+
"Built": {
51+
"title": "onstruit sur Bitcoin",
52+
"desc": "Ressources 3D à des fins d'illustration"
53+
},
54+
"DFI3D": {
55+
"title": "DFI 3D Coin",
56+
"desc": "3D asset for illustration purposes"
57+
}
58+
},
59+
"button": "Téléchargez les fichiers .zippés"
60+
},
3361
"advanceUseSection": {
3462
"sectionTitle": "ADAPTÉS À UNE UTILISATION AVANCÉE",
3563
"title": "Utilisation avancée de DeFiChain",

src/components/icons/assets/downloadAssets/BTCDFILogo.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,16 @@
1-
export default function BTCDFILogo(): JSX.Element {
1+
import { SVGProps } from "react";
2+
3+
export default function BTCDFILogo(
4+
props: SVGProps<SVGSVGElement>,
5+
): JSX.Element {
26
return (
37
<svg
48
xmlns="http://www.w3.org/2000/svg"
59
width="71"
610
height="51"
711
viewBox="0 0 71 51"
812
fill="none"
13+
{...props}
914
>
1015
<path
1116
fillRule="evenodd"

src/components/icons/assets/downloadAssets/DFI3D.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
1-
export default function DFI3D(): JSX.Element {
1+
import { SVGProps } from "react";
2+
3+
export default function DFI3D(props: SVGProps<SVGSVGElement>): JSX.Element {
24
return (
35
<svg
46
xmlns="http://www.w3.org/2000/svg"
57
width="63"
68
height="51"
79
viewBox="0 0 63 51"
810
fill="none"
11+
{...props}
912
>
1013
<path
1114
d="M14.8834 4.31469C15.8792 4.03475 16.8886 3.80586 17.9078 3.62891M32.8849 6.17861C34.2275 6.44787 35.5545 6.78979 36.8601 7.20286C49.455 11.1829 57.6343 20.8472 55.1293 28.7901C54.0323 32.2653 51.074 34.8348 47.0364 36.2931"

src/pages/explore/wallets/_components/VisualAssetsSection.tsx

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ export function VisualAssetsSection() {
6060
>
6161
<DeFiChainLogo
6262
fill="#FFFFFF"
63-
className="w-[159px] h-9 md:w-[194.33px] lg:block lg:w-40 lg:h-full md:h-[44px]"
63+
className="w-[159px] h-9 lg:block lg:h-full md:h-[44px]"
6464
/>
6565
</DownloadAssetsCard>
6666

@@ -71,10 +71,7 @@ export function VisualAssetsSection() {
7171
svgAssetPath="/downloads/visualAssets/dfi-powered-by.svg"
7272
pngAssetPath="/downloads/visualAssets/dfi-powered-by.png"
7373
>
74-
<PoweredByDeFiChainLogo
75-
fill="#FFFFFF"
76-
className="w-[159px] h-9 md:w-[194.33px] lg:block lg:w-40 lg:h-full md:h-[44px]"
77-
/>
74+
<PoweredByDeFiChainLogo className="w-[159px] h-9 md:w-[194.33px] lg:block lg:w-40 lg:h-full md:h-[44px]" />
7875
</DownloadAssetsCard>
7976

8077
<DownloadAssetsCard
@@ -94,7 +91,7 @@ export function VisualAssetsSection() {
9491
svgAssetPath="/downloads/visualAssets/dfi-btc-logo.svg"
9592
pngAssetPath="/downloads/visualAssets/dfi-btc-logo.png"
9693
>
97-
<BTCDFILogo />
94+
<BTCDFILogo className="w-[159px] h-9 md:w-[68.703px] lg:block lg:h-full md:h-[48.754px]" />
9895
</DownloadAssetsCard>
9996

10097
<DownloadAssetsCard
@@ -104,7 +101,7 @@ export function VisualAssetsSection() {
104101
svgAssetPath="/downloads/visualAssets/dfi-3d-logo.svg"
105102
pngAssetPath="/downloads/visualAssets/dfi-3d-logo.png"
106103
>
107-
<DFI3D />
104+
<DFI3D className="w-[61.391px] h-9 lg:block lg:h-full md:h-[44px]" />
108105
</DownloadAssetsCard>
109106
</div>
110107

0 commit comments

Comments
 (0)