Skip to content

Commit

Permalink
Edit elfiverse URLs (#459)
Browse files Browse the repository at this point in the history
* Edit URLs

* Remove unused element app url

* Bump to node 16

* Edit links

* Update gov url

* Bump workflow node versions, disable cron jobs
  • Loading branch information
ryangoree authored Jan 19, 2024
1 parent c7bccff commit cb41232
Show file tree
Hide file tree
Showing 11 changed files with 25 additions and 33 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
5 changes: 3 additions & 2 deletions .github/workflows/nightly-merge.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
name: 'Nightly Merge'

on:
schedule:
- cron: '*/5 * * * *'
workflow_dispatch:
# schedule:
# - cron: '*/5 * * * *'

jobs:
nightly-merge:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/prettier.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
7 changes: 4 additions & 3 deletions .github/workflows/update-core-v2-typechain.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -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
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/update-delegates.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v14.19.1
v16
10 changes: 0 additions & 10 deletions apps/nft-interface/components/HeroSection/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand All @@ -35,15 +34,6 @@ export const HeroSection = (): ReactElement => {
<Link passHref href="/mint">
<PrimaryButton as="a">Start minting</PrimaryButton>
</Link>
<a
target="_blank"
href={COUNCIL_URL}
rel="noopener noreferrer"
>
<PrimaryButton hasBorder as="a">
The Council
</PrimaryButton>
</a>
</ButtonWrapper>
)}
</ContentCenter>
Expand Down
3 changes: 1 addition & 2 deletions apps/nft-interface/components/HeroSection/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
8 changes: 5 additions & 3 deletions apps/nft-interface/components/Layout/Footer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -54,9 +54,11 @@ export const Footer = (): ReactElement => {
</div>
<div>
<h4>Governance</h4>
<ExternalLink href={COUNCIL_URL}>Council</ExternalLink>
<ExternalLink href={COUNCIL_DELEGATE_URL}>Delegate</ExternalLink>
<ExternalLink href={ELEMENT_GOV_URL}>
Element Governance
</ExternalLink>
<ExternalLink href={COUNCIL_DOC_URL}>Documentation</ExternalLink>
<ExternalLink href={COUNCIL_URL}>Council Framework</ExternalLink>
</div>
<div>
<h4>Social</h4>
Expand Down
9 changes: 4 additions & 5 deletions apps/nft-interface/src/urls.ts
Original file line number Diff line number Diff line change
@@ -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 =
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
"name": "frontend-monorepo",
"private": true,
"engines": {
"yarn": "^1",
"node": "^14"
"node": "^16"
},
"scripts": {
"prepare": "husky install",
Expand Down

2 comments on commit cb41232

@vercel
Copy link

@vercel vercel bot commented on cb41232 Jan 19, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

nft-ui-staging – ./

nft-ui-staging-git-main-delvtech.vercel.app
nft-ui-staging-delvtech.vercel.app
nft-ui-staging.vercel.app

@vercel
Copy link

@vercel vercel bot commented on cb41232 Jan 19, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.