From 21c37ed03b201c3051436d05b7138af61e7fd9be Mon Sep 17 00:00:00 2001 From: Joseph Izang Date: Thu, 8 Dec 2022 17:29:36 +0100 Subject: [PATCH] fix text and translations --- .../src/app/tabs/locales/en/home.json | 3 ++- .../src/app/tabs/locales/zh/home.json | 3 ++- .../src/lib/components/homeTabFeatured.tsx | 22 +++++++++---------- 3 files changed, 15 insertions(+), 13 deletions(-) diff --git a/apps/remix-ide/src/app/tabs/locales/en/home.json b/apps/remix-ide/src/app/tabs/locales/en/home.json index 48427fac1f..37a8b759fc 100644 --- a/apps/remix-ide/src/app/tabs/locales/en/home.json +++ b/apps/remix-ide/src/app/tabs/locales/en/home.json @@ -14,7 +14,8 @@ "home.remixRewardsText2": "Remix Project rewards contributors, beta testers, and UX research participants with NFTs deployed on Optimism. Remix Reward holders are able to mint a second “Remixer” user NFT badge to give to any other user of their choice.", "home.solidityDevSurveyHeader": "Solidity Developer Survey 2022", "home.solidityDevSurvey": "Drumroll please! 🥁🥁🥁 The Solidity Developer Survey 2022 has begun. The Solidity Team wants to collect developer feedback so as to improve the langauge. Please click take some time to participate in the survey.", - "home.solidityDevSurvey1": "Click here", + "home.solidityDevSurvey1": "Year ending poll", + "home.surveyLink": "Go to Survey", "home.betaTesting": "BETA TESTING", "home.betaTestingText1": "Our community supports us.", "home.betaTestingText2": "You can join Beta Testing before each release of Remix IDE. Help us test now and get a handle on new features!", diff --git a/apps/remix-ide/src/app/tabs/locales/zh/home.json b/apps/remix-ide/src/app/tabs/locales/zh/home.json index 62154c6d58..0a29f19a16 100644 --- a/apps/remix-ide/src/app/tabs/locales/zh/home.json +++ b/apps/remix-ide/src/app/tabs/locales/zh/home.json @@ -14,7 +14,8 @@ "home.remixRewardsText2": "Remix 会用部署在 Optimism 链上的 NFT 奖励贡献者、beta 测试者和用户体验研究参与者。Remix 奖励的持有者可以铸造第二个“Remixer”用户 NFT 徽章,以赠予他们选择的任何其他用户。", "home.solidityDevSurveyHeader": "2022 年 Solidity 开发者调查", "home.solidityDevSurvey": "请打鼓! 🥁🥁🥁 2022 年 Solidity 开发者调查已经开始! Solidity 团队希望收集开发人员的反馈以改进语言。请点击花一些时间参与调查。", - "home.solidityDevSurvey1": "点击这里", + "home.solidityDevSurvey1": "年终投票", + "home.surveyLink": "去调查", "home.betaTesting": "BETA 测试", "home.betaTestingText1": "我们的社区支持我们", "home.betaTestingText2": "每次 Remix IDE 发布版本之前,你都可以参与 Beta 测试。现在就来帮我们测试并且尝鲜新功能吧!", diff --git a/libs/remix-ui/home-tab/src/lib/components/homeTabFeatured.tsx b/libs/remix-ui/home-tab/src/lib/components/homeTabFeatured.tsx index e2cc24b048..bdfca96bfb 100644 --- a/libs/remix-ui/home-tab/src/lib/components/homeTabFeatured.tsx +++ b/libs/remix-ui/home-tab/src/lib/components/homeTabFeatured.tsx @@ -35,23 +35,23 @@ function HomeTabFeatured() { autoPlaySpeed={15000} dotListClass="position-relative mt-2" > -
- -
-
-

- _paq.push(['trackEvent', 'hometab', 'featuredSection', 'jumpIntoWeb3'])} target="__blank" href="https://remix-project.org"> -
-
-

+

- {/* */} +

- _paq.push(['trackEvent', 'hometab', 'featuredSection', 'soliditySurvey'])} href="https://blog.soliditylang.org/2022/12/07/solidity-developer-survey-2022-announcement/"> + _paq.push(['trackEvent', 'hometab', 'featuredSection', 'soliditySurvey'])} href="https://blog.soliditylang.org/2022/12/07/solidity-developer-survey-2022-announcement/"> +
+
+
+ +
+
+

+ _paq.push(['trackEvent', 'hometab', 'featuredSection', 'jumpIntoWeb3'])} target="__blank" href="https://remix-project.org">