Skip to content

Commit

Permalink
Refactor Portal (#376)
Browse files Browse the repository at this point in the history
* Clean up code

* Refactor portal

* Improve how-to-add-portal

* Html background

* Fix hero text on mobile

* Remove typewriter

* Logo use svg

* Flip on click

* Update spacing between portal logo and name

* Implement connect wallet

* Fix typo
  • Loading branch information
JayJay1024 authored Jun 7, 2023
1 parent 0c24da9 commit 02323b6
Show file tree
Hide file tree
Showing 423 changed files with 3,738 additions and 48,018 deletions.
13 changes: 0 additions & 13 deletions .editorconfig

This file was deleted.

13 changes: 0 additions & 13 deletions .eslintignore

This file was deleted.

16 changes: 16 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
// eslint-disable-next-line no-undef
module.exports = {
env: { browser: true, es2020: true },
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
'plugin:react-hooks/recommended',
'prettier',
],
parser: '@typescript-eslint/parser',
parserOptions: { ecmaVersion: 'latest', sourceType: 'module' },
plugins: ['react-refresh'],
rules: {
'react-refresh/only-export-components': 'warn',
},
}
182 changes: 0 additions & 182 deletions .eslintrc.js

This file was deleted.

6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

- uses: actions/setup-node@v2
with:
node-version: '14'
node-version: '16'

- name: Get yarn cache directory path
id: yarn-cache-dir-path
Expand All @@ -35,8 +35,8 @@ jobs:
- name: Lint script
run: yarn lint

- name: Lint style
run: yarn stylelint
# - name: Lint style
# run: yarn stylelint

- name: Test build
run: yarn build
4 changes: 2 additions & 2 deletions .github/workflows/deploy-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ jobs:
run: yarn install

- name: Build
run: yarn build:dev
run: yarn build

- name: Prepare Project Config
run: |
mv dist build
mv vercel.json build/
mv faucet/* build/
- uses: ./.github/actions/smart-vercel
name: Deploy to Vercel
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-prd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ jobs:

- name: Prepare Project Config
run: |
mv dist build
mv vercel.json build/
mv faucet/* build/
- uses: ./.github/actions/smart-vercel
name: Deploy to Vercel
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-stg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ jobs:

- name: Prepare Project Config
run: |
mv dist build
mv vercel.json build/
mv faucet/* build/
- uses: ./.github/actions/smart-vercel
name: Deploy to Vercel
Expand Down
42 changes: 19 additions & 23 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,28 +1,24 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js

# testing
/coverage
/plugins/theme.css

# production
/build

# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

.vscode
.eslintcache
node_modules
dist
dist-ssr
*.local

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
1 change: 0 additions & 1 deletion .husky/.gitignore

This file was deleted.

4 changes: 0 additions & 4 deletions .husky/commit-msg

This file was deleted.

4 changes: 4 additions & 0 deletions .lintstagedrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"./src/**/*.{ts,tsx}": ["eslint --fix", "prettier --write"],
"./src/**/*.css": ["prettier --write"]
}
4 changes: 0 additions & 4 deletions .prettierignore

This file was deleted.

9 changes: 0 additions & 9 deletions .prettierrc

This file was deleted.

4 changes: 4 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"printWidth": 120,
"plugins": ["prettier-plugin-tailwindcss"]
}
30 changes: 0 additions & 30 deletions CHANGELOG.md

This file was deleted.

Loading

0 comments on commit 02323b6

Please sign in to comment.