Skip to content

Commit

Permalink
Merge branch 'main' into nadiem/feat-expand-leaderboard
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminpreiss committed Jun 25, 2024
2 parents 892bc52 + 320a956 commit 45bdb85
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 11 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/devnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ jobs:
(curl -Ls --tlsv1.2 --proto "=https" --retry 3 https://cli.doppler.com/install.sh || wget -t 3 -qO- https://cli.doppler.com/install.sh) | sudo sh
- name: Set up Doppler
run: doppler configure set token ${{ secrets.DOPPLER_TOKEN }}
run: doppler configure set token ${{ secrets.DEVNET_DOPPLER_TOKEN }}

- name: Fetch secrets from Doppler and boot
run: doppler run -- npm run boot
env:
DOPPLER_TOKEN: ${{ secrets.DOPPLER_TOKEN }}
DOPPLER_TOKEN: ${{ secrets.DEVNET_DOPPLER_TOKEN }}

- name: Clean up build output
working-directory: ./apps/info-dashboard/.next
Expand All @@ -41,8 +41,8 @@ jobs:
- name: Deploy to Cloudflare Pages
env:
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
CLOUDFLARE_PROJECT_NAME: ${{ secrets.CLOUDFLARE_PROJECT_NAME }}
CLOUDFLARE_API_TOKEN: ${{ secrets.DEVNET_CLOUDFLARE_API_TOKEN }}
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.DEVNET_CLOUDFLARE_ACCOUNT_ID }}
CLOUDFLARE_PROJECT_NAME: ${{ secrets.DEVNET_CLOUDFLARE_PROJECT_NAME }}
run: |
npx wrangler pages deploy ./apps/info-dashboard/out --project-name=$CLOUDFLARE_PROJECT_NAME --branch=main
10 changes: 5 additions & 5 deletions .github/workflows/testnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ jobs:
(curl -Ls --tlsv1.2 --proto "=https" --retry 3 https://cli.doppler.com/install.sh || wget -t 3 -qO- https://cli.doppler.com/install.sh) | sudo sh
- name: Set up Doppler
run: doppler configure set token ${{ secrets.DOPPLER_TOKEN }}
run: doppler configure set token ${{ secrets.TESTNET_DOPPLER_TOKEN }}

- name: Fetch secrets from Doppler and boot
run: doppler run -- npm run boot
env:
DOPPLER_TOKEN: ${{ secrets.DOPPLER_TOKEN }}
DOPPLER_TOKEN: ${{ secrets.TESTNET_DOPPLER_TOKEN }}

- name: Clean up build output
working-directory: ./apps/info-dashboard/.next
Expand All @@ -41,8 +41,8 @@ jobs:
- name: Deploy to Cloudflare Pages
env:
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
CLOUDFLARE_PROJECT_NAME: ${{ secrets.CLOUDFLARE_PROJECT_NAME }}
CLOUDFLARE_API_TOKEN: ${{ secrets.TESTNET_CLOUDFLARE_API_TOKEN }}
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.TESTNET_CLOUDFLARE_ACCOUNT_ID }}
CLOUDFLARE_PROJECT_NAME: ${{ secrets.TESTNET_CLOUDFLARE_PROJECT_NAME }}
run: |
npx wrangler pages deploy ./apps/info-dashboard/out --project-name=$CLOUDFLARE_PROJECT_NAME --branch=main
7 changes: 6 additions & 1 deletion apps/info-dashboard/messages/en.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://inlang.com/schema/inlang-message-format",
"leaderboard_heading_title": "Lilypad Leaderboard",
"leaderboard_heading_subtitle": "Compete and Compare: Showcase Your Node's Performance",
"leaderboard_heading_subtitle": "Compete and Compare: Showcase Your Node's Performance. ",
"leaderboard_node_provider_table_cardHeader_headerTitle": "Node Provider Leaderboard",
"leaderboard_node_provider_table_cardHeader_subtitle": "Enter your wallet address to see where you rank among the top Node providers.",
"leaderboard_node_provider_table_inputField_placeholder": "Enter wallet address",
Expand All @@ -12,6 +12,11 @@
"leaderboard_node_provider_table_errorState_errorHint": "Something went wrong - try reloading the page!",
"leaderboard_node_provider_table_emptyState_emptyHint": "You can either come back later, reload the page or clear your searchbar.",
"leaderboard_node_provider_table_emptyState_emptyText": "No entries found",
"leaderboard_node_provider_table_first_status": "Lily Titan",
"leaderboard_node_provider_table_second_status": "Lily Legend",
"leaderboard_node_provider_table_third_status": "Lily Wizard",
"leaderboard_node_provider_table_last_status": "Lily Machine",

"metrics_heading_title": "Metrics Dashboard",
"metrics_heading_subtitle": "Decentralized Computing: Performance Insights.",
"metrics_card_1_title": "Total jobs completed",
Expand Down

0 comments on commit 45bdb85

Please sign in to comment.