From 0edd710317446f1d9056fcd1f59ea8d61eec453c Mon Sep 17 00:00:00 2001
From: s-n-park <146785798+s-n-park@users.noreply.github.com>
Date: Tue, 19 Mar 2024 16:14:57 -0700
Subject: [PATCH] Adding Explore NEAR Button
---
.../frontend/src/components/landing/GuestLanding.js | 13 +++++++++++++
packages/frontend/src/translations/en.global.json | 1 +
packages/frontend/src/translations/it.global.json | 1 +
packages/frontend/src/translations/kr.global.json | 1 +
packages/frontend/src/translations/pt.global.json | 1 +
packages/frontend/src/translations/ru.global.json | 1 +
packages/frontend/src/translations/tr.global.json | 1 +
packages/frontend/src/translations/ua.global.json | 1 +
packages/frontend/src/translations/vi.global.json | 1 +
.../frontend/src/translations/zh-hans.global.json | 1 +
.../frontend/src/translations/zh-hant.global.json | 1 +
11 files changed, 23 insertions(+)
diff --git a/packages/frontend/src/components/landing/GuestLanding.js b/packages/frontend/src/components/landing/GuestLanding.js
index a9aaa6a56f..ff4fc97cb3 100644
--- a/packages/frontend/src/components/landing/GuestLanding.js
+++ b/packages/frontend/src/components/landing/GuestLanding.js
@@ -98,6 +98,19 @@ export function GuestLanding({ history, accountFound, onTransfer }) {
)}
+ {
+ window.open(
+ 'https://near.org/',
+ '_blank'
+ );
+ }}
+ className="dark-gray-transparent"
+ color="dark-gray-transparent"
+ data-test-id="landingPageNearOrg"
+ >
+
+
diff --git a/packages/frontend/src/translations/en.global.json b/packages/frontend/src/translations/en.global.json
index c74aa268f8..d7de2d7c67 100644
--- a/packages/frontend/src/translations/en.global.json
+++ b/packages/frontend/src/translations/en.global.json
@@ -282,6 +282,7 @@
"edit": "Edit",
"enable": "Enable",
"enabling": "Enabling",
+ "exploreNEAR": "Explore NEAR",
"findMyAccount": "Find My Account",
"finish": "Finish",
"fundWith": "Fund with",
diff --git a/packages/frontend/src/translations/it.global.json b/packages/frontend/src/translations/it.global.json
index 09dc906499..25efb71f1e 100644
--- a/packages/frontend/src/translations/it.global.json
+++ b/packages/frontend/src/translations/it.global.json
@@ -224,6 +224,7 @@
"edit": "Modifica",
"enable": "Abilita",
"enabling": "Abilitando",
+ "exploreNEAR": "Esplora NEAR",
"findMyAccount": "Trova il mio Account",
"finish": "Completo",
"fundWith": "Deposita con",
diff --git a/packages/frontend/src/translations/kr.global.json b/packages/frontend/src/translations/kr.global.json
index fbdcb11c99..438c318e24 100644
--- a/packages/frontend/src/translations/kr.global.json
+++ b/packages/frontend/src/translations/kr.global.json
@@ -282,6 +282,7 @@
"edit": "편집",
"enable": "활성화",
"enabling": "활성화 중",
+ "exploreNEAR": "NEAR 탐색",
"findMyAccount": "계정 찾기",
"finish": "완료",
"fundWith": "Fund with",
diff --git a/packages/frontend/src/translations/pt.global.json b/packages/frontend/src/translations/pt.global.json
index 748b013502..8ad10cc3dd 100644
--- a/packages/frontend/src/translations/pt.global.json
+++ b/packages/frontend/src/translations/pt.global.json
@@ -227,6 +227,7 @@
"edit": "Editar",
"enable": "Ativar",
"enabling": "Ativando",
+ "exploreNEAR": "Explorar NEAR",
"findMyAccount": "Encontrar Minha Conta",
"finish": "Finalizar",
"fundWith": "Adicionar Fundos",
diff --git a/packages/frontend/src/translations/ru.global.json b/packages/frontend/src/translations/ru.global.json
index b76fd37706..d466803133 100644
--- a/packages/frontend/src/translations/ru.global.json
+++ b/packages/frontend/src/translations/ru.global.json
@@ -230,6 +230,7 @@
"edit": "Редактировать",
"enable": "Включить",
"enabling": "Включение",
+ "exploreNEAR": "Исследовать NEAR",
"findMyAccount": "НАЙТИ УЧЕТНУЮ ЗАПИСЬ",
"finish": "Закончить",
"goBack": "Вернуться назад",
diff --git a/packages/frontend/src/translations/tr.global.json b/packages/frontend/src/translations/tr.global.json
index 9e5d9f159f..d4b3f58fd8 100644
--- a/packages/frontend/src/translations/tr.global.json
+++ b/packages/frontend/src/translations/tr.global.json
@@ -208,6 +208,7 @@
"edit": "Düzenle",
"enable": "Etkinleştir",
"enabling": "Etkinleştiriliyor",
+ "exploreNEAR": "NEAR'ı Keşfet",
"findMyAccount": "Hesabımı Bul",
"finish": "Bitiş",
"fundWith": "-ile Yatır",
diff --git a/packages/frontend/src/translations/ua.global.json b/packages/frontend/src/translations/ua.global.json
index 0fd24e2158..d142c4b015 100644
--- a/packages/frontend/src/translations/ua.global.json
+++ b/packages/frontend/src/translations/ua.global.json
@@ -225,6 +225,7 @@
"edit": "Редагувати",
"enable": "Увімкнути",
"enabling": "Увімкнення",
+ "exploreNEAR": "Досліджуйте NEAR",
"findMyAccount": "Знайти свій акаунт",
"finish": "Завершити",
"fundWith": "Поповнити через",
diff --git a/packages/frontend/src/translations/vi.global.json b/packages/frontend/src/translations/vi.global.json
index 1e29892169..1bf1180131 100644
--- a/packages/frontend/src/translations/vi.global.json
+++ b/packages/frontend/src/translations/vi.global.json
@@ -206,6 +206,7 @@
"edit": "Sửa",
"enable": "Bật",
"enabling": "Đang bật",
+ "exploreNEAR": "Khám phá NEAR",
"findMyAccount": "Tìm tài khoản của tôi",
"finish": "Hoàn thành",
"goBack": "Quay lại",
diff --git a/packages/frontend/src/translations/zh-hans.global.json b/packages/frontend/src/translations/zh-hans.global.json
index 01a6f3102e..f03377f314 100644
--- a/packages/frontend/src/translations/zh-hans.global.json
+++ b/packages/frontend/src/translations/zh-hans.global.json
@@ -275,6 +275,7 @@
"edit": "编辑",
"enable": "启用",
"enabling": "正在开启",
+ "exploreNEAR": "探索NEAR",
"findMyAccount": "查找我的账户",
"finish": "完成",
"fundWith": "充值",
diff --git a/packages/frontend/src/translations/zh-hant.global.json b/packages/frontend/src/translations/zh-hant.global.json
index 059821bb2c..f5aa6e0922 100644
--- a/packages/frontend/src/translations/zh-hant.global.json
+++ b/packages/frontend/src/translations/zh-hant.global.json
@@ -275,6 +275,7 @@
"edit": "編輯",
"enable": "啟用",
"enabling": "正在開啟",
+ "exploreNEAR":"探索NEAR",
"findMyAccount": "查找我的賬戶",
"finish": "完成",
"fundWith": "充值",