From cb41232c4226ae8fdb98759706e64af6be52d845 Mon Sep 17 00:00:00 2001 From: Ryan Goree Date: Fri, 19 Jan 2024 17:38:59 -0600 Subject: [PATCH] Edit elfiverse URLs (#459) * Edit URLs * Remove unused element app url * Bump to node 16 * Edit links * Update gov url * Bump workflow node versions, disable cron jobs --- .github/workflows/lint.yml | 2 +- .github/workflows/nightly-merge.yml | 5 +++-- .github/workflows/prettier.yml | 2 +- .github/workflows/update-core-v2-typechain.yml | 7 ++++--- .github/workflows/update-delegates.yml | 7 ++++--- .nvmrc | 2 +- apps/nft-interface/components/HeroSection/index.tsx | 10 ---------- apps/nft-interface/components/HeroSection/styles.ts | 3 +-- apps/nft-interface/components/Layout/Footer/index.tsx | 8 +++++--- apps/nft-interface/src/urls.ts | 9 ++++----- package.json | 3 +-- 11 files changed, 25 insertions(+), 33 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 36ffcabe..e205e6e7 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -10,7 +10,7 @@ jobs: - uses: actions/checkout@v1 - uses: actions/setup-node@v1 with: - node-version: "14.x" + node-version: "16.x" - run: yarn - run: yarn workspaces run lint - run: yarn run stylelint:check diff --git a/.github/workflows/nightly-merge.yml b/.github/workflows/nightly-merge.yml index 059a0960..22fed1eb 100644 --- a/.github/workflows/nightly-merge.yml +++ b/.github/workflows/nightly-merge.yml @@ -1,8 +1,9 @@ name: 'Nightly Merge' on: - schedule: - - cron: '*/5 * * * *' + workflow_dispatch: + # schedule: + # - cron: '*/5 * * * *' jobs: nightly-merge: diff --git a/.github/workflows/prettier.yml b/.github/workflows/prettier.yml index a05d5edb..133069b4 100644 --- a/.github/workflows/prettier.yml +++ b/.github/workflows/prettier.yml @@ -10,6 +10,6 @@ jobs: - uses: actions/checkout@v1 - uses: actions/setup-node@v1 with: - node-version: "14.x" + node-version: "16.x" - run: yarn - run: yarn workspaces run prettier:check diff --git a/.github/workflows/update-core-v2-typechain.yml b/.github/workflows/update-core-v2-typechain.yml index 4c6c8159..9896aad3 100644 --- a/.github/workflows/update-core-v2-typechain.yml +++ b/.github/workflows/update-core-v2-typechain.yml @@ -1,10 +1,11 @@ name: update-core-v2-typechain on: + workflow_dispatch: # Triggers the workflow every day at 6pm ET (22 UTC) # https://crontab.guru/#0_22_*_*_* - schedule: - - cron: "0 22 * * *" + # schedule: + # - cron: "0 22 * * *" jobs: update_routes: @@ -14,7 +15,7 @@ jobs: - uses: actions/setup-node@v3 with: persist-credentials: false - node-version: "14" + node-version: "16" cache: yarn - run: npm install -g yarn - run: yarn install --frozen-lockfile diff --git a/.github/workflows/update-delegates.yml b/.github/workflows/update-delegates.yml index 5f925d76..abadce1d 100644 --- a/.github/workflows/update-delegates.yml +++ b/.github/workflows/update-delegates.yml @@ -1,10 +1,11 @@ name: Update delegates.json on: + workflow_dispatch: # Triggers the workflow every 2 weeks (the 1 and 15 of the month @ 1am) # https://crontab.guru/#0_1_1,15_*_* - schedule: - - cron: "0 1 1,15 * *" + # schedule: + # - cron: "0 1 1,15 * *" jobs: update_routes: @@ -14,7 +15,7 @@ jobs: - uses: actions/setup-node@v3 with: persist-credentials: false - node-version: "14" + node-version: "16" cache: yarn - run: npm install -g yarn - run: yarn install --frozen-lockfile diff --git a/.nvmrc b/.nvmrc index 58656b78..6f7f377b 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -v14.19.1 +v16 diff --git a/apps/nft-interface/components/HeroSection/index.tsx b/apps/nft-interface/components/HeroSection/index.tsx index 71fb1946..1655cd44 100644 --- a/apps/nft-interface/components/HeroSection/index.tsx +++ b/apps/nft-interface/components/HeroSection/index.tsx @@ -12,7 +12,6 @@ import Link from "next/link"; import { ReactElement } from "react"; import { Fade } from "react-awesome-reveal"; import { isFeatureEnabled } from "src/features"; -import { COUNCIL_URL } from "src/urls"; export const HeroSection = (): ReactElement => { return ( @@ -35,15 +34,6 @@ export const HeroSection = (): ReactElement => { Start minting - - - The Council - - )} diff --git a/apps/nft-interface/components/HeroSection/styles.ts b/apps/nft-interface/components/HeroSection/styles.ts index e590ac75..7c3f969a 100644 --- a/apps/nft-interface/components/HeroSection/styles.ts +++ b/apps/nft-interface/components/HeroSection/styles.ts @@ -53,8 +53,7 @@ export const HeroSectionContainer = styled.section` `; export const ButtonWrapper = styled.div` - display: grid; - grid-template-columns: 1fr 1fr; + display: flex; align-items: center; max-width: max-content; margin: 0 auto; diff --git a/apps/nft-interface/components/Layout/Footer/index.tsx b/apps/nft-interface/components/Layout/Footer/index.tsx index 29e7e453..071baa2a 100644 --- a/apps/nft-interface/components/Layout/Footer/index.tsx +++ b/apps/nft-interface/components/Layout/Footer/index.tsx @@ -11,7 +11,7 @@ import Logo from "public/assets/svg/logo.svg"; import { ReactElement } from "react"; import { Fade } from "react-awesome-reveal"; import { - COUNCIL_DELEGATE_URL, + ELEMENT_GOV_URL, COUNCIL_DOC_URL, COUNCIL_URL, DISCORD_URL, @@ -54,9 +54,11 @@ export const Footer = (): ReactElement => {

Governance

- Council - Delegate + + Element Governance + Documentation + Council Framework

Social

diff --git a/apps/nft-interface/src/urls.ts b/apps/nft-interface/src/urls.ts index 02b75e25..7b377e79 100644 --- a/apps/nft-interface/src/urls.ts +++ b/apps/nft-interface/src/urls.ts @@ -1,10 +1,9 @@ import { BigNumber } from "ethers"; -export const DISCORD_URL = "https://discord.gg/EEfKmfQdtx"; -export const TWITTER_URL = "https://twitter.com/element_fi"; -export const ELEMENT_FI_URL = "https://element.fi/"; -export const COUNCIL_URL = "https://gov.element.fi/landing"; -export const COUNCIL_DELEGATE_URL = "https://gov.element.fi/delegate"; +export const DISCORD_URL = "https://discord.gg/pvnUHuAsQ2"; +export const TWITTER_URL = "https://twitter.com/Element_DAO"; +export const COUNCIL_URL = "https://council.delv.tech/"; +export const ELEMENT_GOV_URL = "https://gov.element.fi/"; export const COUNCIL_DOC_URL = "https://docs.element.fi/governance-council/council-protocol-overview"; export const ADDRESS_SCREEN_URL = diff --git a/package.json b/package.json index 1d102671..7252e7f2 100644 --- a/package.json +++ b/package.json @@ -2,8 +2,7 @@ "name": "frontend-monorepo", "private": true, "engines": { - "yarn": "^1", - "node": "^14" + "node": "^16" }, "scripts": { "prepare": "husky install",