-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: updates for new cove api (#7)
* chore: remove unneeded page and update metadata * chore: remove header links * chore: cleanup and update stuff and scaffold new verify form * feat(wip): updated verify form * Add ability to add and remove chains * style: colors * Migrate to react-hook-form (#9) * Migrate to react-hook-form * Use heroicons * Update form message css * Remove turnary * Change types in TxFormValues * Remove getValues * Remove console.log * Remove asterisks * Move required string to a constant * Check commit is valid hex * Change address validation msg * Update validation * Add hex check * Fix build * Change chainId to a string * build: switch to pnpm * style: add favicon * style: improvements and tweaks * fix: key error, slower validation * ci: fix ci * fix: validations * build: update dependencies * wip: integrate api * feat: verification works * feat: show verification response * trigger Build * fix: default form data uses goerli * fix: chain names map * style: scroll to success data * chore: remove unused file and unnecessary console.log * style: add info to home page, move form to /verify page * chore: copy tweaks * style: add 'alpha' text to logo * chore: add alpha copy to verify page * chore: add ENS donation address * fix: optimism and gnosis chains * style: better multifile sort order * chore: tweak button copy * fix: small fixes --------- Co-authored-by: Keating <[email protected]>
- Loading branch information
1 parent
637b859
commit c56c083
Showing
40 changed files
with
4,617 additions
and
5,787 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# If testing against a local version of the API, you can override this. | ||
NEXT_PUBLIC_COVE_API_URL=https://api.covecontracts.com |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,43 +5,48 @@ on: | |
pull_request: | ||
push: | ||
branches: | ||
- 'main' | ||
- main | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v3 | ||
- uses: pnpm/action-setup@v2 | ||
with: | ||
version: latest | ||
|
||
- name: Use Node.js 18.x | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18.12.1 | ||
cache: 'yarn' | ||
node-version: 18.x | ||
cache: 'pnpm' | ||
|
||
- run: yarn install | ||
- run: yarn build | ||
- name: Install dependencies | ||
run: pnpm install | ||
|
||
# This runs `next lint` before building. | ||
- name: Build | ||
run: pnpm build | ||
|
||
fmt: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v3 | ||
- uses: pnpm/action-setup@v2 | ||
with: | ||
node-version: 18.12.1 | ||
cache: 'yarn' | ||
- name: Install Yarn | ||
run: corepack enable | | ||
corepack prepare [email protected] --activate | ||
- run: yarn install | ||
- run: yarn fmt:check | ||
|
||
lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v3 | ||
version: latest | ||
|
||
- name: Use Node.js 18.x | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18.12.1 | ||
cache: 'yarn' | ||
node-version: 18.x | ||
cache: 'pnpm' | ||
|
||
- name: Install dependencies | ||
run: pnpm install | ||
|
||
- run: yarn install | ||
- run: yarn lint | ||
- name: Check formatting | ||
run: pnpm fmt:check |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,8 +33,8 @@ yarn-error.log* | |
.pnpm-debug.log* | ||
|
||
# local env files | ||
|
||
.env\*.local | ||
.env | ||
.env.local | ||
|
||
# vercel | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
.next | ||
.pnp.cjs | ||
.pnp.loader.mjs | ||
.pnp.loader.mjs | ||
pnpm-lock.yaml | ||
public/prism-dark.css | ||
public/prism-light.css |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
module.exports = { | ||
images: { | ||
remotePatterns: [ | ||
{ | ||
protocol: 'https', | ||
hostname: 'icons.llamao.fi', | ||
}, | ||
], | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.