Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed manual link redirects to the correct connect wallet docs #3653

Merged
merged 2 commits into from
Nov 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
"mosha-vue-toastify": "^1.0.23",
"pinia": "^2.0.32",
"qrcode": "^1.5.1",
"url-join": "^5.0.0",
"validator": "^13.9.0",
"vue": "^3.2.47",
"vue-chartjs": "^5.2.0",
Expand Down
32 changes: 17 additions & 15 deletions packages/playground/src/utils/manual.ts
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
const BASE = window.env.MANUAL_URL;
import urlJoin from "url-join";

const BASE = window.env.MANUAL_URL;
export const manual = {
dedicated_machines: `${BASE}/documentation/dashboard/deploy/node_finder.html#dedicated-nodes`,
tft_bridges: `${BASE}/documentation/threefold_token/tft_bridges/tft_bridges.html`,
buy_sell_tft: `${BASE}/documentation/threefold_token/buy_sell_tft/buy_sell_tft.html`,
farmers: `${BASE}/documentation/farmers/farmers.html`,
governance: `${BASE}/documentation/dashboard/tfchain/tf_dao.html`,
pricing: `${BASE}/knowledge_base/cloud/pricing/pricing.html`,
dao: `${BASE}/documentation/dashboard/tfchain/tf_dao.html`,
caprover: `${BASE}/documentation/dashboard/solutions/caprover.html`,
tf_connect_app: `${BASE}/documentation/threefold_token/storing_tft/tf_connect_app.html`,
contract_locking: `${BASE}/documentation/developers/tfchain/tfchain.html#contract-locking`,
billing_pricing: `${BASE}/documentation/dashboard/deploy/node_finder.html#billing--pricing`,
discount_levels: `${BASE}/knowledge_base/cloud/pricing/pricing.html#staking-discount`,
tfchain_stellar_bridge: `${BASE}/documentation/threefold_token/tft_bridges/tfchain_stellar_bridge.html`,
minting_receipts: `${BASE}/documentation/farmers/3node_building/minting_receipts.html`,
dedicated_machines: urlJoin(BASE, "/documentation/dashboard/deploy/node_finder.html#dedicated-nodes"),
tft_bridges: urlJoin(BASE, "/documentation/threefold_token/tft_bridges/tft_bridges.html"),
buy_sell_tft: urlJoin(BASE, "/documentation/threefold_token/buy_sell_tft/buy_sell_tft.html"),
farmers: urlJoin(BASE, "/documentation/farmers/farmers.html"),
governance: urlJoin(BASE, "/documentation/dashboard/tfchain/tf_dao.html"),
pricing: urlJoin(BASE, "/knowledge_base/cloud/pricing/pricing.html"),
dao: urlJoin(BASE, "/documentation/dashboard/tfchain/tf_dao.html"),
caprover: urlJoin(BASE, "/documentation/dashboard/solutions/caprover.html"),
tf_connect_app: urlJoin(BASE, "/documentation/threefold_token/storing_tft/tf_connect_app.html"),
tf_connect_wallet: urlJoin(BASE, "/documentation/dashboard/wallet_connector.html"),
contract_locking: urlJoin(BASE, "/documentation/developers/tfchain/tfchain.html#contract-locking"),
billing_pricing: urlJoin(BASE, "/documentation/dashboard/deploy/node_finder.html#billing--pricing"),
discount_levels: urlJoin(BASE, "/knowledge_base/cloud/pricing/pricing.html#staking-discount"),
tfchain_stellar_bridge: urlJoin(BASE, "/documentation/threefold_token/tft_bridges/tfchain_stellar_bridge.html"),
minting_receipts: urlJoin(BASE, "/documentation/farmers/3node_building/minting_receipts.html"),
};
2 changes: 1 addition & 1 deletion packages/playground/src/weblets/profile_manager.vue
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
<v-alert variant="tonal" class="mb-6">
<p :style="{ maxWidth: '880px' }">
Please visit
<a class="app-link" :href="manual.tf_connect_app" target="_blank"> the manual </a>
<a class="app-link" :href="manual.tf_connect_wallet" target="_blank"> the manual </a>
get started.
</p>
</v-alert>
Expand Down
Loading