From 4281acfaad04322b63fc206acdc289c363b77a5f Mon Sep 17 00:00:00 2001 From: xuhui Date: Wed, 30 Oct 2024 20:31:20 +0800 Subject: [PATCH] update icp footer in portal --- .../workflows/deploy-1000h-portal-aliyun.yml | 6 ++-- 1000h-portal/components/layout/PageFooter.vue | 9 ++---- .../components/layout/PageFooterCN.vue | 31 +++++++++++++++++++ 3 files changed, 36 insertions(+), 10 deletions(-) create mode 100644 1000h-portal/components/layout/PageFooterCN.vue diff --git a/.github/workflows/deploy-1000h-portal-aliyun.yml b/.github/workflows/deploy-1000h-portal-aliyun.yml index 8210c38f..9fef0c0b 100644 --- a/.github/workflows/deploy-1000h-portal-aliyun.yml +++ b/.github/workflows/deploy-1000h-portal-aliyun.yml @@ -38,10 +38,10 @@ jobs: - name: Install dependencies run: yarn install + - name: Replace CN Footer + run: cp 1000h-portal/components/layout/PageFooterCN.vue 1000h-portal/components/layout/PageFooter.vue + - name: Build - env: - ICP_COMPANY: 北京般渡教育科技有限公司 - ICP_CODE: 京ICP备2022015741号-3 run: yarn portal:generate - uses: manyuanrong/setup-ossutil@v2.0 diff --git a/1000h-portal/components/layout/PageFooter.vue b/1000h-portal/components/layout/PageFooter.vue index fee1bf17..38528783 100644 --- a/1000h-portal/components/layout/PageFooter.vue +++ b/1000h-portal/components/layout/PageFooter.vue @@ -1,7 +1,7 @@ @@ -15,11 +15,6 @@ export default { const year = computed(() => { return new Date().getFullYear(); }); - -const icpCompany = process.env.ICP_COMPANY -const icpCode = process.env.ICP_CODE - -