Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
85 changes: 48 additions & 37 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,42 +1,53 @@
name: CI/CD

on:
push:
branches:
- main
pull_request:
branches:
- '**'
push:
branches:
- main
pull_request:
branches:
- '**'

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [16.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: Install dependencies
run: yarn install

- name: Linter
run: yarn lint

- name: Test
env:
REACT_APP_DEFAULT_NETWORK_ID: 4
REACT_APP_INFURA_ENDPOINT_URL: "http://infura.io"
run: yarn test

- name: Build
run: yarn build
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [16.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: Install dependencies
run: yarn install

- name: Linter
run: yarn lint

- name: Test
env:
REACT_APP_DEFAULT_NETWORK_ID: 4
REACT_APP_INFURA_ENDPOINT_URL: 'http://infura.io'
run: yarn test

- name: Build
run: yarn build

- name: Deploy
run: |
git config --global user.name $user_name
git config --global user.email $user_email
git remote set-url origin https://${github_token}@github.com/${repository}
yarn run deploy
env:
user_name: 'github-actions[bot]'
user_email: 'github-actions[bot]@users.noreply.github.com'
github_token: ${{ secrets.GH_PAGE_DEPLOY_TOKEN }}
repository: ${{ github.repository }}
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,18 @@
# [Atbash Frontend](https://atbash.finance/)

This is the front-end repo for Atbash Protocol.
Project made for Atbash Protocol team using :

- Typescript
- React 16
- Jest
- Ethers.js
- Redux
- Context
- MUI V5

## Access :

https://drtex0.github.io/atbash-frontend/

## Config

Expand Down
42 changes: 42 additions & 0 deletions docs/asset-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"files": {
"main.js": "./static/js/main.ba591e5f.chunk.js",
"main.js.map": "./static/js/main.ba591e5f.chunk.js.map",
"runtime-main.js": "./static/js/runtime-main.f072c9d4.js",
"runtime-main.js.map": "./static/js/runtime-main.f072c9d4.js.map",
"static/js/2.0f90faa3.chunk.js": "./static/js/2.0f90faa3.chunk.js",
"static/js/2.0f90faa3.chunk.js.map": "./static/js/2.0f90faa3.chunk.js.map",
"static/css/3.eed95445.chunk.css": "./static/css/3.eed95445.chunk.css",
"static/js/3.6a9d524e.chunk.js": "./static/js/3.6a9d524e.chunk.js",
"static/js/3.6a9d524e.chunk.js.map": "./static/js/3.6a9d524e.chunk.js.map",
"static/js/4.1b47acad.chunk.js": "./static/js/4.1b47acad.chunk.js",
"static/js/4.1b47acad.chunk.js.map": "./static/js/4.1b47acad.chunk.js.map",
"static/js/5.db6103ea.chunk.js": "./static/js/5.db6103ea.chunk.js",
"static/js/5.db6103ea.chunk.js.map": "./static/js/5.db6103ea.chunk.js.map",
"static/css/6.85085c81.chunk.css": "./static/css/6.85085c81.chunk.css",
"static/js/6.e5292e34.chunk.js": "./static/js/6.e5292e34.chunk.js",
"static/js/6.e5292e34.chunk.js.map": "./static/js/6.e5292e34.chunk.js.map",
"static/js/7.f066f10f.chunk.js": "./static/js/7.f066f10f.chunk.js",
"static/js/7.f066f10f.chunk.js.map": "./static/js/7.f066f10f.chunk.js.map",
"index.html": "./index.html",
"static/css/3.eed95445.chunk.css.map": "./static/css/3.eed95445.chunk.css.map",
"static/css/6.85085c81.chunk.css.map": "./static/css/6.85085c81.chunk.css.map",
"static/js/2.0f90faa3.chunk.js.LICENSE.txt": "./static/js/2.0f90faa3.chunk.js.LICENSE.txt",
"static/media/BASH-DAI.38270cf4.png": "./static/media/BASH-DAI.38270cf4.png",
"static/media/DAI.e.849478a7.png": "./static/media/DAI.e.849478a7.png",
"static/media/background.95637f19.webp": "./static/media/background.95637f19.webp",
"static/media/bash-compress.72bf0e8a.svg": "./static/media/bash-compress.72bf0e8a.svg",
"static/media/bash.00caddaf.png": "./static/media/bash.00caddaf.png",
"static/media/discord.d78c1d63.svg": "./static/media/discord.d78c1d63.svg",
"static/media/docs.d593bebd.svg": "./static/media/docs.d593bebd.svg",
"static/media/github.498e6177.svg": "./static/media/github.498e6177.svg",
"static/media/sBASH.a011761c.png": "./static/media/sBASH.a011761c.png",
"static/media/telegram.d665785c.svg": "./static/media/telegram.d665785c.svg",
"static/media/twitter.f6e6e036.svg": "./static/media/twitter.f6e6e036.svg"
},
"entrypoints": [
"static/js/runtime-main.f072c9d4.js",
"static/js/2.0f90faa3.chunk.js",
"static/js/main.ba591e5f.chunk.js"
]
}
Binary file added docs/favicon.ico
Binary file not shown.
1 change: 1 addition & 0 deletions docs/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="./favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no"/><link rel="apple-touch-icon" href="./logo192.png"/><link rel="manifest" href="./manifest.json"/><title>Atbash Protocol</title></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script>!function(e){function t(t){for(var n,o,i=t[0],c=t[1],l=t[2],f=0,d=[];f<i.length;f++)o=i[f],Object.prototype.hasOwnProperty.call(a,o)&&a[o]&&d.push(a[o][0]),a[o]=0;for(n in c)Object.prototype.hasOwnProperty.call(c,n)&&(e[n]=c[n]);for(s&&s(t);d.length;)d.shift()();return u.push.apply(u,l||[]),r()}function r(){for(var e,t=0;t<u.length;t++){for(var r=u[t],n=!0,o=1;o<r.length;o++){var c=r[o];0!==a[c]&&(n=!1)}n&&(u.splice(t--,1),e=i(i.s=r[0]))}return e}var n={},o={1:0},a={1:0},u=[];function i(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,i),r.l=!0,r.exports}i.e=function(e){var t=[];o[e]?t.push(o[e]):0!==o[e]&&{3:1,6:1}[e]&&t.push(o[e]=new Promise((function(t,r){for(var n="static/css/"+({}[e]||e)+"."+{3:"eed95445",4:"31d6cfe0",5:"31d6cfe0",6:"85085c81",7:"31d6cfe0"}[e]+".chunk.css",a=i.p+n,u=document.getElementsByTagName("link"),c=0;c<u.length;c++){var l=(s=u[c]).getAttribute("data-href")||s.getAttribute("href");if("stylesheet"===s.rel&&(l===n||l===a))return t()}var f=document.getElementsByTagName("style");for(c=0;c<f.length;c++){var s;if((l=(s=f[c]).getAttribute("data-href"))===n||l===a)return t()}var d=document.createElement("link");d.rel="stylesheet",d.type="text/css",d.onload=t,d.onerror=function(t){var n=t&&t.target&&t.target.src||a,u=new Error("Loading CSS chunk "+e+" failed.\n("+n+")");u.code="CSS_CHUNK_LOAD_FAILED",u.request=n,delete o[e],d.parentNode.removeChild(d),r(u)},d.href=a,document.getElementsByTagName("head")[0].appendChild(d)})).then((function(){o[e]=0})));var r=a[e];if(0!==r)if(r)t.push(r[2]);else{var n=new Promise((function(t,n){r=a[e]=[t,n]}));t.push(r[2]=n);var u,c=document.createElement("script");c.charset="utf-8",c.timeout=120,i.nc&&c.setAttribute("nonce",i.nc),c.src=function(e){return i.p+"static/js/"+({}[e]||e)+"."+{3:"6a9d524e",4:"1b47acad",5:"db6103ea",6:"e5292e34",7:"f066f10f"}[e]+".chunk.js"}(e);var l=new Error;u=function(t){c.onerror=c.onload=null,clearTimeout(f);var r=a[e];if(0!==r){if(r){var n=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;l.message="Loading chunk "+e+" failed.\n("+n+": "+o+")",l.name="ChunkLoadError",l.type=n,l.request=o,r[1](l)}a[e]=void 0}};var f=setTimeout((function(){u({type:"timeout",target:c})}),12e4);c.onerror=c.onload=u,document.head.appendChild(c)}return Promise.all(t)},i.m=e,i.c=n,i.d=function(e,t,r){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(i.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)i.d(r,n,function(t){return e[t]}.bind(null,n));return r},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="./",i.oe=function(e){throw console.error(e),e};var c=this["webpackJsonp@atbash/frontend"]=this["webpackJsonp@atbash/frontend"]||[],l=c.push.bind(c);c.push=t,c=c.slice();for(var f=0;f<c.length;f++)t(c[f]);var s=l;r()}([])</script><script src="./static/js/2.0f90faa3.chunk.js"></script><script src="./static/js/main.ba591e5f.chunk.js"></script></body></html>
17 changes: 17 additions & 0 deletions docs/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"short_name": "Atbash Protocol",
"start_url": ".",
"homepage": "./",
"name": "Atbash Protocol",
"launch_path": "/public/index.html",
"icons": [
{
"src": "favicon.ico",
"sizes": "64x64 32x32 24x24 16x16",
"type": "image/x-icon"
}
],
"display": "browser",
"theme_color": "#000000",
"background_color": "#ffffff"
}
2 changes: 2 additions & 0 deletions docs/robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# https://www.robotstxt.org/robotstxt.html
User-agent: *
2 changes: 2 additions & 0 deletions docs/static/css/3.eed95445.chunk.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions docs/static/css/3.eed95445.chunk.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions docs/static/css/6.85085c81.chunk.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions docs/static/css/6.85085c81.chunk.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions docs/static/js/2.0f90faa3.chunk.js

Large diffs are not rendered by default.

Loading