From cea6f06638db5f77f5dc2c120d997ed6c43161ea Mon Sep 17 00:00:00 2001
From: Prayag <52105313+prayagd@users.noreply.github.com>
Date: Tue, 6 May 2025 18:17:24 +0530
Subject: [PATCH 1/6] Update banner text
---
frontend/src/translations/en.json | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/frontend/src/translations/en.json b/frontend/src/translations/en.json
index 021db5aa4..2870df265 100644
--- a/frontend/src/translations/en.json
+++ b/frontend/src/translations/en.json
@@ -180,13 +180,13 @@
},
"components": {
"airdropBanner": {
- "title": "Special offer",
+ "title": "Special offer until 15th May",
"description": "Buy or Sell just R$5 or €10 - get 20 USDT for FREE",
"button": "More info",
"list": {
"1": "Buy or sell from just R$5 (PIX) or €10 (SEPA) - quick, easy, and no hidden fees.",
- "2": "All eligible users get 10 USDT - the first 100 receive a 10 USDT bonus, totaling 20 USDT. Rewards go to your wallet on Base or AssetHub.",
- "3": "One reward per user - we use KYC and on-chain checks to ensure fairness and prevent abuse."
+ "2": "All eligible users get 10 USDT - the first 100 receive a 10 USDT bonus, totaling 20 USDT. Rewards go to your wallet on Base or AssetHub.",
+ "3": "One reward per person - Check here (Updates every 24hrs)"
}
},
"emailForm": {
From db68cbc82e2c8b5aae1ba42ce50db15c0b5acb44 Mon Sep 17 00:00:00 2001
From: Prayag <52105313+prayagd@users.noreply.github.com>
Date: Tue, 6 May 2025 18:40:34 +0530
Subject: [PATCH 2/6] text iterated
---
frontend/src/translations/en.json | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/frontend/src/translations/en.json b/frontend/src/translations/en.json
index 2870df265..bcb989651 100644
--- a/frontend/src/translations/en.json
+++ b/frontend/src/translations/en.json
@@ -180,12 +180,12 @@
},
"components": {
"airdropBanner": {
- "title": "Special offer until 15th May",
- "description": "Buy or Sell just R$5 or €10 - get 20 USDT for FREE",
+ "title": "Special offer until 15 May",
+ "description": "Buy or Sell just R$5 - get 20 USDT for FREE",
"button": "More info",
"list": {
- "1": "Buy or sell from just R$5 (PIX) or €10 (SEPA) - quick, easy, and no hidden fees.",
- "2": "All eligible users get 10 USDT - the first 100 receive a 10 USDT bonus, totaling 20 USDT. Rewards go to your wallet on Base or AssetHub.",
+ "1": "Buy or sell from just R$5 (PIX) - quick, easy, and no hidden fees.",
+ "2": "All eligible users get 10 USDT - the first 100 receive a 10 USDT bonus, totaling 20 USDT. Rewards go to your wallet on Base or AssetHub a week after campaign ends.",
"3": "One reward per person - Check here (Updates every 24hrs)"
}
},
From 1177fd7e8b0db8b9c0a1a24f67636a60661b8ed5 Mon Sep 17 00:00:00 2001
From: Prayag <52105313+prayagd@users.noreply.github.com>
Date: Tue, 6 May 2025 19:08:53 +0530
Subject: [PATCH 3/6] update title
---
frontend/src/translations/en.json | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/frontend/src/translations/en.json b/frontend/src/translations/en.json
index bcb989651..452ebad40 100644
--- a/frontend/src/translations/en.json
+++ b/frontend/src/translations/en.json
@@ -181,10 +181,10 @@
"components": {
"airdropBanner": {
"title": "Special offer until 15 May",
- "description": "Buy or Sell just R$5 - get 20 USDT for FREE",
+ "description": "Buy or sell USDT/C for just R$5 - get 20 USDT for FREE",
"button": "More info",
"list": {
- "1": "Buy or sell from just R$5 (PIX) - quick, easy, and no hidden fees.",
+ "1": "Buy or sell USDT/C for just R$5 (PIX) - quick, easy, and no hidden fees.",
"2": "All eligible users get 10 USDT - the first 100 receive a 10 USDT bonus, totaling 20 USDT. Rewards go to your wallet on Base or AssetHub a week after campaign ends.",
"3": "One reward per person - Check here (Updates every 24hrs)"
}
From 0b0b88cfa8d3f85247aae2aedf545af0f517a63e Mon Sep 17 00:00:00 2001
From: Kacper Szarkiewicz
Date: Tue, 6 May 2025 16:51:36 +0200
Subject: [PATCH 4/6] update AirdropBanner
---
.../src/components/AirdropBanner/index.tsx | 47 ++++++++++++-------
frontend/src/translations/en.json | 8 ++--
frontend/src/translations/pt.json | 44 ++++++++---------
3 files changed, 57 insertions(+), 42 deletions(-)
diff --git a/frontend/src/components/AirdropBanner/index.tsx b/frontend/src/components/AirdropBanner/index.tsx
index 562cdb607..b9f6a3513 100644
--- a/frontend/src/components/AirdropBanner/index.tsx
+++ b/frontend/src/components/AirdropBanner/index.tsx
@@ -1,14 +1,13 @@
import { useState } from 'react';
-import { motion, useMotionValue, AnimatePresence } from 'motion/react';
+import { motion, AnimatePresence } from 'motion/react';
import { useTranslation, Trans } from 'react-i18next';
+import { ChevronDownIcon } from '@heroicons/react/20/solid';
export const AirdropBanner = () => {
const { t } = useTranslation();
const [expanded, setExpanded] = useState(false);
- const rotation = useMotionValue(0);
const toggleExpand = () => {
- rotation.set(expanded ? 0 : 180);
- setExpanded(!expanded);
+ setExpanded((state) => !state);
};
return (
@@ -20,17 +19,18 @@ export const AirdropBanner = () => {
transition={{ duration: 0.5, ease: 'easeOut' }}
whileHover={{ scale: 1.01 }}
>
-
-
-
-
🪂 {t('components.airdropBanner.title')}
-
- {t('components.airdropBanner.description')}
-
-
-
+
+
+
+
+ 🪂 {t('components.airdropBanner.title')}
+
+
{t('components.airdropBanner.description')}
+
+
+
+
-
@@ -57,7 +57,10 @@ export const AirdropBanner = () => {
animate={{ opacity: 1, x: 0 }}
transition={{ delay: 0.2 }}
>
- All eligible users get $10 USDT - the first 100 receive a 10 bonus, totaling 20 USDT. Rewards go to your wallet on Base or AssetHub.
+
+ All eligible users get $10 USDT - the first 100 receive a 10 bonus, totaling 20 USDT.{' '}
+ Rewards go to your wallet on Base or AssetHub.
+ {
animate={{ opacity: 1, x: 0 }}
transition={{ delay: 0.3 }}
>
- {t('components.airdropBanner.list.3')}
+
+ One reward per person -
+ e.stopPropagation()}
+ rel="noreferrer"
+ >
+ Check here
+ {' '}
+ (Updates every 24hrs)
+
diff --git a/frontend/src/translations/en.json b/frontend/src/translations/en.json
index 452ebad40..03f7650c9 100644
--- a/frontend/src/translations/en.json
+++ b/frontend/src/translations/en.json
@@ -185,8 +185,8 @@
"button": "More info",
"list": {
"1": "Buy or sell USDT/C for just R$5 (PIX) - quick, easy, and no hidden fees.",
- "2": "All eligible users get 10 USDT - the first 100 receive a 10 USDT bonus, totaling 20 USDT. Rewards go to your wallet on Base or AssetHub a week after campaign ends.",
- "3": "One reward per person - Check here (Updates every 24hrs)"
+ "2": "<1>All eligible users get 10 USDT1> - the first 100 receive a 10 USDT bonus, totaling 20 USDT. Rewards go to your wallet on Base or AssetHub a week after campaign ends.",
+ "3": "One reward per person - <1>Check here1> (Updates every 24hrs)"
}
},
"emailForm": {
@@ -432,8 +432,8 @@
"uploadFailed": "Upload failed. Please try again.",
"fields": {
"uploadSelfie": "Upload Selfie",
- "rgFront": "RG Front",
- "rgBack": "RG Back",
+ "rgFront": "RG Front",
+ "rgBack": "RG Back",
"cnhDocument": "CNH Document"
},
"buttons": {
diff --git a/frontend/src/translations/pt.json b/frontend/src/translations/pt.json
index 90fd76d06..2d25c26e4 100644
--- a/frontend/src/translations/pt.json
+++ b/frontend/src/translations/pt.json
@@ -180,13 +180,13 @@
},
"components": {
"airdropBanner": {
- "title": "Oferta especial",
- "description": "Compre ou venda apenas R$5 ou €10 - receba 20 USDT de graça!",
+ "title": "Oferta especial até 15 Maio",
+ "description": "Compre ou venda USDT/C por apenas R$5 - receba 20 USDT de graça!",
"button": "Mais informações",
"list": {
- "1": "Compre ou venda de R$5 (PIX) ou €10 (SEPA) - rápido, fácil e sem taxas ocultas.",
- "2": "Todos os usuários elegíveis recebem 10 USDT - os primeiros 100 recebem um bônus de 10 USDT, totalizando 20 USDT. Recompensas vão para sua carteira na Base ou AssetHub.",
- "3": "Uma recompensa por utilizador - utilizamos verificações KYC e na cadeia para garantir a equidade e evitar abusos."
+ "1": "Compre ou venda USDT/C por apenas R$5 (PIX) - rápido, fácil e sem taxas ocultas.",
+ "2": "<1>Todos os usuários elegíveis recebem 10 USDT1> - os primeiros 100 recebem um bônus de 10 USDT, totalizando 20 USDT. Recompensas vão para sua carteira na Base ou AssetHub após o término da campanha.",
+ "3": "Uma recompensa por pessoa - <1>Verifique aqui1> (Atualiza a cada 24 horas)"
}
},
"emailForm": {
@@ -411,25 +411,25 @@
}
},
"documentUpload": {
- "title": "Verificação Rápida",
- "description": "Para garantir uma experiência segura e fluida, precisamos de uma rápida verificação de identidade. Por favor, envie uma imagem nítida do seu documento.",
- "validation": {
- "invalidFileType": "Tipo de arquivo inválido. Apenas PNG, JPEG ou PDF são permitidos.",
- "fileSizeExceeded": "O tamanho do arquivo excede o limite de {{max}}.",
- "validationError": "Todos os arquivos devem ser válidos antes de enviar."
+ "title": "Verificação Rápida",
+ "description": "Para garantir uma experiência segura e fluida, precisamos de uma rápida verificação de identidade. Por favor, envie uma imagem nítida do seu documento.",
+ "validation": {
+ "invalidFileType": "Tipo de arquivo inválido. Apenas PNG, JPEG ou PDF são permitidos.",
+ "fileSizeExceeded": "O tamanho do arquivo excede o limite de {{max}}.",
+ "validationError": "Todos os arquivos devem ser válidos antes de enviar."
},
- "uploadBug": "Ocorreu um erro ao enviar os arquivos para verificação. Por favor, tente novamente mais tarde.",
- "uploadFailed": "Falha no envio. Por favor, tente novamente.",
- "fields": {
- "uploadSelfie": "Enviar selfie",
- "rgFront": "Frente do RG",
- "rgBack": "Verso do RG",
- "cnhDocument": "Documento CNH"
+ "uploadBug": "Ocorreu um erro ao enviar os arquivos para verificação. Por favor, tente novamente mais tarde.",
+ "uploadFailed": "Falha no envio. Por favor, tente novamente.",
+ "fields": {
+ "uploadSelfie": "Enviar selfie",
+ "rgFront": "Frente do RG",
+ "rgBack": "Verso do RG",
+ "cnhDocument": "Documento CNH"
},
- "buttons": {
- "back": "Voltar",
- "uploading": "Enviando...",
- "finish": "Concluir"
+ "buttons": {
+ "back": "Voltar",
+ "uploading": "Enviando...",
+ "finish": "Concluir"
}
},
"rating": {
From 659c1856d4849212785cb923e88b2afd0f7e4ea4 Mon Sep 17 00:00:00 2001
From: Kacper Szarkiewicz
Date: Tue, 6 May 2025 17:49:00 +0200
Subject: [PATCH 5/6] update AirdropBanner
---
frontend/src/components/AirdropBanner/index.tsx | 2 +-
frontend/src/translations/en.json | 6 +++---
frontend/src/translations/pt.json | 2 +-
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/frontend/src/components/AirdropBanner/index.tsx b/frontend/src/components/AirdropBanner/index.tsx
index b9f6a3513..4853d5eb4 100644
--- a/frontend/src/components/AirdropBanner/index.tsx
+++ b/frontend/src/components/AirdropBanner/index.tsx
@@ -77,7 +77,7 @@ export const AirdropBanner = () => {
onClick={(e) => e.stopPropagation()}
rel="noreferrer"
>
- Check here
+ here
{' '}
(Updates every 24hrs)
diff --git a/frontend/src/translations/en.json b/frontend/src/translations/en.json
index 03f7650c9..65608529b 100644
--- a/frontend/src/translations/en.json
+++ b/frontend/src/translations/en.json
@@ -181,12 +181,12 @@
"components": {
"airdropBanner": {
"title": "Special offer until 15 May",
- "description": "Buy or sell USDT/C for just R$5 - get 20 USDT for FREE",
+ "description": "Buy or sell USDT/C from just R$5 - get 20 USDT for FREE",
"button": "More info",
"list": {
- "1": "Buy or sell USDT/C for just R$5 (PIX) - quick, easy, and no hidden fees.",
+ "1": "Buy or sell USDT/C from just R$5 (PIX) - quick, easy, and no hidden fees.",
"2": "<1>All eligible users get 10 USDT1> - the first 100 receive a 10 USDT bonus, totaling 20 USDT. Rewards go to your wallet on Base or AssetHub a week after campaign ends.",
- "3": "One reward per person - <1>Check here1> (Updates every 24hrs)"
+ "3": "One reward per person - <1>here1> (Updates every 24hrs)"
}
},
"emailForm": {
diff --git a/frontend/src/translations/pt.json b/frontend/src/translations/pt.json
index 2d25c26e4..1dd08fc02 100644
--- a/frontend/src/translations/pt.json
+++ b/frontend/src/translations/pt.json
@@ -186,7 +186,7 @@
"list": {
"1": "Compre ou venda USDT/C por apenas R$5 (PIX) - rápido, fácil e sem taxas ocultas.",
"2": "<1>Todos os usuários elegíveis recebem 10 USDT1> - os primeiros 100 recebem um bônus de 10 USDT, totalizando 20 USDT. Recompensas vão para sua carteira na Base ou AssetHub após o término da campanha.",
- "3": "Uma recompensa por pessoa - <1>Verifique aqui1> (Atualiza a cada 24 horas)"
+ "3": "Uma recompensa por pessoa - <1>aqui1> (Atualiza a cada 24 horas)"
}
},
"emailForm": {
From 8f473472a05a291b35f02057a6707c04ba0f9ad0 Mon Sep 17 00:00:00 2001
From: Kacper Szarkiewicz
Date: Tue, 6 May 2025 18:06:32 +0200
Subject: [PATCH 6/6] update AirdropBanner
---
frontend/src/components/AirdropBanner/index.tsx | 3 ++-
frontend/src/translations/en.json | 2 +-
frontend/src/translations/pt.json | 2 +-
3 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/frontend/src/components/AirdropBanner/index.tsx b/frontend/src/components/AirdropBanner/index.tsx
index 4853d5eb4..e456f3d43 100644
--- a/frontend/src/components/AirdropBanner/index.tsx
+++ b/frontend/src/components/AirdropBanner/index.tsx
@@ -69,7 +69,7 @@ export const AirdropBanner = () => {
transition={{ delay: 0.3 }}
>
- One reward per person -
+ One reward per person - Check
{
onClick={(e) => e.stopPropagation()}
rel="noreferrer"
>
+ {' '}
here
{' '}
(Updates every 24hrs)
diff --git a/frontend/src/translations/en.json b/frontend/src/translations/en.json
index 65608529b..2674f72f1 100644
--- a/frontend/src/translations/en.json
+++ b/frontend/src/translations/en.json
@@ -186,7 +186,7 @@
"list": {
"1": "Buy or sell USDT/C from just R$5 (PIX) - quick, easy, and no hidden fees.",
"2": "<1>All eligible users get 10 USDT1> - the first 100 receive a 10 USDT bonus, totaling 20 USDT. Rewards go to your wallet on Base or AssetHub a week after campaign ends.",
- "3": "One reward per person - <1>here1> (Updates every 24hrs)"
+ "3": "One reward per person - Check <1>here1> (Updates every 24hrs)"
}
},
"emailForm": {
diff --git a/frontend/src/translations/pt.json b/frontend/src/translations/pt.json
index 1dd08fc02..7e8e4a579 100644
--- a/frontend/src/translations/pt.json
+++ b/frontend/src/translations/pt.json
@@ -186,7 +186,7 @@
"list": {
"1": "Compre ou venda USDT/C por apenas R$5 (PIX) - rápido, fácil e sem taxas ocultas.",
"2": "<1>Todos os usuários elegíveis recebem 10 USDT1> - os primeiros 100 recebem um bônus de 10 USDT, totalizando 20 USDT. Recompensas vão para sua carteira na Base ou AssetHub após o término da campanha.",
- "3": "Uma recompensa por pessoa - <1>aqui1> (Atualiza a cada 24 horas)"
+ "3": "Uma recompensa por pessoa - Verifique <1>aqui1> (Atualiza a cada 24 horas)"
}
},
"emailForm": {