From 1852e5701b2f73ef19f222bd85d73c1ce02e7796 Mon Sep 17 00:00:00 2001
From: m4gicpotato <131204909+m4gicpotato@users.noreply.github.com>
Date: Mon, 4 Dec 2023 15:30:34 +0000
Subject: [PATCH 1/4] feat: Add DEX link in header
---
components/header-component.vue | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/components/header-component.vue b/components/header-component.vue
index c4383ce3..8e462389 100644
--- a/components/header-component.vue
+++ b/components/header-component.vue
@@ -32,6 +32,15 @@ const localePath = useLocalePath();
>{{ $t("header.nav.downloads") }}
+
+ DEX
+
Date: Mon, 4 Dec 2023 15:36:40 +0000
Subject: [PATCH 2/4] add beam dex in mobile menus
---
components/header/resources-dropdown.vue | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/components/header/resources-dropdown.vue b/components/header/resources-dropdown.vue
index fa237365..f083d507 100644
--- a/components/header/resources-dropdown.vue
+++ b/components/header/resources-dropdown.vue
@@ -37,6 +37,11 @@ const menus = computed(() => [
href: localePath("downloads"),
class: "block md:hidden",
},
+ {
+ text: "Beam DEX",
+ href: "https://dex.beam.mw",
+ class: "block md:hidden",
+ },
{
text: t("head.title.documentation"),
href: localePath("docs"),
From 390ea79d9428c853bbdc6b78af418d6f8ad88673 Mon Sep 17 00:00:00 2001
From: m4gicpotato <131204909+m4gicpotato@users.noreply.github.com>
Date: Mon, 4 Dec 2023 15:39:31 +0000
Subject: [PATCH 3/4] move dex link to config
---
app.config.ts | 1 +
components/header-component.vue | 4 +++-
components/header/resources-dropdown.vue | 2 +-
3 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/app.config.ts b/app.config.ts
index b6bdcaa2..ae0158ab 100644
--- a/app.config.ts
+++ b/app.config.ts
@@ -37,6 +37,7 @@ export enum ExternalLinks {
// Other links
DOCS_SOURCES = "https://github.com/BeamMW/docs-gitbook",
+ DEX = "https://dex.beam.mw",
EXPLORER = "https://explorer.beam.mw",
MINING_SUPPORT = "https://t.me/BeamMiners",
MINING_CALCULATOR = "https://whattomine.com/coins?aq_3070=3&a_3070=true&aq_69xt=0&aq_68xt=0&aq_68=0&aq_67xt=0&aq_66xt=0&aq_vii=0&aq_5700xt=0&aq_5700=0&aq_5600xt=0&aq_vega64=0&aq_vega56=0&aq_4090=0&aq_4080=0&aq_47Ti=0&aq_39Ti=0&aq_3090=0&aq_38Ti=0&aq_3080=0&aq_37Ti=0&aq_3060Ti=0&aq_3060=0&aq_66=0&aq_55xt8=0&aq_580=0&aq_570=0&aq_480=0&aq_470=0&aq_fury=0&aq_380=0&aq_a5=0&aq_a45=0&aq_a4=0&aq_a2=0&aq_2080Ti=0&aq_2080=0&aq_2070=0&aq_2060=0&aq_166s=0&aq_1660Ti=0&aq_1660=0&aq_1080Ti=0&aq_1080=0&aq_1070Ti=0&aq_1070=0&aq_10606=0&aq_1050Ti=0&factor[eth_hr]=180.0&factor[eth_p]=390.0&factor[e4g_hr]=180.0&factor[e4g_p]=390.0&factor[zh_hr]=300.0&factor[zh_p]=540.0&factor[cnh_hr]=5250.0&factor[cnh_p]=540.0&factor[cng_hr]=8700.0&factor[cng_p]=540.0&factor[s5r_hr]=2.22&factor[s5r_p]=300.0&factor[cx_hr]=10.8&factor[cx_p]=510.0&factor[eqa_hr]=1170.0&factor[eqa_p]=540.0&factor[cc_hr]=30.6&factor[cc_p]=540.0&factor[cr29_hr]=30.9&factor[cr29_p]=540.0&factor[hh_hr]=1530.0&factor[hh_p]=240.0&factor[ct32_hr]=2.1&factor[ct32_p]=540.0&eqb=true&factor[eqb_hr]=102.0&factor[eqb_p]=540.0&factor[b3_hr]=3.6&factor[b3_p]=330.0&factor[ns_hr]=0.0&factor[ns_p]=0.0&factor[al_hr]=480.0&factor[al_p]=390.0&factor[ops_hr]=158.1&factor[ops_p]=540.0&factor[eqz_hr]=165.0&factor[eqz_p]=540.0&factor[zlh_hr]=204.0&factor[zlh_p]=450.0&factor[kpw_hr]=82.8&factor[kpw_p]=540.0&factor[ppw_hr]=82.2&factor[ppw_p]=540.0&factor[nx_hr]=219.0&factor[nx_p]=390.0&factor[fpw_hr]=75.0&factor[fpw_p]=450.0&factor[vh_hr]=3.57&factor[vh_p]=420.0&factor[cost]=0.1&factor[cost_currency]=USD&sort=Profitability24&volume=0&revenue=24h&factor[exchanges][]=&factor[exchanges][]=binance&factor[exchanges][]=bitfinex&factor[exchanges][]=bitforex&factor[exchanges][]=bittrex&factor[exchanges][]=coinex&factor[exchanges][]=exmo&factor[exchanges][]=gate&factor[exchanges][]=graviex&factor[exchanges][]=hitbtc&factor[exchanges][]=ogre&factor[exchanges][]=poloniex&factor[exchanges][]=stex&dataset=beam&commit=Calculate",
diff --git a/components/header-component.vue b/components/header-component.vue
index 8e462389..029f80bb 100644
--- a/components/header-component.vue
+++ b/components/header-component.vue
@@ -1,4 +1,6 @@
@@ -35,7 +37,7 @@ const localePath = useLocalePath();
DEX [
},
{
text: "Beam DEX",
- href: "https://dex.beam.mw",
+ href: ExternalLinks.DEX,
class: "block md:hidden",
},
{
From 0b4bfb95fe93626798e96a8531723cb5deb0c886 Mon Sep 17 00:00:00 2001
From: m4gicpotato <131204909+m4gicpotato@users.noreply.github.com>
Date: Mon, 4 Dec 2023 15:43:56 +0000
Subject: [PATCH 4/4] Update deploy_cf.yml
add corepack enable
---
.github/workflows/deploy_cf.yml | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/.github/workflows/deploy_cf.yml b/.github/workflows/deploy_cf.yml
index f6e248c4..262dd508 100644
--- a/.github/workflows/deploy_cf.yml
+++ b/.github/workflows/deploy_cf.yml
@@ -32,6 +32,10 @@ jobs:
shell: bash
run: git submodule sync && git submodule update --remote --force
+ - name: Enable Corepack
+ shell: bash
+ run: corepack enable
+
- name: Install packages
run: yarn install