From a4259555ae9a82324bc1241c38cfac3d442663dd Mon Sep 17 00:00:00 2001
From: Sambit Rath
Date: Sat, 5 Oct 2024 21:08:26 +0530
Subject: [PATCH 1/3] Migrate Translatathon/TranslatathonInANutshell.tsx to
shadcs/tailwind
---
.../TranslatathonInANutshell.tsx | 106 ++++++------------
1 file changed, 36 insertions(+), 70 deletions(-)
diff --git a/src/components/Translatathon/TranslatathonInANutshell.tsx b/src/components/Translatathon/TranslatathonInANutshell.tsx
index 53d1825338a..23994eddc27 100644
--- a/src/components/Translatathon/TranslatathonInANutshell.tsx
+++ b/src/components/Translatathon/TranslatathonInANutshell.tsx
@@ -1,9 +1,7 @@
-import { Flex, Heading, Text } from "@chakra-ui/react"
-
-import { ButtonLink } from "@/components/Buttons"
-import { Image } from "@/components/Image"
-
-import Link from "../Link"
+import { TwImage } from "@/components/Image"
+import { ButtonLink } from "@/components/ui/buttons/Button"
+import { Flex } from "@/components/ui/flex"
+import Link from "@/components/ui/Link"
import dogeImage from "@/public/images/doge-computer.png"
import futureImage from "@/public/images/future_transparent.png"
@@ -11,67 +9,41 @@ import settlementImage from "@/public/images/translatathon/settlement.png"
export const TranslatathonInANutshell = () => {
return (
-
-
-
- Translatathon essentials
-
+
+
+ Translatathon essentials
-
-
-
- Earn points
-
-
+
+
+
+ Earn points
+
Translate ethereum.org and ecosystem content to earn points and
compete with other participants. 1 translated word = 1 point
-
+
-
-
+
-
-
-
+
+
-
-
- Human translations only
-
-
+
+ Human translations only
+
Using machine translation is forbidden! All translations will be
reviewed and evaluated, and participants using machine translation
will be automatically disqualified and not be eligible to claim
@@ -80,36 +52,30 @@ export const TranslatathonInANutshell = () => {
terms and conditions
)
-
+
-
-
-
- Focus on untranslated lines only
-
-
+
+
+
+ Focus on untranslated lines only
+
Translate strings that do not have any suggested translations yet.
Do not translate strings that have already been translated and
approved
-
+
-
-
+
-
+
+
Details and rules
From f25e176c57138459b099cb6087895b8737d1a17d Mon Sep 17 00:00:00 2001
From: Pablo Pettinari
Date: Thu, 31 Oct 2024 15:18:28 +0100
Subject: [PATCH 2/3] align items
---
.../Translatathon/TranslatathonInANutshell.tsx | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/src/components/Translatathon/TranslatathonInANutshell.tsx b/src/components/Translatathon/TranslatathonInANutshell.tsx
index 23994eddc27..6f472dd7b5a 100644
--- a/src/components/Translatathon/TranslatathonInANutshell.tsx
+++ b/src/components/Translatathon/TranslatathonInANutshell.tsx
@@ -15,7 +15,7 @@ export const TranslatathonInANutshell = () => {
-
+
Earn points
Translate ethereum.org and ecosystem content to earn points and
@@ -27,6 +27,7 @@ export const TranslatathonInANutshell = () => {
src={settlementImage}
alt=""
width={327}
+ className="w-[327px]"
style={{ objectFit: "contain" }}
/>
@@ -38,10 +39,11 @@ export const TranslatathonInANutshell = () => {
src={futureImage}
alt=""
width={327}
+ className="w-[327px]"
style={{ objectFit: "contain" }}
/>
-
+
Human translations only
Using machine translation is forbidden! All translations will be
@@ -57,7 +59,7 @@ export const TranslatathonInANutshell = () => {
-
+
Focus on untranslated lines only
Translate strings that do not have any suggested translations yet.
@@ -70,6 +72,7 @@ export const TranslatathonInANutshell = () => {
src={dogeImage}
alt=""
width={327}
+ className="w-[327px]"
style={{ objectFit: "contain" }}
/>
From 131342c8284ed4b3378ac6919b235154e7b7314b Mon Sep 17 00:00:00 2001
From: Pablo Pettinari
Date: Thu, 31 Oct 2024 15:18:46 +0100
Subject: [PATCH 3/3] Update
src/components/Translatathon/TranslatathonInANutshell.tsx
---
src/components/Translatathon/TranslatathonInANutshell.tsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/components/Translatathon/TranslatathonInANutshell.tsx b/src/components/Translatathon/TranslatathonInANutshell.tsx
index 6f472dd7b5a..62c360b8858 100644
--- a/src/components/Translatathon/TranslatathonInANutshell.tsx
+++ b/src/components/Translatathon/TranslatathonInANutshell.tsx
@@ -14,7 +14,7 @@ export const TranslatathonInANutshell = () => {
Translatathon essentials
-
+
Earn points