From 5602fedc66b3bb47dc7710f8ecb936faed6332ea Mon Sep 17 00:00:00 2001 From: Oliver Gosling Date: Tue, 24 Oct 2023 12:44:42 +0100 Subject: [PATCH] Remaining website snags (#1028) * fix: fixed expiration parameter and return associated image * feat: update text on governance page * feat: rename insights to articles * feat: add staked total to statistics * feat: add suspended markets to markets tile * feat: reorder home page blocks and update translations * feat: show 'suspended' in suspended markets * feat: implement own cache expiry method * feat: update community page strapline --- api/latest-tweet.js | 42 +++-- createMissingLanguageFiles.js | 2 +- gatsby-config.ts | 4 +- gatsby-node.ts | 12 +- locales/cn/component.latest-news.json | 3 +- locales/cn/component.latest-news_old.json | 4 + locales/cn/component.market-tile.json | 3 + locales/cn/component.navigation.json | 6 +- locales/cn/component.navigation_old.json | 3 +- locales/cn/component.statistics.json | 1 + ...{page.insights.json => page.articles.json} | 6 +- locales/cn/page.community.json | 3 +- locales/cn/page.community_old.json | 4 +- locales/cn/page.governance.json | 4 +- locales/cn/page.governance_old.json | 4 +- locales/cn/page.index.json | 14 +- locales/cn/page.index_old.json | 4 + locales/cn/page.insights_old.json | 7 - locales/cn/page.rewards.json | 4 +- locales/cn/page.rewards_old.json | 4 +- locales/en/component.latest-news.json | 3 +- locales/en/component.latest-news_old.json | 4 + locales/en/component.market-tile.json | 3 + locales/en/component.navigation.json | 4 +- locales/en/component.navigation_old.json | 4 +- locales/en/component.statistics.json | 1 + locales/en/page.articles.json | 10 ++ locales/en/page.articles_old.json | 3 + locales/en/page.community.json | 3 +- locales/en/page.community_old.json | 4 +- locales/en/page.governance.json | 4 +- locales/en/page.governance_old.json | 4 +- locales/en/page.index.json | 14 +- locales/en/page.index_old.json | 6 +- locales/en/page.rewards.json | 4 +- locales/en/page.rewards_old.json | 4 +- locales/es/component.latest-news.json | 3 +- locales/es/component.latest-news_old.json | 4 + locales/es/component.market-tile.json | 3 + locales/es/component.navigation.json | 4 +- locales/es/component.navigation_old.json | 2 + locales/es/component.statistics.json | 1 + .../page.articles.json} | 6 +- locales/es/page.community.json | 3 +- locales/es/page.community_old.json | 4 +- locales/es/page.governance.json | 4 +- locales/es/page.governance_old.json | 4 +- locales/es/page.index.json | 14 +- locales/es/page.index_old.json | 6 +- locales/es/page.rewards.json | 4 +- locales/es/page.rewards_old.json | 4 +- locales/ko/component.latest-news.json | 3 +- locales/ko/component.latest-news_old.json | 4 + locales/ko/component.market-tile.json | 3 + locales/ko/component.navigation.json | 4 +- locales/ko/component.navigation_old.json | 4 +- locales/ko/component.statistics.json | 1 + ...{page.insights.json => page.articles.json} | 6 +- locales/ko/page.community.json | 3 +- locales/ko/page.community_old.json | 4 +- locales/ko/page.governance.json | 4 +- locales/ko/page.governance_old.json | 4 +- locales/ko/page.index.json | 14 +- locales/ko/page.index_old.json | 6 +- locales/ko/page.insights_old.json | 7 - locales/ko/page.rewards.json | 4 +- locales/ko/page.rewards_old.json | 4 +- locales/ru/component.latest-news.json | 3 +- locales/ru/component.latest-news_old.json | 4 + locales/ru/component.market-tile.json | 3 + locales/ru/component.navigation.json | 4 +- locales/ru/component.navigation_old.json | 4 +- locales/ru/component.statistics.json | 1 + .../page.articles.json} | 6 +- locales/ru/page.community.json | 3 +- locales/ru/page.community_old.json | 4 +- locales/ru/page.governance.json | 4 +- locales/ru/page.governance_old.json | 4 +- locales/ru/page.index.json | 14 +- locales/ru/page.index_old.json | 6 +- locales/ru/page.insights_old.json | 7 - locales/ru/page.rewards.json | 4 +- locales/ru/page.rewards_old.json | 4 +- locales/vi/component.latest-news.json | 3 +- locales/vi/component.latest-news_old.json | 4 + locales/vi/component.market-tile.json | 3 + locales/vi/component.navigation.json | 4 +- locales/vi/component.navigation_old.json | 2 + locales/vi/component.statistics.json | 1 + locales/vi/page.articles.json | 10 ++ locales/vi/page.community.json | 3 +- locales/vi/page.community_old.json | 4 +- locales/vi/page.governance.json | 4 +- locales/vi/page.governance_old.json | 4 +- locales/vi/page.index.json | 14 +- locales/vi/page.index_old.json | 6 +- locales/vi/page.insights_old.json | 7 - locales/vi/page.rewards.json | 4 +- locales/vi/page.rewards_old.json | 4 +- src/components/AsSeenOn.js | 8 +- src/components/Footer.js | 4 +- src/components/Home/Statistics.tsx | 20 +++ src/components/LatestNews.tsx | 26 ++- src/components/MarketTile.tsx | 25 ++- src/components/Navigation/items/About.tsx | 2 +- .../0001-messari/index.cn.md | 0 .../0001-messari/index.en.md | 0 .../0001-messari/index.es.md | 0 .../0001-messari/index.ko.md | 0 .../0001-messari/index.ru.md | 0 .../0001-messari/index.vi.md | 0 .../0002-arrington-capital/index.cn.md | 0 .../0002-arrington-capital/index.en.md | 0 .../0002-arrington-capital/index.es.md | 0 .../0002-arrington-capital/index.ko.md | 0 .../0002-arrington-capital/index.ru.md | 0 .../0002-arrington-capital/index.vi.md | 0 .../0003-edenblock/index.cn.md | 0 .../0003-edenblock/index.en.md | 0 .../0003-edenblock/index.es.md | 0 .../0003-edenblock/index.ko.md | 0 .../0003-edenblock/index.ru.md | 0 .../0003-edenblock/index.vi.md | 0 .../0004-the-block/index.cn.md | 0 .../0004-the-block/index.en.md | 0 .../0004-the-block/index.es.md | 0 .../0004-the-block/index.ko.md | 0 .../0004-the-block/index.ru.md | 0 .../0004-the-block/index.vi.md | 0 .../0004-the-block/the-block.webp | Bin .../0005-coindesk/index.cn.md | 0 .../0005-coindesk/index.en.md | 0 .../0005-coindesk/index.es.md | 0 .../0005-coindesk/index.ko.md | 0 .../0005-coindesk/index.ru.md | 0 .../0005-coindesk/index.vi.md | 0 src/hooks/statistics/use-staked-total.ts | 42 +++++ src/hooks/statistics/use-total-markets.ts | 6 +- src/pages/community/index.js | 4 +- src/pages/governance/index.js | 14 +- src/pages/index.tsx | 155 +++++++++--------- src/pages/rewards/index.js | 4 +- src/templates/{insights.tsx => articles.tsx} | 18 +- src/utils/vega/Markets.ts | 13 ++ vercel.json | 4 + 145 files changed, 530 insertions(+), 317 deletions(-) create mode 100644 locales/cn/component.latest-news_old.json create mode 100644 locales/cn/component.market-tile.json rename locales/cn/{page.insights.json => page.articles.json} (53%) delete mode 100644 locales/cn/page.insights_old.json create mode 100644 locales/en/component.latest-news_old.json create mode 100644 locales/en/component.market-tile.json create mode 100644 locales/en/page.articles.json create mode 100644 locales/en/page.articles_old.json create mode 100644 locales/es/component.latest-news_old.json create mode 100644 locales/es/component.market-tile.json rename locales/{ru/page.insights.json => es/page.articles.json} (59%) create mode 100644 locales/ko/component.latest-news_old.json create mode 100644 locales/ko/component.market-tile.json rename locales/ko/{page.insights.json => page.articles.json} (59%) delete mode 100644 locales/ko/page.insights_old.json create mode 100644 locales/ru/component.latest-news_old.json create mode 100644 locales/ru/component.market-tile.json rename locales/{vi/page.insights.json => ru/page.articles.json} (59%) delete mode 100644 locales/ru/page.insights_old.json create mode 100644 locales/vi/component.latest-news_old.json create mode 100644 locales/vi/component.market-tile.json create mode 100644 locales/vi/page.articles.json delete mode 100644 locales/vi/page.insights_old.json rename src/content/{insights => articles}/0001-messari/index.cn.md (100%) rename src/content/{insights => articles}/0001-messari/index.en.md (100%) rename src/content/{insights => articles}/0001-messari/index.es.md (100%) rename src/content/{insights => articles}/0001-messari/index.ko.md (100%) rename src/content/{insights => articles}/0001-messari/index.ru.md (100%) rename src/content/{insights => articles}/0001-messari/index.vi.md (100%) rename src/content/{insights => articles}/0002-arrington-capital/index.cn.md (100%) rename src/content/{insights => articles}/0002-arrington-capital/index.en.md (100%) rename src/content/{insights => articles}/0002-arrington-capital/index.es.md (100%) rename src/content/{insights => articles}/0002-arrington-capital/index.ko.md (100%) rename src/content/{insights => articles}/0002-arrington-capital/index.ru.md (100%) rename src/content/{insights => articles}/0002-arrington-capital/index.vi.md (100%) rename src/content/{insights => articles}/0003-edenblock/index.cn.md (100%) rename src/content/{insights => articles}/0003-edenblock/index.en.md (100%) rename src/content/{insights => articles}/0003-edenblock/index.es.md (100%) rename src/content/{insights => articles}/0003-edenblock/index.ko.md (100%) rename src/content/{insights => articles}/0003-edenblock/index.ru.md (100%) rename src/content/{insights => articles}/0003-edenblock/index.vi.md (100%) rename src/content/{insights => articles}/0004-the-block/index.cn.md (100%) rename src/content/{insights => articles}/0004-the-block/index.en.md (100%) rename src/content/{insights => articles}/0004-the-block/index.es.md (100%) rename src/content/{insights => articles}/0004-the-block/index.ko.md (100%) rename src/content/{insights => articles}/0004-the-block/index.ru.md (100%) rename src/content/{insights => articles}/0004-the-block/index.vi.md (100%) rename src/content/{insights => articles}/0004-the-block/the-block.webp (100%) rename src/content/{insights => articles}/0005-coindesk/index.cn.md (100%) rename src/content/{insights => articles}/0005-coindesk/index.en.md (100%) rename src/content/{insights => articles}/0005-coindesk/index.es.md (100%) rename src/content/{insights => articles}/0005-coindesk/index.ko.md (100%) rename src/content/{insights => articles}/0005-coindesk/index.ru.md (100%) rename src/content/{insights => articles}/0005-coindesk/index.vi.md (100%) create mode 100644 src/hooks/statistics/use-staked-total.ts rename src/templates/{insights.tsx => articles.tsx} (92%) diff --git a/api/latest-tweet.js b/api/latest-tweet.js index b3f57dd7f..e8d45bb2a 100644 --- a/api/latest-tweet.js +++ b/api/latest-tweet.js @@ -11,9 +11,19 @@ exports.default = async (req, res) => { access_token_secret: process.env.TWITTER_ACCESS_TOKEN_SECRET, }) - let tweetData = await kv.get('latest-tweet') + let cachedData = await kv.get('latest-tweet-cache') + let isCacheExpired = true - if (!tweetData) { + if (cachedData) { + const currentTime = Date.now() + const ONE_HOUR_IN_MS = 60 * 60 * 1000 + + if (currentTime - cachedData.timestamp < ONE_HOUR_IN_MS) { + isCacheExpired = false + } + } + + if (!cachedData || isCacheExpired) { const { data, includes } = await client.get( `users/956831071982800896/tweets`, { @@ -58,19 +68,29 @@ exports.default = async (req, res) => { } ) - tweetData = { + const tweetMediaKey = data[0]?.attachments?.media_keys[0] + + const associatedMedia = tweetMediaKey + ? includes?.media.find((media) => media.media_key === tweetMediaKey) + : null + + const tweetData = { id: data[0].id, tweet_text: data[0].text, - image: data[0]?.attachments - ? includes?.media[0].url - ? includes?.media[0].url - : includes?.media[0].preview_image_url + image: associatedMedia + ? associatedMedia.url || associatedMedia.preview_image_url : null, all_tweets: data, } - await kv.set('latest-tweet', tweetData, { expirationTtl: 60 * 60 }) - } + await kv.set('latest-tweet-cache', { + tweetData, + timestamp: Date.now(), + }) - res.setHeader('Access-Control-Allow-Origin', '*') - res.status(200).json(tweetData) + res.setHeader('Access-Control-Allow-Origin', '*') + res.status(200).json(tweetData) + } else { + res.setHeader('Access-Control-Allow-Origin', '*') + res.status(200).json(cachedData.tweetData) + } } diff --git a/createMissingLanguageFiles.js b/createMissingLanguageFiles.js index 998c66895..4cdc6cc14 100644 --- a/createMissingLanguageFiles.js +++ b/createMissingLanguageFiles.js @@ -4,7 +4,7 @@ const path = require('path') const languages = require('./languages.js') const contentDirectories = [ - { path: 'src/content/insights', isPapers: false }, + { path: 'src/content/articles', isPapers: false }, { path: 'src/content/faqs', isPapers: false }, { path: 'src/content/papers', isPapers: true }, ] diff --git a/gatsby-config.ts b/gatsby-config.ts index 240792751..bdcf53697 100644 --- a/gatsby-config.ts +++ b/gatsby-config.ts @@ -76,8 +76,8 @@ module.exports = { { resolve: `gatsby-source-filesystem`, options: { - name: `insights`, - path: `${__dirname}/src/content/insights`, + name: `articles`, + path: `${__dirname}/src/content/articles`, }, }, { diff --git a/gatsby-node.ts b/gatsby-node.ts index 46a07dd02..f37cb396c 100644 --- a/gatsby-node.ts +++ b/gatsby-node.ts @@ -89,7 +89,7 @@ module.exports.createPages = async ({ graphql, actions }) => { const result = await graphql(` query { allMarkdownRemark( - filter: { collection: { in: ["insights", "talks"] } } + filter: { collection: { in: ["articles", "talks"] } } sort: { fields: [frontmatter___date], order: DESC } ) { group(field: fields___locale) { @@ -112,8 +112,8 @@ module.exports.createPages = async ({ graphql, actions }) => { Array.from({ length: numPages }).forEach((_, i) => { if (language.code === 'en') { createPage({ - path: i === 0 ? `/insights` : `/insights/${i + 1}`, - component: path.resolve('./src/templates/insights.tsx'), + path: i === 0 ? `/articles` : `/articles/${i + 1}`, + component: path.resolve('./src/templates/articles.tsx'), context: { language: 'en', limit: postsPerPage, @@ -126,9 +126,9 @@ module.exports.createPages = async ({ graphql, actions }) => { createPage({ path: i === 0 - ? `/${language.code}/insights` - : `/${language.code}/insights/${i + 1}`, - component: path.resolve('./src/templates/insights.tsx'), + ? `/${language.code}/articles` + : `/${language.code}/articles/${i + 1}`, + component: path.resolve('./src/templates/articles.tsx'), context: { language: language.code, limit: postsPerPage, diff --git a/locales/cn/component.latest-news.json b/locales/cn/component.latest-news.json index 664808055..1bb88fb41 100644 --- a/locales/cn/component.latest-news.json +++ b/locales/cn/component.latest-news.json @@ -1,8 +1,7 @@ { - "Latest News": "最新消息", "{{minutes}} minute read": "短阅读", "Read our blog": "阅读我们的博客", "See all Tweets": "查看所有推文", "Watch all Talks": "观看所有演讲", - "Read all Insights": "阅读所有见解" + "Read all Articles": "" } diff --git a/locales/cn/component.latest-news_old.json b/locales/cn/component.latest-news_old.json new file mode 100644 index 000000000..db9db77b8 --- /dev/null +++ b/locales/cn/component.latest-news_old.json @@ -0,0 +1,4 @@ +{ + "Read all Insights": "阅读所有见解", + "Latest News": "最新消息" +} diff --git a/locales/cn/component.market-tile.json b/locales/cn/component.market-tile.json new file mode 100644 index 000000000..67f77eb43 --- /dev/null +++ b/locales/cn/component.market-tile.json @@ -0,0 +1,3 @@ +{ + "Suspended": "" +} diff --git a/locales/cn/component.navigation.json b/locales/cn/component.navigation.json index 7f14e2e14..b0f2fe950 100644 --- a/locales/cn/component.navigation.json +++ b/locales/cn/component.navigation.json @@ -2,7 +2,7 @@ "About": "关于", "Blog": "博客", "FAQs": "常见问题解答", - "Insights": "见解", + "Articles": "", "Key Concepts": "", "Rewards": "奖励", "Vega Papers": "VEGA 论文", @@ -47,8 +47,8 @@ "Report a security issue": "报告安全问题", "Brand assets": "品牌资产", "Contribute to Vega": "为Vega做出贡献", - "Papers": "论文", - "Insights & Talks": "见解与讲座", + "Papers": "", + "Articles & Talks": "", "Ambassadors": "大使", "Fairground": "测试网Fairground", "Developers": "开发人员", diff --git a/locales/cn/component.navigation_old.json b/locales/cn/component.navigation_old.json index c735a3bb4..7572fed39 100644 --- a/locales/cn/component.navigation_old.json +++ b/locales/cn/component.navigation_old.json @@ -52,5 +52,6 @@ "Technical overview": "技术概况", "Talks": "谈话", "Home": "主页", - "Gitub": "Gitub" + "Gitub": "Gitub", + "Insights": "见解" } diff --git a/locales/cn/component.statistics.json b/locales/cn/component.statistics.json index fcf838847..decd0fac2 100644 --- a/locales/cn/component.statistics.json +++ b/locales/cn/component.statistics.json @@ -1,6 +1,7 @@ { "Total Volume": "总交易量", "Total Markets": "总市场", + "Total Staked": "", "TVL": "锁定总量", "Avg. Block Time": "平均出块时间" } diff --git a/locales/cn/page.insights.json b/locales/cn/page.articles.json similarity index 53% rename from locales/cn/page.insights.json rename to locales/cn/page.articles.json index 5a3be479d..23992d7e1 100644 --- a/locales/cn/page.insights.json +++ b/locales/cn/page.articles.json @@ -4,7 +4,7 @@ "{{firstItem}} - {{lastItem}} of {{totalItems}}": "", "Next Page": "下一页", "Next": "下一个", - "Insights & Talks": "见解与谈话", - "Articles and talks about vega": "关于VEGA的文章和谈话", - "Insights & talks.": "见解与谈话" + "Articles & Talks": "", + "Articles and talks about Vega": "", + "Articles & talks.": "" } diff --git a/locales/cn/page.community.json b/locales/cn/page.community.json index 0a3df90ff..79252b49a 100644 --- a/locales/cn/page.community.json +++ b/locales/cn/page.community.json @@ -4,8 +4,7 @@ "Events": "大事件", "Upcoming community events, meet-ups, research office hours and community calls.": "即将举行的社区活动、聚会、研究办公时间和社区电话", "Upcoming events + meetups": "即将举行的活动+聚会", - "Join the Vega community, where a fair finance future is being co-created - starting with derivatives.": "加入 Vega 社区,共同创造公平的金融未来 - 从衍生品开始", - "Earn rewards for contributing to the future of finance.": "通过为金融的未来做出贡献而获得奖励", + "Learn, Test, Govern - where do you fit in the Vega Ecosystem?": "", "Join us on Discord": "加入我们的 Discord", "Where we are": "进行到哪里了", "Hangout, chat, get support, suggest new content and art - we're all here!": "聊天、获得支持、推荐新内容和艺术 - 我们都在这里", diff --git a/locales/cn/page.community_old.json b/locales/cn/page.community_old.json index 65004d88c..1174fa9b8 100644 --- a/locales/cn/page.community_old.json +++ b/locales/cn/page.community_old.json @@ -5,5 +5,7 @@ "Events and meetups": "活动和聚会", "Incentives": "激励", "Get rewarded for your efforts testing the network": "因测试网络所做的努力而获得奖励”", - "Earn rewards": "获得奖励" + "Earn rewards": "获得奖励", + "Join the Vega community, where a fair finance future is being co-created - starting with derivatives.": "加入 Vega 社区,共同创造公平的金融未来 - 从衍生品开始", + "Earn rewards for contributing to the future of finance.": "通过为金融的未来做出贡献而获得奖励" } diff --git a/locales/cn/page.governance.json b/locales/cn/page.governance.json index 5da2f5a64..b448a88c9 100644 --- a/locales/cn/page.governance.json +++ b/locales/cn/page.governance.json @@ -33,8 +33,8 @@ "Get started voting": "开始投票", "Get $VEGA tokens": "获取$VEGA代币", "You can purchase VEGA on various exchanges.": "您可以在各个交易所购买 VEGA", - "Get a Vega Wallet": "获取 Vega 钱包", - "A Vega wallet is used to access and sign transactions and connect to any dApp running on Vega.": "Vega 钱包用于访问和签署交易,并连接到在 Vega 上运行的任何 dApp", + "Stake VEGA": "", + "Stake your VEGA tokens on the governance site to be eligible to vote, note you will need to get a <2>wallet to do this": "", "Vote on proposals": "对提案进行投票", "Use our governance tools.": "使用我们的治理工具", "Note, you'll need some ETH to pay any transaction fees.": "请注意,您需要一些 ETH 来支付交易费用", diff --git a/locales/cn/page.governance_old.json b/locales/cn/page.governance_old.json index 960c0eaa0..957416131 100644 --- a/locales/cn/page.governance_old.json +++ b/locales/cn/page.governance_old.json @@ -6,5 +6,7 @@ "And store in an Ethereum wallet. You can purchase VEGA using Ethereum (ETH) on decentralized exchanges.": "并存储在以太坊钱包中。您可以在去中心化交易所使用以太坊 (ETH) 购买 VEGA", "Governance tools": "治理工具", "Propose a futures market on any underlying.": "提议建立任何标的物的期货市场", - "Create a new market": "创造新市场" + "Create a new market": "创造新市场", + "Get a Vega Wallet": "获取 Vega 钱包", + "A Vega wallet is used to access and sign transactions and connect to any dApp running on Vega.": "Vega 钱包用于访问和签署交易,并连接到在 Vega 上运行的任何 dApp" } diff --git a/locales/cn/page.index.json b/locales/cn/page.index.json index 09c137fa7..ad8e06d8e 100644 --- a/locales/cn/page.index.json +++ b/locales/cn/page.index.json @@ -8,9 +8,6 @@ "Vega Wallet": "Vega钱包", "Docs": "文件", "Backed by:": "受支持:", - "Programmatic trading on Vega": "Vega 上的程序化交易", - "Vega's decentralised datanode architecture provides rich CEX-like APIs and full historic price data for everyone.": "Vega 的去中心化数据节点架构为每个人提供了丰富的类似 CEX 的 API 和完整的历史价格数据", - "Explore": "探索", "Key features": "主要特征", "Non-custodial and pseudonymous": "非托管和匿名", "No third party has access to your funds.": "没有第三方可以访问您的资金", @@ -29,10 +26,13 @@ "Permissionless market creation": "无需许可的市场创建", "Create any market on any underlying with on-chain governance": "通过链上治理在任何基础上创建任何市场", "View all": "查看全部", + "Programmatic trading on Vega": "Vega 上的程序化交易", + "Vega's decentralised datanode architecture provides rich CEX-like APIs and full historic price data for everyone.": "Vega 的去中心化数据节点架构为每个人提供了丰富的类似 CEX 的 API 和完整的历史价格数据", + "Explore": "探索", "Events": "事件", "Where next?": "接下来", - "Use the network": "使用网络", - "Join the community": "加入社区", - "Govern the network": "治理网络", - "Develop on Vega": "在Vega上开发" + "Learn about Vega": "", + "Read the docs": "", + "Launch Console": "", + "Staking & Governance": "" } diff --git a/locales/cn/page.index_old.json b/locales/cn/page.index_old.json index ebfe13f79..5ab5fce59 100644 --- a/locales/cn/page.index_old.json +++ b/locales/cn/page.index_old.json @@ -1,4 +1,8 @@ { "Blockchain derivatives": "区块链衍生品", + "Use the network": "使用网络", + "Join the community": "加入社区", + "Govern the network": "治理网络", + "Develop on Vega": "在Vega上开发", "Vega Protocol - Perpetuals and Futures DEX": "Vega Protocol - 永续合约和期货 DEX" } diff --git a/locales/cn/page.insights_old.json b/locales/cn/page.insights_old.json deleted file mode 100644 index f2e21da62..000000000 --- a/locales/cn/page.insights_old.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "Insights": "见解", - "Articles about vega from around the web": "来自网络的有关vega 的文章", - "Page {currentPage} of {numPages}": "", - "Latest news": "最近消息", - "Page {{currentPage}} of {{numPages}}": "" -} diff --git a/locales/cn/page.rewards.json b/locales/cn/page.rewards.json index 003bd1cec..c54cae68f 100644 --- a/locales/cn/page.rewards.json +++ b/locales/cn/page.rewards.json @@ -8,10 +8,10 @@ "Incentives and Bounties": "奖励和赏金", "Bounties": "赏金", "Participate in developer bounties and get rewarded for your commitment.": "参与开发者赏金并因您的承诺而获得奖励", - "Security issues": "安全问题", + "Security Issues": "", "Report a security issue": "报告安全问题", "Found a software security issue? Report it to us and earn rewards by finding bugs that affect the Vega Network.": "发现软件安全问题?向我们报告并通过查找影响 Vega 网络的错误来获得奖励", - "Fairground incentives": "Fairground奖励", + "Fairground Incentives": "", "Fairground": "Fairground", "Earn rewards for helping to find bugs and battle harden Vega's Testnet.": "通过帮助发现错误并强化 Vega 测试网来获得奖励" } diff --git a/locales/cn/page.rewards_old.json b/locales/cn/page.rewards_old.json index b99189014..e69c60c9c 100644 --- a/locales/cn/page.rewards_old.json +++ b/locales/cn/page.rewards_old.json @@ -1,3 +1,5 @@ { - "Develop": "发展" + "Develop": "发展", + "Security issues": "安全问题", + "Fairground incentives": "Fairground奖励" } diff --git a/locales/en/component.latest-news.json b/locales/en/component.latest-news.json index 4f1791a40..73133fd89 100644 --- a/locales/en/component.latest-news.json +++ b/locales/en/component.latest-news.json @@ -1,8 +1,7 @@ { - "Latest News": "Latest News", "{{minutes}} minute read": "{{minutes}} minute read", "Read our blog": "Read our blog", "See all Tweets": "See all Tweets", "Watch all Talks": "Watch all Talks", - "Read all Insights": "Read all Insights" + "Read all Articles": "Read all Articles" } diff --git a/locales/en/component.latest-news_old.json b/locales/en/component.latest-news_old.json new file mode 100644 index 000000000..8a21386f2 --- /dev/null +++ b/locales/en/component.latest-news_old.json @@ -0,0 +1,4 @@ +{ + "Read all Insights": "Read all Insights", + "Latest News": "Latest News" +} diff --git a/locales/en/component.market-tile.json b/locales/en/component.market-tile.json new file mode 100644 index 000000000..abdc18643 --- /dev/null +++ b/locales/en/component.market-tile.json @@ -0,0 +1,3 @@ +{ + "Suspended": "Suspended" +} diff --git a/locales/en/component.navigation.json b/locales/en/component.navigation.json index e7bc77c66..f372f87d0 100644 --- a/locales/en/component.navigation.json +++ b/locales/en/component.navigation.json @@ -2,7 +2,7 @@ "About": "About", "Blog": "Blog", "FAQs": "FAQs", - "Insights": "Insights", + "Articles": "Articles", "Key Concepts": "Key Concepts", "Rewards": "Rewards", "Vega Papers": "Vega Papers", @@ -48,7 +48,7 @@ "Brand assets": "Brand assets", "Contribute to Vega": "Contribute to Vega", "Papers": "Papers", - "Insights & Talks": "Insights & Talks", + "Articles & Talks": "", "Ambassadors": "Ambassadors", "Fairground": "Fairground", "Developers": "Developers", diff --git a/locales/en/component.navigation_old.json b/locales/en/component.navigation_old.json index d3f26c7ea..f87b4e3a3 100644 --- a/locales/en/component.navigation_old.json +++ b/locales/en/component.navigation_old.json @@ -52,5 +52,7 @@ "Technical overview": "Technical overview", "Talks": "Talks", "Home": "Home", - "Gitub": "" + "Gitub": "", + "Insights": "Insights", + "Insights & Talks": "Insights & Talks" } diff --git a/locales/en/component.statistics.json b/locales/en/component.statistics.json index f86ba5e84..290f99a12 100644 --- a/locales/en/component.statistics.json +++ b/locales/en/component.statistics.json @@ -1,6 +1,7 @@ { "Total Volume": "Total Volume", "Total Markets": "Total Markets", + "Total Staked": "Total Staked", "TVL": "TVL", "Avg. Block Time": "Avg. Block Time" } diff --git a/locales/en/page.articles.json b/locales/en/page.articles.json new file mode 100644 index 000000000..86d382297 --- /dev/null +++ b/locales/en/page.articles.json @@ -0,0 +1,10 @@ +{ + "Previous Page": "Previous Page", + "Previous": "Previous", + "{{firstItem}} - {{lastItem}} of {{totalItems}}": "{{firstItem}} - {{lastItem}} of {{totalItems}}", + "Next Page": "Next Page", + "Next": "Next", + "Articles & Talks": "Articles & Talks", + "Articles and talks about Vega": "Articles and talks about Vega", + "Articles & talks.": "Articles & talks." +} diff --git a/locales/en/page.articles_old.json b/locales/en/page.articles_old.json new file mode 100644 index 000000000..5229f19a7 --- /dev/null +++ b/locales/en/page.articles_old.json @@ -0,0 +1,3 @@ +{ + "Articles and talks about vega": "Articles and talks about Vega" +} diff --git a/locales/en/page.community.json b/locales/en/page.community.json index 66efa9ea0..5be4ea62b 100644 --- a/locales/en/page.community.json +++ b/locales/en/page.community.json @@ -4,8 +4,7 @@ "Events": "Events", "Upcoming community events, meet-ups, research office hours and community calls.": "Upcoming community events, meet-ups, research office hours and community calls.", "Upcoming events + meetups": "Upcoming events + meetups", - "Join the Vega community, where a fair finance future is being co-created - starting with derivatives.": "Join the Vega community, where a fair finance future is being co-created - starting with derivatives.", - "Earn rewards for contributing to the future of finance.": "Earn rewards for contributing to the future of finance.", + "Learn, Test, Govern - where do you fit in the Vega Ecosystem?": "Learn, Test, Govern - where do you fit in the Vega Ecosystem?", "Join us on Discord": "Join us on Discord", "Where we are": "Where we are", "Hangout, chat, get support, suggest new content and art - we're all here!": "Hangout, chat, get support, suggest new content and art - we're all here!", diff --git a/locales/en/page.community_old.json b/locales/en/page.community_old.json index 2472e014b..97d3e0ee5 100644 --- a/locales/en/page.community_old.json +++ b/locales/en/page.community_old.json @@ -5,5 +5,7 @@ "Events and meetups": "Events and meetups", "Incentives": "Incentives", "Get rewarded for your efforts testing the network": "Get rewarded for your efforts testing the network", - "Earn rewards": "Earn rewards" + "Earn rewards": "Earn rewards", + "Join the Vega community, where a fair finance future is being co-created - starting with derivatives.": "Join the Vega community, where a fair finance future is being co-created - starting with derivatives.", + "Earn rewards for contributing to the future of finance.": "Earn rewards for contributing to the future of finance." } diff --git a/locales/en/page.governance.json b/locales/en/page.governance.json index 9a3dbe9bc..1930fb2bf 100644 --- a/locales/en/page.governance.json +++ b/locales/en/page.governance.json @@ -33,8 +33,8 @@ "Get started voting": "Get started voting", "Get $VEGA tokens": "Get $VEGA tokens", "You can purchase VEGA on various exchanges.": "You can purchase VEGA on various exchanges.", - "Get a Vega Wallet": "Get a Vega Wallet", - "A Vega wallet is used to access and sign transactions and connect to any dApp running on Vega.": "A Vega wallet is used to access and sign transactions and connect to any dApp running on Vega.", + "Stake VEGA": "Stake VEGA", + "Stake your VEGA tokens on the governance site to be eligible to vote, note you will need to get a <2>wallet to do this": "Stake your VEGA tokens on the governance site to be eligible to vote, note you will need to get a <2>wallet to do this", "Vote on proposals": "Vote on proposals", "Use our governance tools.": "Use our governance tools.", "Note, you'll need some ETH to pay any transaction fees.": "Note, you'll need some ETH to pay any transaction fees.", diff --git a/locales/en/page.governance_old.json b/locales/en/page.governance_old.json index 51aac5991..9c9ab9bc2 100644 --- a/locales/en/page.governance_old.json +++ b/locales/en/page.governance_old.json @@ -6,5 +6,7 @@ "And store in an Ethereum wallet. You can purchase VEGA using Ethereum (ETH) on decentralized exchanges.": "And store in an Ethereum wallet. You can purchase VEGA using Ethereum (ETH) on decentralized exchanges.", "Governance tools": "Governance tools", "Propose a futures market on any underlying.": "Propose a futures market on any underlying.", - "Create a new market": "Create a new market" + "Create a new market": "Create a new market", + "Get a Vega Wallet": "Get a Vega Wallet", + "A Vega wallet is used to access and sign transactions and connect to any dApp running on Vega.": "A Vega wallet is used to access and sign transactions and connect to any dApp running on Vega." } diff --git a/locales/en/page.index.json b/locales/en/page.index.json index a529dfdff..1b1759386 100644 --- a/locales/en/page.index.json +++ b/locales/en/page.index.json @@ -8,9 +8,6 @@ "Vega Wallet": "Vega Wallet", "Docs": "Docs", "Backed by:": "Backed by:", - "Programmatic trading on Vega": "Programmatic trading on Vega", - "Vega's decentralised datanode architecture provides rich CEX-like APIs and full historic price data for everyone.": "Vega's decentralised datanode architecture provides rich CEX-like APIs and full historic price data for everyone.", - "Explore": "Explore", "Key features": "Key features", "Non-custodial and pseudonymous": "Non-custodial and pseudonymous", "No third party has access to your funds.": "No third party has access to your funds.", @@ -29,10 +26,13 @@ "Permissionless market creation": "Permissionless market creation", "Create any market on any underlying with on-chain governance": "Create any market on any underlying with on-chain governance", "View all": "View all", + "Programmatic trading on Vega": "Programmatic trading on Vega", + "Vega's decentralised datanode architecture provides rich CEX-like APIs and full historic price data for everyone.": "Vega's decentralised datanode architecture provides rich CEX-like APIs and full historic price data for everyone.", + "Explore": "Explore", "Events": "Events", "Where next?": "Where next?", - "Use the network": "Use the network", - "Join the community": "Join the community", - "Govern the network": "Govern the network", - "Develop on Vega": "Develop on Vega" + "Learn about Vega": "Learn about Vega", + "Read the docs": "Read the docs", + "Launch Console": "Launch Console", + "Staking & Governance": "Staking & Governance" } diff --git a/locales/en/page.index_old.json b/locales/en/page.index_old.json index 331c0d38f..c041e2eba 100644 --- a/locales/en/page.index_old.json +++ b/locales/en/page.index_old.json @@ -1,4 +1,8 @@ { "Blockchain derivatives": "Blockchain derivatives", - "Vega Protocol - Perpetuals and Futures DEX": "Vega Protocol - Perpetuals and Futures DEX" + "Vega Protocol - Perpetuals and Futures DEX": "Vega Protocol - Perpetuals and Futures DEX", + "Use the network": "Use the network", + "Join the community": "Join the community", + "Govern the network": "Govern the network", + "Develop on Vega": "Develop on Vega" } diff --git a/locales/en/page.rewards.json b/locales/en/page.rewards.json index 6aa2fdb5b..9a2a8dfec 100644 --- a/locales/en/page.rewards.json +++ b/locales/en/page.rewards.json @@ -8,10 +8,10 @@ "Incentives and Bounties": "Incentives and Bounties", "Bounties": "Bounties", "Participate in developer bounties and get rewarded for your commitment.": "Participate in developer bounties and get rewarded for your commitment.", - "Security issues": "Security issues", + "Security Issues": "Security Issues", "Report a security issue": "Report a security issue", "Found a software security issue? Report it to us and earn rewards by finding bugs that affect the Vega Network.": "Found a software security issue? Report it to us and earn rewards by finding bugs that affect the Vega Network.", - "Fairground incentives": "Fairground incentives", + "Fairground Incentives": "Fairground Incentives", "Fairground": "Fairground", "Earn rewards for helping to find bugs and battle harden Vega's Testnet.": "Earn rewards for helping to find bugs and battle harden Vega's Testnet." } diff --git a/locales/en/page.rewards_old.json b/locales/en/page.rewards_old.json index 7ea5ec452..916d858bc 100644 --- a/locales/en/page.rewards_old.json +++ b/locales/en/page.rewards_old.json @@ -1,3 +1,5 @@ { - "Develop": "Develop" + "Develop": "Develop", + "Security issues": "Security issues", + "Fairground incentives": "Fairground incentives" } diff --git a/locales/es/component.latest-news.json b/locales/es/component.latest-news.json index 44d7c40da..88f279a4a 100644 --- a/locales/es/component.latest-news.json +++ b/locales/es/component.latest-news.json @@ -1,8 +1,7 @@ { - "Latest News": "Últimas noticias", "{{minutes}} minute read": "{{minutes}} lectura de minutos", "Read our blog": "Lea nuestro blog", "See all Tweets": "Ver todos los Tweets", "Watch all Talks": "Ver todas las charlas", - "Read all Insights": "Leer todas las perspectivas" + "Read all Articles": "" } diff --git a/locales/es/component.latest-news_old.json b/locales/es/component.latest-news_old.json new file mode 100644 index 000000000..4dca9c01c --- /dev/null +++ b/locales/es/component.latest-news_old.json @@ -0,0 +1,4 @@ +{ + "Read all Insights": "Leer todas las perspectivas", + "Latest News": "Últimas noticias" +} diff --git a/locales/es/component.market-tile.json b/locales/es/component.market-tile.json new file mode 100644 index 000000000..67f77eb43 --- /dev/null +++ b/locales/es/component.market-tile.json @@ -0,0 +1,3 @@ +{ + "Suspended": "" +} diff --git a/locales/es/component.navigation.json b/locales/es/component.navigation.json index 962b80fd3..51f34bb2a 100644 --- a/locales/es/component.navigation.json +++ b/locales/es/component.navigation.json @@ -2,7 +2,7 @@ "About": "Acerca de", "Blog": "Blog", "FAQs": "Preguntas frecuentes", - "Insights": "Perspectivas", + "Articles": "", "Key Concepts": "Conceptos clave", "Rewards": "Premios", "Vega Papers": "Papers Vega", @@ -48,7 +48,7 @@ "Brand assets": "Activos de marca", "Contribute to Vega": "Contribuir a Vega", "Papers": "Papeles", - "Insights & Talks": "Perspectivas y charlas", + "Articles & Talks": "", "Ambassadors": "Embajadores", "Fairground": "Recinto ferial", "Developers": "Desarrolladores", diff --git a/locales/es/component.navigation_old.json b/locales/es/component.navigation_old.json index bb6aa8b8a..db2da90f5 100644 --- a/locales/es/component.navigation_old.json +++ b/locales/es/component.navigation_old.json @@ -51,6 +51,8 @@ "Whitepaper": "Papel blanco", "Technical overview": "Resumen técnico", "Talks": "Conversaciones", + "Insights": "Perspectivas", + "Insights & Talks": "Perspectivas y charlas", "Home": "Inicio", "Gitub": "Gitub" } diff --git a/locales/es/component.statistics.json b/locales/es/component.statistics.json index a6fdff403..d22ce7b71 100644 --- a/locales/es/component.statistics.json +++ b/locales/es/component.statistics.json @@ -1,6 +1,7 @@ { "Total Volume": "Volumen total", "Total Markets": "Mercados totales", + "Total Staked": "", "TVL": "TVL", "Avg. Block Time": "Promedio tiempo de bloque" } diff --git a/locales/ru/page.insights.json b/locales/es/page.articles.json similarity index 59% rename from locales/ru/page.insights.json rename to locales/es/page.articles.json index 1c9b4942d..d222c0494 100644 --- a/locales/ru/page.insights.json +++ b/locales/es/page.articles.json @@ -4,7 +4,7 @@ "{{firstItem}} - {{lastItem}} of {{totalItems}}": "", "Next Page": "", "Next": "", - "Insights & Talks": "", - "Articles and talks about vega": "", - "Insights & talks.": "" + "Articles & Talks": "", + "Articles and talks about Vega": "", + "Articles & talks.": "" } diff --git a/locales/es/page.community.json b/locales/es/page.community.json index 69157f812..78eecd561 100644 --- a/locales/es/page.community.json +++ b/locales/es/page.community.json @@ -4,8 +4,7 @@ "Events": "Eventos", "Upcoming community events, meet-ups, research office hours and community calls.": "Próximos eventos comunitarios, reuniones, horas de oficina de investigación y llamadas comunitarias.", "Upcoming events + meetups": "Próximos eventos + reuniones", - "Join the Vega community, where a fair finance future is being co-created - starting with derivatives.": "Únase a la comunidad Vega, donde se está co-creando un futuro financiero justo, comenzando con derivados.", - "Earn rewards for contributing to the future of finance.": "Obtenga recompensas por contribuir al futuro de las finanzas.", + "Learn, Test, Govern - where do you fit in the Vega Ecosystem?": "", "Join us on Discord": "Únete a nosotros en Discord", "Where we are": "Donde estamos", "Hangout, chat, get support, suggest new content and art - we're all here!": "Hangout, chatee, obtenga soporte, sugiera nuevo contenido y arte: ¡todos estamos aquí!", diff --git a/locales/es/page.community_old.json b/locales/es/page.community_old.json index 55affcd81..3c87f3d63 100644 --- a/locales/es/page.community_old.json +++ b/locales/es/page.community_old.json @@ -5,5 +5,7 @@ "Events and meetups": "Eventos y reuniones", "Incentives": "Incentivos", "Get rewarded for your efforts testing the network": "Reciba recompensas por sus esfuerzos probando la red", - "Earn rewards": "Gana recompensas" + "Earn rewards": "Gana recompensas", + "Join the Vega community, where a fair finance future is being co-created - starting with derivatives.": "Únase a la comunidad Vega, donde se está co-creando un futuro financiero justo, comenzando con derivados.", + "Earn rewards for contributing to the future of finance.": "Obtenga recompensas por contribuir al futuro de las finanzas." } diff --git a/locales/es/page.governance.json b/locales/es/page.governance.json index 79f2d316d..35540f825 100644 --- a/locales/es/page.governance.json +++ b/locales/es/page.governance.json @@ -33,8 +33,8 @@ "Get started voting": "Empezar a votar", "Get $VEGA tokens": "Consigue fichas de $VEGA", "You can purchase VEGA on various exchanges.": "", - "Get a Vega Wallet": "Obtenga una billetera Vega", - "A Vega wallet is used to access and sign transactions and connect to any dApp running on Vega.": "Una billetera Vega se usa para acceder y firmar transacciones y conectarse a cualquier dApp que se ejecute en Vega.", + "Stake VEGA": "", + "Stake your VEGA tokens on the governance site to be eligible to vote, note you will need to get a <2>wallet to do this": "", "Vote on proposals": "Votar propuestas", "Use our governance tools.": "Utilice nuestras herramientas de gobierno.", "Note, you'll need some ETH to pay any transaction fees.": "Tenga en cuenta que necesitará algo de ETH para pagar las tarifas de transacción.", diff --git a/locales/es/page.governance_old.json b/locales/es/page.governance_old.json index b4ba2e401..5e36e5342 100644 --- a/locales/es/page.governance_old.json +++ b/locales/es/page.governance_old.json @@ -6,5 +6,7 @@ "And store in an Ethereum wallet. You can purchase VEGA using Ethereum (ETH) on decentralized exchanges.": "Y guárdelo en una billetera Ethereum. Puede comprar VEGA usando Ethereum (ETH) en intercambios descentralizados.", "Governance tools": "Herramientas de gobernanza", "Propose a futures market on any underlying.": "Proponer un mercado de futuros sobre cualquier subyacente.", - "Create a new market": "Crear un nuevo mercado" + "Create a new market": "Crear un nuevo mercado", + "Get a Vega Wallet": "Obtenga una billetera Vega", + "A Vega wallet is used to access and sign transactions and connect to any dApp running on Vega.": "Una billetera Vega se usa para acceder y firmar transacciones y conectarse a cualquier dApp que se ejecute en Vega." } diff --git a/locales/es/page.index.json b/locales/es/page.index.json index 0906f0564..ae8cd1bfb 100644 --- a/locales/es/page.index.json +++ b/locales/es/page.index.json @@ -8,9 +8,6 @@ "Vega Wallet": "Monedero Vega", "Docs": "Documentos", "Backed by:": "Respaldado por:", - "Programmatic trading on Vega": "Comercio programático en Vega", - "Vega's decentralised datanode architecture provides rich CEX-like APIs and full historic price data for everyone.": "La arquitectura descentralizada del datanode de Vega proporciona APIs ricas similares a las de CEX y datos históricos completos de precios para todo el mundo.", - "Explore": "Explorar", "Key features": "Características principales", "Non-custodial and pseudonymous": "Sin custodia y seudónimo", "No third party has access to your funds.": "Ningún tercero tiene acceso a sus fondos.", @@ -29,10 +26,13 @@ "Permissionless market creation": "Creación de mercados sin permiso", "Create any market on any underlying with on-chain governance": "Cree cualquier mercado en cualquier subyacente con gobernanza en cadena", "View all": "Ver todo", + "Programmatic trading on Vega": "Comercio programático en Vega", + "Vega's decentralised datanode architecture provides rich CEX-like APIs and full historic price data for everyone.": "La arquitectura descentralizada del datanode de Vega proporciona APIs ricas similares a las de CEX y datos históricos completos de precios para todo el mundo.", + "Explore": "Explorar", "Events": "Eventos", "Where next?": "Que sigue?", - "Use the network": "Usa la red", - "Join the community": "Unete a la communidad", - "Govern the network": "Gobernar la red", - "Develop on Vega": "Desarrollar en Vega" + "Learn about Vega": "", + "Read the docs": "", + "Launch Console": "", + "Staking & Governance": "" } diff --git a/locales/es/page.index_old.json b/locales/es/page.index_old.json index 2ec52b1e8..bb5a055e0 100644 --- a/locales/es/page.index_old.json +++ b/locales/es/page.index_old.json @@ -1,4 +1,8 @@ { "Blockchain derivatives": "Derivados en la cadena de bloques", - "Vega Protocol - Perpetuals and Futures DEX": "Protocolo Vega - DEX Perpetuos y Futuros" + "Vega Protocol - Perpetuals and Futures DEX": "Protocolo Vega - DEX Perpetuos y Futuros", + "Use the network": "Usa la red", + "Join the community": "Unete a la communidad", + "Govern the network": "Gobernar la red", + "Develop on Vega": "Desarrollar en Vega" } diff --git a/locales/es/page.rewards.json b/locales/es/page.rewards.json index d68eb7931..9ecfc8e58 100644 --- a/locales/es/page.rewards.json +++ b/locales/es/page.rewards.json @@ -8,10 +8,10 @@ "Incentives and Bounties": "Incentivos y Bonificaciones", "Bounties": "Bonificaciones", "Participate in developer bounties and get rewarded for your commitment.": "Participe en las recompensas para desarrolladores y obtenga recompensas por su compromiso.", - "Security issues": "Temas de seguridad", + "Security Issues": "", "Report a security issue": "Reportar un problema de seguridad", "Found a software security issue? Report it to us and earn rewards by finding bugs that affect the Vega Network.": "¿Encontró un problema de seguridad de software? Infórmenos y gane recompensas al encontrar errores que afecten a la red Vega.", - "Fairground incentives": "Incentivos de feria", + "Fairground Incentives": "", "Fairground": "Recinto ferial", "Earn rewards for helping to find bugs and battle harden Vega's Testnet.": "Obtenga recompensas por ayudar a encontrar errores y endurecer la batalla en Vega Testnet." } diff --git a/locales/es/page.rewards_old.json b/locales/es/page.rewards_old.json index f7524e731..6391bab02 100644 --- a/locales/es/page.rewards_old.json +++ b/locales/es/page.rewards_old.json @@ -1,3 +1,5 @@ { - "Develop": "Desarrollar" + "Develop": "Desarrollar", + "Security issues": "Temas de seguridad", + "Fairground incentives": "Incentivos de feria" } diff --git a/locales/ko/component.latest-news.json b/locales/ko/component.latest-news.json index 0371cd07f..ab41a0bd0 100644 --- a/locales/ko/component.latest-news.json +++ b/locales/ko/component.latest-news.json @@ -1,8 +1,7 @@ { - "Latest News": "최신 뉴스", "{{minutes}} minute read": "{{minutes}}분 소요", "Read our blog": "블로그 바로가기", "See all Tweets": "트위터 바로가기", "Watch all Talks": "발표 모아보기", - "Read all Insights": "전체 인사이트글" + "Read all Articles": "" } diff --git a/locales/ko/component.latest-news_old.json b/locales/ko/component.latest-news_old.json new file mode 100644 index 000000000..1228448d1 --- /dev/null +++ b/locales/ko/component.latest-news_old.json @@ -0,0 +1,4 @@ +{ + "Read all Insights": "전체 인사이트글", + "Latest News": "최신 뉴스" +} diff --git a/locales/ko/component.market-tile.json b/locales/ko/component.market-tile.json new file mode 100644 index 000000000..67f77eb43 --- /dev/null +++ b/locales/ko/component.market-tile.json @@ -0,0 +1,3 @@ +{ + "Suspended": "" +} diff --git a/locales/ko/component.navigation.json b/locales/ko/component.navigation.json index 38ec84a44..c3e8f523c 100644 --- a/locales/ko/component.navigation.json +++ b/locales/ko/component.navigation.json @@ -2,7 +2,7 @@ "About": "", "Blog": "블로그", "FAQs": "", - "Insights": "인사이트", + "Articles": "", "Key Concepts": "", "Rewards": "보상", "Vega Papers": "", @@ -48,7 +48,7 @@ "Brand assets": "브랜드 자산", "Contribute to Vega": "베가에 기여하기", "Papers": "", - "Insights & Talks": "", + "Articles & Talks": "", "Ambassadors": "앰버서더", "Fairground": "", "Developers": "", diff --git a/locales/ko/component.navigation_old.json b/locales/ko/component.navigation_old.json index eb7a5879e..e772ffe07 100644 --- a/locales/ko/component.navigation_old.json +++ b/locales/ko/component.navigation_old.json @@ -52,5 +52,7 @@ "Technical overview": "기술 개요", "Talks": "토크", "Home": "", - "Gitub": "" + "Gitub": "", + "Insights": "인사이트", + "Insights & Talks": "" } diff --git a/locales/ko/component.statistics.json b/locales/ko/component.statistics.json index a99e9aa10..3cc67a73d 100644 --- a/locales/ko/component.statistics.json +++ b/locales/ko/component.statistics.json @@ -1,6 +1,7 @@ { "Total Volume": "총 거래량", "Total Markets": "전체 시장", + "Total Staked": "", "TVL": "총 예치금액", "Avg. Block Time": "평균 블록시간" } diff --git a/locales/ko/page.insights.json b/locales/ko/page.articles.json similarity index 59% rename from locales/ko/page.insights.json rename to locales/ko/page.articles.json index 1c9b4942d..d222c0494 100644 --- a/locales/ko/page.insights.json +++ b/locales/ko/page.articles.json @@ -4,7 +4,7 @@ "{{firstItem}} - {{lastItem}} of {{totalItems}}": "", "Next Page": "", "Next": "", - "Insights & Talks": "", - "Articles and talks about vega": "", - "Insights & talks.": "" + "Articles & Talks": "", + "Articles and talks about Vega": "", + "Articles & talks.": "" } diff --git a/locales/ko/page.community.json b/locales/ko/page.community.json index 00b6475c9..b303d19cd 100644 --- a/locales/ko/page.community.json +++ b/locales/ko/page.community.json @@ -4,8 +4,7 @@ "Events": "행사", "Upcoming community events, meet-ups, research office hours and community calls.": "다가오는 커뮤니티 행사, 밋업, 리서치 오피스 아워 그리고 커뮤니티 콜.", "Upcoming events + meetups": "다가오는 행사 + 밋업", - "Join the Vega community, where a fair finance future is being co-created - starting with derivatives.": "파생상품을 시작으로 공정한 금융의 미래를 함께 만들어가는 Vega 커뮤니티에 참여하세요.", - "Earn rewards for contributing to the future of finance.": "금융의 미래에 기여하고 보상을 받으세요.", + "Learn, Test, Govern - where do you fit in the Vega Ecosystem?": "", "Join us on Discord": "디스코드 입장", "Where we are": "Vega 소셜", "Hangout, chat, get support, suggest new content and art - we're all here!": "수다 떨고, 대화하고, 도움 받고, 새로운 콘텐츠와 아트를 제안해주세요 - Vega 팀 모두 여기 있습니다!", diff --git a/locales/ko/page.community_old.json b/locales/ko/page.community_old.json index b54faa27e..e35ae451b 100644 --- a/locales/ko/page.community_old.json +++ b/locales/ko/page.community_old.json @@ -5,5 +5,7 @@ "Events and meetups": "행사와 밋업", "Incentives": "인센티브", "Get rewarded for your efforts testing the network": "네트워크를 테스트하고 보상 받으세요", - "Earn rewards": "보상 받기" + "Earn rewards": "보상 받기", + "Join the Vega community, where a fair finance future is being co-created - starting with derivatives.": "파생상품을 시작으로 공정한 금융의 미래를 함께 만들어가는 Vega 커뮤니티에 참여하세요.", + "Earn rewards for contributing to the future of finance.": "금융의 미래에 기여하고 보상을 받으세요." } diff --git a/locales/ko/page.governance.json b/locales/ko/page.governance.json index 58e21cd6d..90243263d 100644 --- a/locales/ko/page.governance.json +++ b/locales/ko/page.governance.json @@ -33,8 +33,8 @@ "Get started voting": "투표하세요", "Get $VEGA tokens": "$VEGA 토큰 받기", "You can purchase VEGA on various exchanges.": "", - "Get a Vega Wallet": "Vega 지갑 받기", - "A Vega wallet is used to access and sign transactions and connect to any dApp running on Vega.": "Vega 지갑은 트랜잭션에 접근하고 서명하고 Vega에서 실행되는 모든 dApp에 연결하는 데 사용됩니다.", + "Stake VEGA": "", + "Stake your VEGA tokens on the governance site to be eligible to vote, note you will need to get a <2>wallet to do this": "", "Vote on proposals": "제안에 투표하기", "Use our governance tools.": "거버넌스 툴을 사용하세요", "Note, you'll need some ETH to pay any transaction fees.": "참고, 거래 수수료를 지불하기 위해 소량의 이더리움이 필요합니다.", diff --git a/locales/ko/page.governance_old.json b/locales/ko/page.governance_old.json index ec4291cf2..a795e57b4 100644 --- a/locales/ko/page.governance_old.json +++ b/locales/ko/page.governance_old.json @@ -6,5 +6,7 @@ "And store in an Ethereum wallet. You can purchase VEGA using Ethereum (ETH) on decentralized exchanges.": "그리고 이더리움 지갑에 보관하세요. 탈중앙화 거래소에서 이더리움(ETH)을 사용하여 VEGA를 구매할 수 있습니다.", "Governance tools": "거버넌스 툴", "Propose a futures market on any underlying.": "기초자산에 대한 선물 시장을 제안하세요.", - "Create a new market": "신규 시장 생성" + "Create a new market": "신규 시장 생성", + "Get a Vega Wallet": "Vega 지갑 받기", + "A Vega wallet is used to access and sign transactions and connect to any dApp running on Vega.": "Vega 지갑은 트랜잭션에 접근하고 서명하고 Vega에서 실행되는 모든 dApp에 연결하는 데 사용됩니다." } diff --git a/locales/ko/page.index.json b/locales/ko/page.index.json index fd995f20d..23c70751d 100644 --- a/locales/ko/page.index.json +++ b/locales/ko/page.index.json @@ -8,9 +8,6 @@ "Vega Wallet": "베가 지갑", "Docs": "문서", "Backed by:": "투자자", - "Programmatic trading on Vega": "베가 알고리즘 트레이딩", - "Vega's decentralised datanode architecture provides rich CEX-like APIs and full historic price data for everyone.": "Vega의 분산형 데이터노드 아키텍처는 풍부한 CEX와 같은 API와 전체 과거 가격 데이터를 모두에게 제공합니다.", - "Explore": "탐색", "Key features": "주요 기능", "Non-custodial and pseudonymous": "비수탁 및 가명", "No third party has access to your funds.": "어떤 제3자도 본인의 자산에 접근할 수 없습니다.", @@ -29,10 +26,13 @@ "Permissionless market creation": "무허가 시장 생성", "Create any market on any underlying with on-chain governance": "온체인 거버넌스로 모든 기반에서 모든 시장 생성", "View all": "전체 보기", + "Programmatic trading on Vega": "베가 알고리즘 트레이딩", + "Vega's decentralised datanode architecture provides rich CEX-like APIs and full historic price data for everyone.": "Vega의 분산형 데이터노드 아키텍처는 풍부한 CEX와 같은 API와 전체 과거 가격 데이터를 모두에게 제공합니다.", + "Explore": "탐색", "Events": "이벤트", "Where next?": "다음은?", - "Use the network": "네트워크 사용하기", - "Join the community": "커뮤니티 참여하기", - "Govern the network": "네트워크 거버넌스 참여하기", - "Develop on Vega": "베가에 개발하기" + "Learn about Vega": "", + "Read the docs": "", + "Launch Console": "", + "Staking & Governance": "" } diff --git a/locales/ko/page.index_old.json b/locales/ko/page.index_old.json index 7c06d1b3b..0e2d6514c 100644 --- a/locales/ko/page.index_old.json +++ b/locales/ko/page.index_old.json @@ -1,4 +1,8 @@ { "Blockchain derivatives": "블록체인 파생상품", - "Vega Protocol - Perpetuals and Futures DEX": "" + "Vega Protocol - Perpetuals and Futures DEX": "", + "Use the network": "네트워크 사용하기", + "Join the community": "커뮤니티 참여하기", + "Govern the network": "네트워크 거버넌스 참여하기", + "Develop on Vega": "베가에 개발하기" } diff --git a/locales/ko/page.insights_old.json b/locales/ko/page.insights_old.json deleted file mode 100644 index 689d402cd..000000000 --- a/locales/ko/page.insights_old.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "Insights": "인사이트", - "Articles about vega from around the web": "Vega에 대한 기사", - "Page {currentPage} of {numPages}": "", - "Latest news": "최신 뉴스", - "Page {{currentPage}} of {{numPages}}": "" -} diff --git a/locales/ko/page.rewards.json b/locales/ko/page.rewards.json index 78fcf7bc6..c44c3f7ad 100644 --- a/locales/ko/page.rewards.json +++ b/locales/ko/page.rewards.json @@ -8,10 +8,10 @@ "Incentives and Bounties": "인센티브 및 바운티", "Bounties": "바운티", "Participate in developer bounties and get rewarded for your commitment.": "개발자 바운티에 참여하고 기여에 대한 보상을 받으세요.", - "Security issues": "보안 문제", + "Security Issues": "", "Report a security issue": "보안 문제 보고하기", "Found a software security issue? Report it to us and earn rewards by finding bugs that affect the Vega Network.": "소프트웨어 보안 문제를 찾았으셨나요? Vega Network에 영향을 미치는 버그를 찾아 우리에게 보고하고 보상을 받으세요.", - "Fairground incentives": "Fairground 인센티브", + "Fairground Incentives": "", "Fairground": "Fairground", "Earn rewards for helping to find bugs and battle harden Vega's Testnet.": "버그를 찾는 데 도움을 주고 Vega의 Testnet 강화에 대한 보상을 받으세요." } diff --git a/locales/ko/page.rewards_old.json b/locales/ko/page.rewards_old.json index 9706e0a13..afd4c492a 100644 --- a/locales/ko/page.rewards_old.json +++ b/locales/ko/page.rewards_old.json @@ -1,3 +1,5 @@ { - "Develop": "개발" + "Develop": "개발", + "Security issues": "보안 문제", + "Fairground incentives": "Fairground 인센티브" } diff --git a/locales/ru/component.latest-news.json b/locales/ru/component.latest-news.json index 260c75554..ccb24206d 100644 --- a/locales/ru/component.latest-news.json +++ b/locales/ru/component.latest-news.json @@ -1,8 +1,7 @@ { - "Latest News": "Последние новости", "{{minutes}} minute read": "{{минуты}} время прочтения", "Read our blog": "Читайте наш блог", "See all Tweets": "Посмотреть все твиты", "Watch all Talks": "Смотреть все беседы", - "Read all Insights": "Читать все статьи" + "Read all Articles": "" } diff --git a/locales/ru/component.latest-news_old.json b/locales/ru/component.latest-news_old.json new file mode 100644 index 000000000..3f6fe63aa --- /dev/null +++ b/locales/ru/component.latest-news_old.json @@ -0,0 +1,4 @@ +{ + "Read all Insights": "Читать все статьи", + "Latest News": "Последние новости" +} diff --git a/locales/ru/component.market-tile.json b/locales/ru/component.market-tile.json new file mode 100644 index 000000000..67f77eb43 --- /dev/null +++ b/locales/ru/component.market-tile.json @@ -0,0 +1,3 @@ +{ + "Suspended": "" +} diff --git a/locales/ru/component.navigation.json b/locales/ru/component.navigation.json index d8a932ff8..c8875a55b 100644 --- a/locales/ru/component.navigation.json +++ b/locales/ru/component.navigation.json @@ -2,7 +2,7 @@ "About": "", "Blog": "Блог", "FAQs": "", - "Insights": "Инсайты", + "Articles": "", "Key Concepts": "", "Rewards": "Награды ", "Vega Papers": "", @@ -48,7 +48,7 @@ "Brand assets": "Активы бренда", "Contribute to Vega": "Внести вклад в Vega", "Papers": "", - "Insights & Talks": "", + "Articles & Talks": "", "Ambassadors": "Послы", "Fairground": "", "Developers": "", diff --git a/locales/ru/component.navigation_old.json b/locales/ru/component.navigation_old.json index b7c387908..171068348 100644 --- a/locales/ru/component.navigation_old.json +++ b/locales/ru/component.navigation_old.json @@ -52,5 +52,7 @@ "Technical overview": "Технический обзор", "Talks": "Беседы", "Home": "", - "Gitub": "" + "Gitub": "", + "Insights": "Инсайты", + "Insights & Talks": "" } diff --git a/locales/ru/component.statistics.json b/locales/ru/component.statistics.json index 1f661b347..3e21d5fb4 100644 --- a/locales/ru/component.statistics.json +++ b/locales/ru/component.statistics.json @@ -1,6 +1,7 @@ { "Total Volume": "Совокупный объём", "Total Markets": "Общее количество рынков", + "Total Staked": "", "TVL": "Общая стоимость заблокированных средств ", "Avg. Block Time": "Среднее время блока" } diff --git a/locales/vi/page.insights.json b/locales/ru/page.articles.json similarity index 59% rename from locales/vi/page.insights.json rename to locales/ru/page.articles.json index 1c9b4942d..d222c0494 100644 --- a/locales/vi/page.insights.json +++ b/locales/ru/page.articles.json @@ -4,7 +4,7 @@ "{{firstItem}} - {{lastItem}} of {{totalItems}}": "", "Next Page": "", "Next": "", - "Insights & Talks": "", - "Articles and talks about vega": "", - "Insights & talks.": "" + "Articles & Talks": "", + "Articles and talks about Vega": "", + "Articles & talks.": "" } diff --git a/locales/ru/page.community.json b/locales/ru/page.community.json index ae6601932..ec4e84bfb 100644 --- a/locales/ru/page.community.json +++ b/locales/ru/page.community.json @@ -4,8 +4,7 @@ "Events": "Mероприятия", "Upcoming community events, meet-ups, research office hours and community calls.": "Предстоящие общественные мероприятия, встречи, часы работы исследовательского офиса и обращения к сообществу.", "Upcoming events + meetups": "Предстоящие мероприятия + встречи", - "Join the Vega community, where a fair finance future is being co-created - starting with derivatives.": "Присоединяйтесь к сообществу Vega, где совместно создается будущее справедливых финансов - начиная с деривативов.", - "Earn rewards for contributing to the future of finance.": "Получайте вознаграждение за вклад в будущее финансов.", + "Learn, Test, Govern - where do you fit in the Vega Ecosystem?": "", "Join us on Discord": "Присоединяйтесь к нам в Discord", "Where we are": "Где мы находимся", "Hangout, chat, get support, suggest new content and art - we're all here!": "Общайтесь, пишите, получайте поддержку, предлагайте новый контент и искусство - мы все здесь!", diff --git a/locales/ru/page.community_old.json b/locales/ru/page.community_old.json index c509d2ec9..202d42253 100644 --- a/locales/ru/page.community_old.json +++ b/locales/ru/page.community_old.json @@ -5,5 +5,7 @@ "Events and meetups": "Мероприятия и встречи", "Incentives": "Стимулы", "Get rewarded for your efforts testing the network": "Получайте вознаграждение за свои усилия по тестированию сети", - "Earn rewards": "Получайте вознаграждения" + "Earn rewards": "Получайте вознаграждения", + "Join the Vega community, where a fair finance future is being co-created - starting with derivatives.": "Присоединяйтесь к сообществу Vega, где совместно создается будущее справедливых финансов - начиная с деривативов.", + "Earn rewards for contributing to the future of finance.": "Получайте вознаграждение за вклад в будущее финансов." } diff --git a/locales/ru/page.governance.json b/locales/ru/page.governance.json index 242bd19f8..c57d655cf 100644 --- a/locales/ru/page.governance.json +++ b/locales/ru/page.governance.json @@ -33,8 +33,8 @@ "Get started voting": "Начните голосовать", "Get $VEGA tokens": "Получить токены $VEGA", "You can purchase VEGA on various exchanges.": "", - "Get a Vega Wallet": "Скачайте кошелек Vega", - "A Vega wallet is used to access and sign transactions and connect to any dApp running on Vega.": "Кошелек Vega используется для доступа и подписания транзакций, а также для подключения к любому dApp, работающему на Vega.", + "Stake VEGA": "", + "Stake your VEGA tokens on the governance site to be eligible to vote, note you will need to get a <2>wallet to do this": "", "Vote on proposals": "Голосование за предложения", "Use our governance tools.": "Используйте наши инструменты управления.", "Note, you'll need some ETH to pay any transaction fees.": "Обратите внимание, что вам потребуется некоторое количество ETH для оплаты комиссии за транзакции.", diff --git a/locales/ru/page.governance_old.json b/locales/ru/page.governance_old.json index 2f72e4167..659d7fa90 100644 --- a/locales/ru/page.governance_old.json +++ b/locales/ru/page.governance_old.json @@ -6,5 +6,7 @@ "And store in an Ethereum wallet. You can purchase VEGA using Ethereum (ETH) on decentralized exchanges.": "И хранить в кошельке Ethereum. Приобрести VEGA с помощью Ethereum (ETH) можно на децентрализованных биржах.", "Governance tools": "Инструменты управления", "Propose a futures market on any underlying.": "Предложите фьючерсный рынок на любой базовый актив.", - "Create a new market": "Создать новый рынок" + "Create a new market": "Создать новый рынок", + "Get a Vega Wallet": "Скачайте кошелек Vega", + "A Vega wallet is used to access and sign transactions and connect to any dApp running on Vega.": "Кошелек Vega используется для доступа и подписания транзакций, а также для подключения к любому dApp, работающему на Vega." } diff --git a/locales/ru/page.index.json b/locales/ru/page.index.json index be3431336..c2e23a3a3 100644 --- a/locales/ru/page.index.json +++ b/locales/ru/page.index.json @@ -8,9 +8,6 @@ "Vega Wallet": "Кошелек Vega", "Docs": "Документация", "Backed by:": "При поддержке:", - "Programmatic trading on Vega": "", - "Vega's decentralised datanode architecture provides rich CEX-like APIs and full historic price data for everyone.": "Децентрализованная архитектура датанод Vega предоставляет богатые API, подобные CEX, и полные исторические данные о ценах для всех.", - "Explore": "Исследуйте ", "Key features": "Основные характеристики", "Non-custodial and pseudonymous": "Не находящиеся под стражей и псевдонимные", "No third party has access to your funds.": "Ни одна третья сторона не имеет доступа к вашим средствам.", @@ -29,10 +26,13 @@ "Permissionless market creation": "Создание рынка без границ", "Create any market on any underlying with on-chain governance": "Создание любого рынка на любой основе с управлением на цепочке", "View all": "Смотреть все", + "Programmatic trading on Vega": "", + "Vega's decentralised datanode architecture provides rich CEX-like APIs and full historic price data for everyone.": "Децентрализованная архитектура датанод Vega предоставляет богатые API, подобные CEX, и полные исторические данные о ценах для всех.", + "Explore": "Исследуйте ", "Events": "Эвенты", "Where next?": "Что дальше?", - "Use the network": "Используйте сеть", - "Join the community": "Присоединяйтесь к сообществу", - "Govern the network": "Управление сетью", - "Develop on Vega": "Развиваться на Vega" + "Learn about Vega": "", + "Read the docs": "", + "Launch Console": "", + "Staking & Governance": "" } diff --git a/locales/ru/page.index_old.json b/locales/ru/page.index_old.json index 4c375644a..ce725a26f 100644 --- a/locales/ru/page.index_old.json +++ b/locales/ru/page.index_old.json @@ -1,4 +1,8 @@ { "Blockchain derivatives": "Блокчейн фьючерсов", - "Vega Protocol - Perpetuals and Futures DEX": "" + "Vega Protocol - Perpetuals and Futures DEX": "", + "Use the network": "Используйте сеть", + "Join the community": "Присоединяйтесь к сообществу", + "Govern the network": "Управление сетью", + "Develop on Vega": "Развиваться на Vega" } diff --git a/locales/ru/page.insights_old.json b/locales/ru/page.insights_old.json deleted file mode 100644 index 1a2a659b8..000000000 --- a/locales/ru/page.insights_old.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "Insights": "Инсайты", - "Articles about vega from around the web": "Статьи о Vega со всего мира", - "Page {currentPage} of {numPages}": "", - "Latest news": "Последние новости", - "Page {{currentPage}} of {{numPages}}": "" -} diff --git a/locales/ru/page.rewards.json b/locales/ru/page.rewards.json index 68f6cb9cb..2067bd347 100644 --- a/locales/ru/page.rewards.json +++ b/locales/ru/page.rewards.json @@ -8,10 +8,10 @@ "Incentives and Bounties": "Стимулы и вознаграждения", "Bounties": "Баунти", "Participate in developer bounties and get rewarded for your commitment.": "Участвуйте в конкурсах разработчиков и получайте вознаграждение за свою приверженность.", - "Security issues": "Вопросы безопасности", + "Security Issues": "", "Report a security issue": "Сообщить о проблеме безопасности", "Found a software security issue? Report it to us and earn rewards by finding bugs that affect the Vega Network.": "Нашли проблему безопасности программного обеспечения? Сообщите нам об этом и получайте вознаграждения, находя ошибки, влияющие на работу сети Vega.", - "Fairground incentives": "Стимулы в Fairground", + "Fairground Incentives": "", "Fairground": "Fairground", "Earn rewards for helping to find bugs and battle harden Vega's Testnet.": "Получайте награды за помощь в поиске ошибок и боевое укрепление Vega's Testnet." } diff --git a/locales/ru/page.rewards_old.json b/locales/ru/page.rewards_old.json index f758fdf76..f868bd8de 100644 --- a/locales/ru/page.rewards_old.json +++ b/locales/ru/page.rewards_old.json @@ -1,3 +1,5 @@ { - "Develop": "Разработка" + "Develop": "Разработка", + "Security issues": "Вопросы безопасности", + "Fairground incentives": "Стимулы в Fairground" } diff --git a/locales/vi/component.latest-news.json b/locales/vi/component.latest-news.json index b26adc520..7f8692ff0 100644 --- a/locales/vi/component.latest-news.json +++ b/locales/vi/component.latest-news.json @@ -1,8 +1,7 @@ { - "Latest News": "Tin tức mới nhất ", "{{minutes}} minute read": "thời gian đọc{{phút}}", "Read our blog": "Đọc thêm Blog của chúng tôi", "See all Tweets": "Xem tất cả bài Tweet", "Watch all Talks": "Xem tất cả các buổi AMA", - "Read all Insights": "Đọc các bài viết trên Insight" + "Read all Articles": "" } diff --git a/locales/vi/component.latest-news_old.json b/locales/vi/component.latest-news_old.json new file mode 100644 index 000000000..88db435da --- /dev/null +++ b/locales/vi/component.latest-news_old.json @@ -0,0 +1,4 @@ +{ + "Read all Insights": "Đọc các bài viết trên Insight", + "Latest News": "Tin tức mới nhất " +} diff --git a/locales/vi/component.market-tile.json b/locales/vi/component.market-tile.json new file mode 100644 index 000000000..67f77eb43 --- /dev/null +++ b/locales/vi/component.market-tile.json @@ -0,0 +1,3 @@ +{ + "Suspended": "" +} diff --git a/locales/vi/component.navigation.json b/locales/vi/component.navigation.json index 7c4f16ea1..c960f4313 100644 --- a/locales/vi/component.navigation.json +++ b/locales/vi/component.navigation.json @@ -2,7 +2,7 @@ "About": "Về Vega", "Blog": "Blog", "FAQs": "FAQs", - "Insights": "Insights", + "Articles": "", "Key Concepts": "Các khái niệm chính", "Rewards": "Phần thưởng", "Vega Papers": "Tài liệu Vega", @@ -48,7 +48,7 @@ "Brand assets": "Tài sản thương hiệu", "Contribute to Vega": "Đóng góp cho Vega", "Papers": "Tài liệu", - "Insights & Talks": "Insights & Talks", + "Articles & Talks": "", "Ambassadors": "Người đại diện", "Fairground": "Fairground", "Developers": "Nhà phát triển", diff --git a/locales/vi/component.navigation_old.json b/locales/vi/component.navigation_old.json index c055f508b..7373f271a 100644 --- a/locales/vi/component.navigation_old.json +++ b/locales/vi/component.navigation_old.json @@ -51,6 +51,8 @@ "Whitepaper": "Sách trắng", "Technical overview": "Tổng quan về kỹ thuật", "Talks": "Talks", + "Insights": "Insights", + "Insights & Talks": "Insights & Talks", "Home": "Trang chủ", "Gitub": "Github" } diff --git a/locales/vi/component.statistics.json b/locales/vi/component.statistics.json index 5eb00f987..241706b71 100644 --- a/locales/vi/component.statistics.json +++ b/locales/vi/component.statistics.json @@ -1,6 +1,7 @@ { "Total Volume": "Tổng khối lượng giao dịch", "Total Markets": "Tổng khối lượng thị trường giao dịch", + "Total Staked": "", "TVL": "TVl", "Avg. Block Time": "Block-time trung bình" } diff --git a/locales/vi/page.articles.json b/locales/vi/page.articles.json new file mode 100644 index 000000000..d222c0494 --- /dev/null +++ b/locales/vi/page.articles.json @@ -0,0 +1,10 @@ +{ + "Previous Page": "", + "Previous": "", + "{{firstItem}} - {{lastItem}} of {{totalItems}}": "", + "Next Page": "", + "Next": "", + "Articles & Talks": "", + "Articles and talks about Vega": "", + "Articles & talks.": "" +} diff --git a/locales/vi/page.community.json b/locales/vi/page.community.json index 82ca6a7a1..994ccbc4e 100644 --- a/locales/vi/page.community.json +++ b/locales/vi/page.community.json @@ -4,8 +4,7 @@ "Events": "Sự kiện", "Upcoming community events, meet-ups, research office hours and community calls.": "Các sự kiện cộng đồng sắp tới, các cuộc gặp gỡ, giờ làm việc nghiên cứu và các cuộc gọi cộng đồng.", "Upcoming events + meetups": "Sự kiện + cuộc gặp gỡ sắp tới", - "Join the Vega community, where a fair finance future is being co-created - starting with derivatives.": "Tham gia cộng đồng Vega, nơi một tương lai tài chính công bằng đang được đồng sáng tạo - bắt đầu với các công cụ phái sinh.", - "Earn rewards for contributing to the future of finance.": "Kiếm phần thưởng vì đã đóng góp cho tương lai của ngành tài chính.", + "Learn, Test, Govern - where do you fit in the Vega Ecosystem?": "", "Join us on Discord": "Tham gia với chúng tôi trên Discord", "Where we are": "Chúng tôi là", "Hangout, chat, get support, suggest new content and art - we're all here!": "Hangout, trò chuyện, nhận hỗ trợ, đề xuất nội dung và tác phẩm nghệ thuật mới - tất cả chúng tôi đều ở đây!", diff --git a/locales/vi/page.community_old.json b/locales/vi/page.community_old.json index 75c4ac267..3769ccc55 100644 --- a/locales/vi/page.community_old.json +++ b/locales/vi/page.community_old.json @@ -5,5 +5,7 @@ "Events and meetups": "Sự kiện và cuộc gặp gỡ", "Incentives": "Ưu đãi", "Get rewarded for your efforts testing the network": "Nhận phần thưởng cho nỗ lực thử nghiệm mạng của bạn", - "Earn rewards": "kiếm phần thưởng" + "Earn rewards": "kiếm phần thưởng", + "Join the Vega community, where a fair finance future is being co-created - starting with derivatives.": "Tham gia cộng đồng Vega, nơi một tương lai tài chính công bằng đang được đồng sáng tạo - bắt đầu với các công cụ phái sinh.", + "Earn rewards for contributing to the future of finance.": "Kiếm phần thưởng vì đã đóng góp cho tương lai của ngành tài chính." } diff --git a/locales/vi/page.governance.json b/locales/vi/page.governance.json index f33961c04..d6b428548 100644 --- a/locales/vi/page.governance.json +++ b/locales/vi/page.governance.json @@ -33,8 +33,8 @@ "Get started voting": "Bắt đầu bình chọn", "Get $VEGA tokens": "Nhận token Vega", "You can purchase VEGA on various exchanges.": "Bạn có thể mua VEGA trên nhiều sàn giao dịch khác nhau.", - "Get a Vega Wallet": "Tải ví Vega", - "A Vega wallet is used to access and sign transactions and connect to any dApp running on Vega.": "Ví Vega được sử dụng để truy cập và ký các giao dịch cũng như kết nối với bất kỳ dApp nào chạy trên Vega.", + "Stake VEGA": "", + "Stake your VEGA tokens on the governance site to be eligible to vote, note you will need to get a <2>wallet to do this": "", "Vote on proposals": "Bỏ phiếu cho các đề xuất", "Use our governance tools.": "Sử dụng các công cụ quản trị của chúng tôi.", "Note, you'll need some ETH to pay any transaction fees.": "Lưu ý, bạn sẽ cần một số ETH để thanh toán mọi khoản phí giao dịch.", diff --git a/locales/vi/page.governance_old.json b/locales/vi/page.governance_old.json index bcb10cf6a..e5611faa2 100644 --- a/locales/vi/page.governance_old.json +++ b/locales/vi/page.governance_old.json @@ -6,5 +6,7 @@ "And store in an Ethereum wallet. You can purchase VEGA using Ethereum (ETH) on decentralized exchanges.": "Và lưu trữ trong ví Ethereum. Bạn có thể mua VEGA bằng Ethereum (ETH) trên các sàn giao dịch phi tập trung.", "Governance tools": "Công cụ quản trị", "Propose a futures market on any underlying.": "Đề xuất một thị trường tương lai trên bất kỳ cơ sở nào.", - "Create a new market": "Tạo thị trường mới" + "Create a new market": "Tạo thị trường mới", + "Get a Vega Wallet": "Tải ví Vega", + "A Vega wallet is used to access and sign transactions and connect to any dApp running on Vega.": "Ví Vega được sử dụng để truy cập và ký các giao dịch cũng như kết nối với bất kỳ dApp nào chạy trên Vega." } diff --git a/locales/vi/page.index.json b/locales/vi/page.index.json index d61beb70d..3348de76c 100644 --- a/locales/vi/page.index.json +++ b/locales/vi/page.index.json @@ -8,9 +8,6 @@ "Vega Wallet": "Ví Vega", "Docs": "Tài liệu", "Backed by:": "Được hỗ trợ tư vấn bơi", - "Programmatic trading on Vega": "Giao dịch có lập trình trên Vega", - "Vega's decentralised datanode architecture provides rich CEX-like APIs and full historic price data for everyone.": "Kiến trúc nút dữ liệu phi tập trung của Vega cung cấp các API phong phú giống như CEX và dữ liệu giá lịch sử đầy đủ cho mọi người", - "Explore": "Khám phá", "Key features": "Các tính năng chính", "Non-custodial and pseudonymous": "Không ", "No third party has access to your funds.": "Không bên thứ ba nào có quyền truy cập vào tài sản của bạn.", @@ -29,10 +26,13 @@ "Permissionless market creation": "Tạo thị trường không có giấy phép", "Create any market on any underlying with on-chain governance": "Tạo bất kỳ thị trường nào trên bất kỳ cơ sở nào với quản trị trên chuỗi", "View all": "Xem tất cả", + "Programmatic trading on Vega": "Giao dịch có lập trình trên Vega", + "Vega's decentralised datanode architecture provides rich CEX-like APIs and full historic price data for everyone.": "Kiến trúc nút dữ liệu phi tập trung của Vega cung cấp các API phong phú giống như CEX và dữ liệu giá lịch sử đầy đủ cho mọi người", + "Explore": "Khám phá", "Events": "Sự kiện", "Where next?": "Điểm đến tiếp theo", - "Use the network": "Sử dụng mạng lưới", - "Join the community": "Tham gia cộng đồng", - "Govern the network": "Quản trị mạng lưới", - "Develop on Vega": "Lâp trình trên Vega" + "Learn about Vega": "", + "Read the docs": "", + "Launch Console": "", + "Staking & Governance": "" } diff --git a/locales/vi/page.index_old.json b/locales/vi/page.index_old.json index 2b5d082d8..5256dc6b6 100644 --- a/locales/vi/page.index_old.json +++ b/locales/vi/page.index_old.json @@ -1,4 +1,8 @@ { "Blockchain derivatives": "Công cụ phái sinh chuỗi khối", - "Vega Protocol - Perpetuals and Futures DEX": "Vega Protocol - Perpetuals and Futures DEX" + "Vega Protocol - Perpetuals and Futures DEX": "", + "Use the network": "Sử dụng mạng lưới", + "Join the community": "Tham gia cộng đồng", + "Govern the network": "Quản trị mạng lưới", + "Develop on Vega": "Lâp trình trên Vega" } diff --git a/locales/vi/page.insights_old.json b/locales/vi/page.insights_old.json deleted file mode 100644 index 248b90bb3..000000000 --- a/locales/vi/page.insights_old.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "Insights": "Thông tin chi tiết", - "Articles about vega from around the web": "Các bài viết về vega từ khắp nơi trên Internet", - "Page {currentPage} of {numPages}": "", - "Latest news": "Các tin tức mới nhất", - "Page {{currentPage}} of {{numPages}}": "" -} diff --git a/locales/vi/page.rewards.json b/locales/vi/page.rewards.json index eef03c6c3..c06edf455 100644 --- a/locales/vi/page.rewards.json +++ b/locales/vi/page.rewards.json @@ -8,10 +8,10 @@ "Incentives and Bounties": "", "Bounties": "", "Participate in developer bounties and get rewarded for your commitment.": "", - "Security issues": "", + "Security Issues": "", "Report a security issue": "", "Found a software security issue? Report it to us and earn rewards by finding bugs that affect the Vega Network.": "", - "Fairground incentives": "", + "Fairground Incentives": "", "Fairground": "", "Earn rewards for helping to find bugs and battle harden Vega's Testnet.": "" } diff --git a/locales/vi/page.rewards_old.json b/locales/vi/page.rewards_old.json index baf3bfa67..43948b063 100644 --- a/locales/vi/page.rewards_old.json +++ b/locales/vi/page.rewards_old.json @@ -1,3 +1,5 @@ { - "Develop": "" + "Develop": "", + "Security issues": "", + "Fairground incentives": "" } diff --git a/src/components/AsSeenOn.js b/src/components/AsSeenOn.js index c14808f2d..c32c05a21 100644 --- a/src/components/AsSeenOn.js +++ b/src/components/AsSeenOn.js @@ -7,11 +7,9 @@ const AsSeenOn = () => { return (
-
-

- As seen on -

-
+

+ As seen on +

{
  • - Insights + Articles
  • diff --git a/src/components/Home/Statistics.tsx b/src/components/Home/Statistics.tsx index 4b8e0836a..bed7b0263 100644 --- a/src/components/Home/Statistics.tsx +++ b/src/components/Home/Statistics.tsx @@ -9,6 +9,7 @@ import useTotalMarkets from '../../hooks/statistics/use-total-markets' import useUsers from '../../hooks/statistics/use-users' import useTvl from '../../hooks/statistics/use-tvl' import useBlockTime from '../../hooks/statistics/use-block-time' +import useStakedTotal from '../../hooks/statistics/use-staked-total' import 'swiper/css' import 'swiper/css/effect-fade' import { formatNumberWithSuffix } from '../../utils/tools' @@ -30,6 +31,11 @@ const Statistics = () => { loading: totalMarketsLoading, error: totalMarketsError, } = useTotalMarkets() + const { + stakedTotal, + loading: stakedTotalLoading, + error: stakedTotalError, + } = useStakedTotal() const { users, loading: usersLoading, error: usersError } = useUsers() const { tvl, loading: tvlLoading, error: tvlError } = useTvl() const { @@ -94,6 +100,14 @@ const Statistics = () => { )} + + {stakedTotal && ( + + )} + {/* {users && } */} @@ -130,6 +144,12 @@ const Statistics = () => { )} {/* {users && } */} + {stakedTotal && ( + + )} {tvl && ( { +const LatestNews = ({ blogPosts, talks, articles }) => { const { t } = useTranslation('component.latest-news') const [tweet, setTweet] = useState(null) @@ -30,11 +30,6 @@ const LatestNews = ({ blogPosts, talks, insights }) => { return (
    -
    -

    - Latest News -

    -
    {blogPosts.edges.length > 0 && (
    @@ -104,27 +99,28 @@ const LatestNews = ({ blogPosts, talks, insights }) => {
    )} - {insights.edges.length > 0 && ( + {articles.edges.length > 0 && (
    ]+)>)/gi, '') .split(' ') .splice(0, 25) .join(' ')}...`} - link={insights.edges[0].node.frontmatter.links[0].url} + link={articles.edges[0].node.frontmatter.links[0].url} image={ - insights.edges[0].node.frontmatter.featuredImage - ? getSrc(insights.edges[0].node.frontmatter.featuredImage) + articles.edges[0].node.frontmatter.featuredImage + ? getSrc(articles.edges[0].node.frontmatter.featuredImage) : undefined } - date={insights.edges[0].node.frontmatter.date} + articles + date={articles.edges[0].node.frontmatter.date} className="mb-space-5" />
    -
    diff --git a/src/components/MarketTile.tsx b/src/components/MarketTile.tsx index 6d08fc817..fffed716b 100644 --- a/src/components/MarketTile.tsx +++ b/src/components/MarketTile.tsx @@ -1,31 +1,40 @@ import React from 'react' // import MarketBadge from './Svg/MarketBadge' import { Sparklines, SparklinesLine } from 'react-sparklines' +import { useTranslation } from 'gatsby-plugin-react-i18next' const MarketTile = ({ name, + volume, formattedVolume, lastPrice, priceChange, sparkLineValues, }) => { const gain = parseFloat(priceChange.replace('%', '')) > 0 + const { t } = useTranslation('component.market-tile') return ( -
    +
    {/*
    */}
    {name}
    -
    - Vol {formattedVolume} -
    + {volume !== 0 ? ( +
    + Vol {formattedVolume} +
    + ) : ( +
    + {t('Suspended')} +
    + )}
    -
    -
    {lastPrice}
    +
    {lastPrice}
    + {priceChange !== '0.00%' && (
    {priceChange}
    -
    -
    + )} +
    diff --git a/src/components/Navigation/items/About.tsx b/src/components/Navigation/items/About.tsx index 62d533990..de74348b4 100644 --- a/src/components/Navigation/items/About.tsx +++ b/src/components/Navigation/items/About.tsx @@ -11,7 +11,7 @@ const About = () => { - + ) diff --git a/src/content/insights/0001-messari/index.cn.md b/src/content/articles/0001-messari/index.cn.md similarity index 100% rename from src/content/insights/0001-messari/index.cn.md rename to src/content/articles/0001-messari/index.cn.md diff --git a/src/content/insights/0001-messari/index.en.md b/src/content/articles/0001-messari/index.en.md similarity index 100% rename from src/content/insights/0001-messari/index.en.md rename to src/content/articles/0001-messari/index.en.md diff --git a/src/content/insights/0001-messari/index.es.md b/src/content/articles/0001-messari/index.es.md similarity index 100% rename from src/content/insights/0001-messari/index.es.md rename to src/content/articles/0001-messari/index.es.md diff --git a/src/content/insights/0001-messari/index.ko.md b/src/content/articles/0001-messari/index.ko.md similarity index 100% rename from src/content/insights/0001-messari/index.ko.md rename to src/content/articles/0001-messari/index.ko.md diff --git a/src/content/insights/0001-messari/index.ru.md b/src/content/articles/0001-messari/index.ru.md similarity index 100% rename from src/content/insights/0001-messari/index.ru.md rename to src/content/articles/0001-messari/index.ru.md diff --git a/src/content/insights/0001-messari/index.vi.md b/src/content/articles/0001-messari/index.vi.md similarity index 100% rename from src/content/insights/0001-messari/index.vi.md rename to src/content/articles/0001-messari/index.vi.md diff --git a/src/content/insights/0002-arrington-capital/index.cn.md b/src/content/articles/0002-arrington-capital/index.cn.md similarity index 100% rename from src/content/insights/0002-arrington-capital/index.cn.md rename to src/content/articles/0002-arrington-capital/index.cn.md diff --git a/src/content/insights/0002-arrington-capital/index.en.md b/src/content/articles/0002-arrington-capital/index.en.md similarity index 100% rename from src/content/insights/0002-arrington-capital/index.en.md rename to src/content/articles/0002-arrington-capital/index.en.md diff --git a/src/content/insights/0002-arrington-capital/index.es.md b/src/content/articles/0002-arrington-capital/index.es.md similarity index 100% rename from src/content/insights/0002-arrington-capital/index.es.md rename to src/content/articles/0002-arrington-capital/index.es.md diff --git a/src/content/insights/0002-arrington-capital/index.ko.md b/src/content/articles/0002-arrington-capital/index.ko.md similarity index 100% rename from src/content/insights/0002-arrington-capital/index.ko.md rename to src/content/articles/0002-arrington-capital/index.ko.md diff --git a/src/content/insights/0002-arrington-capital/index.ru.md b/src/content/articles/0002-arrington-capital/index.ru.md similarity index 100% rename from src/content/insights/0002-arrington-capital/index.ru.md rename to src/content/articles/0002-arrington-capital/index.ru.md diff --git a/src/content/insights/0002-arrington-capital/index.vi.md b/src/content/articles/0002-arrington-capital/index.vi.md similarity index 100% rename from src/content/insights/0002-arrington-capital/index.vi.md rename to src/content/articles/0002-arrington-capital/index.vi.md diff --git a/src/content/insights/0003-edenblock/index.cn.md b/src/content/articles/0003-edenblock/index.cn.md similarity index 100% rename from src/content/insights/0003-edenblock/index.cn.md rename to src/content/articles/0003-edenblock/index.cn.md diff --git a/src/content/insights/0003-edenblock/index.en.md b/src/content/articles/0003-edenblock/index.en.md similarity index 100% rename from src/content/insights/0003-edenblock/index.en.md rename to src/content/articles/0003-edenblock/index.en.md diff --git a/src/content/insights/0003-edenblock/index.es.md b/src/content/articles/0003-edenblock/index.es.md similarity index 100% rename from src/content/insights/0003-edenblock/index.es.md rename to src/content/articles/0003-edenblock/index.es.md diff --git a/src/content/insights/0003-edenblock/index.ko.md b/src/content/articles/0003-edenblock/index.ko.md similarity index 100% rename from src/content/insights/0003-edenblock/index.ko.md rename to src/content/articles/0003-edenblock/index.ko.md diff --git a/src/content/insights/0003-edenblock/index.ru.md b/src/content/articles/0003-edenblock/index.ru.md similarity index 100% rename from src/content/insights/0003-edenblock/index.ru.md rename to src/content/articles/0003-edenblock/index.ru.md diff --git a/src/content/insights/0003-edenblock/index.vi.md b/src/content/articles/0003-edenblock/index.vi.md similarity index 100% rename from src/content/insights/0003-edenblock/index.vi.md rename to src/content/articles/0003-edenblock/index.vi.md diff --git a/src/content/insights/0004-the-block/index.cn.md b/src/content/articles/0004-the-block/index.cn.md similarity index 100% rename from src/content/insights/0004-the-block/index.cn.md rename to src/content/articles/0004-the-block/index.cn.md diff --git a/src/content/insights/0004-the-block/index.en.md b/src/content/articles/0004-the-block/index.en.md similarity index 100% rename from src/content/insights/0004-the-block/index.en.md rename to src/content/articles/0004-the-block/index.en.md diff --git a/src/content/insights/0004-the-block/index.es.md b/src/content/articles/0004-the-block/index.es.md similarity index 100% rename from src/content/insights/0004-the-block/index.es.md rename to src/content/articles/0004-the-block/index.es.md diff --git a/src/content/insights/0004-the-block/index.ko.md b/src/content/articles/0004-the-block/index.ko.md similarity index 100% rename from src/content/insights/0004-the-block/index.ko.md rename to src/content/articles/0004-the-block/index.ko.md diff --git a/src/content/insights/0004-the-block/index.ru.md b/src/content/articles/0004-the-block/index.ru.md similarity index 100% rename from src/content/insights/0004-the-block/index.ru.md rename to src/content/articles/0004-the-block/index.ru.md diff --git a/src/content/insights/0004-the-block/index.vi.md b/src/content/articles/0004-the-block/index.vi.md similarity index 100% rename from src/content/insights/0004-the-block/index.vi.md rename to src/content/articles/0004-the-block/index.vi.md diff --git a/src/content/insights/0004-the-block/the-block.webp b/src/content/articles/0004-the-block/the-block.webp similarity index 100% rename from src/content/insights/0004-the-block/the-block.webp rename to src/content/articles/0004-the-block/the-block.webp diff --git a/src/content/insights/0005-coindesk/index.cn.md b/src/content/articles/0005-coindesk/index.cn.md similarity index 100% rename from src/content/insights/0005-coindesk/index.cn.md rename to src/content/articles/0005-coindesk/index.cn.md diff --git a/src/content/insights/0005-coindesk/index.en.md b/src/content/articles/0005-coindesk/index.en.md similarity index 100% rename from src/content/insights/0005-coindesk/index.en.md rename to src/content/articles/0005-coindesk/index.en.md diff --git a/src/content/insights/0005-coindesk/index.es.md b/src/content/articles/0005-coindesk/index.es.md similarity index 100% rename from src/content/insights/0005-coindesk/index.es.md rename to src/content/articles/0005-coindesk/index.es.md diff --git a/src/content/insights/0005-coindesk/index.ko.md b/src/content/articles/0005-coindesk/index.ko.md similarity index 100% rename from src/content/insights/0005-coindesk/index.ko.md rename to src/content/articles/0005-coindesk/index.ko.md diff --git a/src/content/insights/0005-coindesk/index.ru.md b/src/content/articles/0005-coindesk/index.ru.md similarity index 100% rename from src/content/insights/0005-coindesk/index.ru.md rename to src/content/articles/0005-coindesk/index.ru.md diff --git a/src/content/insights/0005-coindesk/index.vi.md b/src/content/articles/0005-coindesk/index.vi.md similarity index 100% rename from src/content/insights/0005-coindesk/index.vi.md rename to src/content/articles/0005-coindesk/index.vi.md diff --git a/src/hooks/statistics/use-staked-total.ts b/src/hooks/statistics/use-staked-total.ts new file mode 100644 index 000000000..b7dd376ff --- /dev/null +++ b/src/hooks/statistics/use-staked-total.ts @@ -0,0 +1,42 @@ +import { useState, useEffect } from 'react' +import BigNumber from 'bignumber.js' + +const useStakedTotal = () => { + const [stakedTotal, setStakedTotal] = useState(null) + const [loading, setLoading] = useState(false) + const [error, setError] = useState(null) + + useEffect(() => { + const fetchStakedTotal = async () => { + setLoading(true) + try { + let epochResponse = await fetch( + `${process.env.GATSBY_VEGA_REST_API}/api/v2/epoch` + ) + const epochs = await epochResponse.json() + + let stakedTotal = new BigNumber(0) + epochs.epoch.validators.forEach((validator) => { + let validatorTotal = new BigNumber(validator.stakedTotal) + stakedTotal = stakedTotal.plus(validatorTotal) + }) + + const stakedTotalVal = stakedTotal + .dividedBy(Math.pow(10, 18)) + .dp(2) + .toString() + + setStakedTotal(stakedTotalVal) + setLoading(false) + } catch (error) { + setError(error.message) + setLoading(false) + } + } + fetchStakedTotal() + }, []) + + return { stakedTotal, loading, error } +} + +export default useStakedTotal diff --git a/src/hooks/statistics/use-total-markets.ts b/src/hooks/statistics/use-total-markets.ts index 870211f1f..5a6e8657a 100644 --- a/src/hooks/statistics/use-total-markets.ts +++ b/src/hooks/statistics/use-total-markets.ts @@ -13,9 +13,11 @@ const useTotalMarkets = () => { `${process.env.GATSBY_VEGA_REST_API}/api/v2/markets` ) const markets = await epochResponse.json() - const totalMarkets = markets.markets.edges.filter((market) => { - return market.node.state === 'STATE_ACTIVE' + return ( + market.node.state === 'STATE_ACTIVE' || + market.node.state === 'STATE_SUSPENDED' + ) }).length setTotalMarkets(totalMarkets) diff --git a/src/pages/community/index.js b/src/pages/community/index.js index 034d2f820..cc437c82d 100644 --- a/src/pages/community/index.js +++ b/src/pages/community/index.js @@ -27,7 +27,7 @@ const CommunityPage = ({ data }) => { {missingTranslations && } @@ -40,7 +40,7 @@ const CommunityPage = ({ data }) => {
    - Earn rewards for contributing to the future of finance. + Learn, Test, Govern - where do you fit in the Vega Ecosystem? diff --git a/src/pages/governance/index.js b/src/pages/governance/index.js index d2f010072..561390346 100644 --- a/src/pages/governance/index.js +++ b/src/pages/governance/index.js @@ -1,5 +1,5 @@ import React, { useState } from 'react' -import { graphql } from 'gatsby' +import { graphql, Link } from 'gatsby' import { getImage } from 'gatsby-plugin-image' import Seo from '../../components/Seo' import Layout from '../../components/Layout' @@ -283,17 +283,21 @@ const GovernancePage = ({ data }) => {
    - Get a Vega Wallet + Stake VEGA

    - A Vega wallet is used to access and sign transactions and - connect to any dApp running on Vega. + Stake your VEGA tokens on the governance site to be eligible + to vote, note you will need to get a{' '} + wallet to do this

    - +
    diff --git a/src/pages/index.tsx b/src/pages/index.tsx index 1a482a2a7..fcae78b93 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -157,7 +157,6 @@ const IndexPage = ({ data }) => {
    -
    Backed by: @@ -173,53 +172,16 @@ const IndexPage = ({ data }) => {
    -
    -
    -
    -

    - Programmatic trading on Vega -

    -

    - - Vega's decentralised datanode architecture provides rich - CEX-like APIs and full historic price data for everyone. - -

    -
    -
    -
    - -
    -
    - -
    -
    - -
    -
    - -
    -
    -
    -
    - -
    -
    -
    +
    +
    - -
    - - - -
    - -
    - -

    +
    +

    Key features @@ -289,21 +251,54 @@ const IndexPage = ({ data }) => {

    - -
    +
    + + - - - - - - - + +
    + + + +
    + +
    +
    +
    +

    + Programmatic trading on Vega +

    +

    + + Vega's decentralised datanode architecture provides rich + CEX-like APIs and full historic price data for everyone. + +

    +
    +
    +
    + +
    +
    + +
    +
    + +
    +
    + +
    +
    +
    +
    + +
    +
    +
    +
    @@ -319,28 +314,36 @@ const IndexPage = ({ data }) => {
    - -
    -

    - - Where next? - -

    -
    +
    + +
    + +
    +

    + + Where next? + +

    -
    - +
    + + -
    - +
    @@ -417,10 +420,10 @@ export const query = graphql` } } } - insights: allMarkdownRemark( + articles: allMarkdownRemark( limit: 1 filter: { - collection: { eq: "insights" } + collection: { eq: "articles" } fields: { locale: { eq: $language } } } sort: { fields: [frontmatter___date], order: DESC } diff --git a/src/pages/rewards/index.js b/src/pages/rewards/index.js index bb5b44a66..ef7e0b599 100644 --- a/src/pages/rewards/index.js +++ b/src/pages/rewards/index.js @@ -148,7 +148,7 @@ const RewardsPage = ({ data }) => { { { - const { i18n, t } = useTranslation('page.insights') +const ArticlesPage = ({ data, pageContext }) => { + const { i18n, t } = useTranslation('page.articles') const [missingTranslations, setMissingTranslations] = useState(false) const { currentPage, numPages } = pageContext const isFirst = currentPage === 1 @@ -18,8 +18,8 @@ const InsightsPage = ({ data, pageContext }) => { const totalItems = data.allMarkdownRemark.totalCount const lastItem = isLast ? totalItems : firstItem + 9 const prevPage = - currentPage - 1 === 1 ? '/insights' : `/insights/${currentPage - 1}` - const nextPage = `/insights/${currentPage + 1}` + currentPage - 1 === 1 ? '/articles' : `/articles/${currentPage - 1}` + const nextPage = `/articles/${currentPage + 1}` i18n.on('missingKey', (lng) => { setMissingTranslations(true) @@ -82,15 +82,15 @@ const InsightsPage = ({ data, pageContext }) => { return ( {missingTranslations && }

    - Insights & talks. + Articles & talks.

    Articles about Vega and recordings of past talks, events and @@ -151,7 +151,7 @@ export const query = graphql` } allMarkdownRemark( filter: { - collection: { in: ["insights", "talks"] } + collection: { in: ["articles", "talks"] } fields: { locale: { eq: $language } } } sort: { fields: [frontmatter___date], order: DESC } @@ -187,4 +187,4 @@ export const query = graphql` } ` -export default InsightsPage +export default ArticlesPage diff --git a/src/utils/vega/Markets.ts b/src/utils/vega/Markets.ts index df0114787..5653be4bb 100644 --- a/src/utils/vega/Markets.ts +++ b/src/utils/vega/Markets.ts @@ -103,6 +103,19 @@ export const processMarketData = (marketData) => { sparkLineValues: sparkLineValues(candles), openTimestamp: openTimestamp, } + } else { + return { + name: marketName, + volume: 0, + formattedVolume: addDecimalsFormatNumber(0, positionDecimalPlaces), + lastPrice: addDecimalsFormatNumber( + markPrice.toString(), + decimalPlaces + ), + priceChange: priceChange24h.toFixed(2) + '%', + sparkLineValues: sparkLineValues(candles), + openTimestamp: openTimestamp, + } } } }) diff --git a/vercel.json b/vercel.json index 587899c75..2fda516d7 100644 --- a/vercel.json +++ b/vercel.json @@ -14,6 +14,10 @@ "source": "/about", "destination": "/key-concepts" }, + { + "source": "/insights", + "destination": "/articles" + }, { "source": "/background", "destination": "/papers"