Skip to content

Commit

Permalink
Release V1 (#41)
Browse files Browse the repository at this point in the history
* Home Page, Empty Tx Pages, all arch setup

* update readme

* Logos

* Tabs

* Formatting

* Fees, Interaction and Volume cards from ZkFlow

* Explorer Polymorphised Services

* Main Page update with new stuffé

* Testing new stuff

* Generic Explorer Interface

* readme

* Hotfix: Readme hiccup

* Add DEX Screener Token Prices fetcher

* Balance but it's buggy

* Fully functional balance

* Non working Docker stuff

* Remove all warnings

* Containers

* add docker section to readme

* Design Tweaks for centering cards

* temp: network host

* added CI/CD with codecov

* Revert "temp: network host"

This reverts commit f720d46.

* better layout

* Fix activities on all chains

* Move donation card, add powered by... msg

* Add Criteria Card

* Adjust Card Size

* loading + countdown

* Fixes: better api for zks

* Update names

* Logos, Metadata and Date fixes

* wip: date shit

* Ft: redesign tabs, add qr code/clipboard, fix volume change

* tweak sizes

* Wip: volume toggle bridge only

* Feature: all bridges done, wip mantle

* Fully functional bridges

* Install Vite

* Create CI

* add wflows

* Add PR rule

* Fix lints and warns

* Fix builds

* Fix warning

* remove unused lint ignores

* remove useless prints

* remove base path

* Reduce loading time

* fixup badges

* add vercel analytics

* add vercel badge

* cleanup layout

* update readme

* Use blockscout linea api

* Update License

* comment coverage

* Update pages deployment

* Countdown from 20s to be sure

---------

Co-authored-by: SomaGallai <soma.gallai@cm-robotics.com>
  • Loading branch information
guilyx and SomaGallai committed Sep 8, 2023
1 parent f6ce733 commit 36c615d
Show file tree
Hide file tree
Showing 65 changed files with 12,529 additions and 23 deletions.
14 changes: 14 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
module.exports = {
env: { browser: true, es2020: true },
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
'plugin:react-hooks/recommended',
],
parser: '@typescript-eslint/parser',
parserOptions: { ecmaVersion: 'latest', sourceType: 'module' },
plugins: ['react-refresh'],
rules: {
'react-refresh/only-export-components': 'warn',
},
}
32 changes: 32 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: build

on:
push:
branches:
- dev
pull_request:
branches:
- dev

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: 18

- name: Install dependencies
run: npm ci

- name: Run linting
run: npm run lint

- name: Build app
run: npm run build

61 changes: 61 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
# Simple workflow for deploying static content to GitHub Pages
name: deploy

on:
# Runs on pushes targeting the default branch
push:
branches: [ master ]
pull_request:
branches: [ master ]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Sets the GITHUB_TOKEN permissions to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# Allow one concurrent deployment
concurrency:
group: 'pages'
cancel-in-progress: true

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Cache dependencies
uses: actions/cache@v2
with:
path: |
**/node_modules
key: ${{ runner.os }}-${{ hashFiles('**/package-lock.json') }}
- name: Install dependencies
run: npm install
# - name: Run the tests and generate coverage report
# run: npm test -- --coverage
# - name: Upload coverage to Codecov
# uses: codecov/codecov-action@v1
- name: Build
run: npm run build
- name: Deploy
uses: actions/configure-pages@v3
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
# Upload dist repository
path: './dist'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
24 changes: 24 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
dist
dist-ssr
*.local

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
10 changes: 10 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"semi": true,
"trailingComma": "all",
"singleQuote": true,
"printWidth": 120,
"tabWidth": 2,
"bracketSpacing": true,
"parser": "typescript",
"endOfLine": "auto"
}
Loading

0 comments on commit 36c615d

Please sign in to comment.