Skip to content

Commit

Permalink
TSDK-768 Add UI to bridge (#5)
Browse files Browse the repository at this point in the history
* TSDK-768 Add UI to bridge

* TSDK-768 Add build client to GH action

* TSDK-768 Add bootstrap template

* TSDK-768 Setup pegin screen

* TSDK-768 Initial UI completed

* TSDK-768 Fix tests

* TSDK-768 Fix tests

* TSDK-768 Fix tests
  • Loading branch information
mundacho committed Mar 28, 2024
1 parent b35e5dd commit a56818f
Show file tree
Hide file tree
Showing 31 changed files with 15,246 additions and 241 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/sbt_checkPR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ jobs:
- uses: olafurpg/setup-gpg@v3
- if: github.event.release
name: Deploy (release only)
run: sbt ci-release
run: sbt "buildClient; ci-release"
env:
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
PGP_SECRET: ${{ secrets.PGP_SECRET }}
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ wallet.json
.vscode/
project/project/
metals.sbt
logs/
logs/
static/
18 changes: 18 additions & 0 deletions bridge-ui/.eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
module.exports = {
root: true,
env: { browser: true, es2020: true },
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
'plugin:react-hooks/recommended',
],
ignorePatterns: ['dist', '.eslintrc.cjs'],
parser: '@typescript-eslint/parser',
plugins: ['react-refresh'],
rules: {
'react-refresh/only-export-components': [
'warn',
{ allowConstantExport: true },
],
},
}
24 changes: 24 additions & 0 deletions bridge-ui/.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?
23 changes: 23 additions & 0 deletions bridge-ui/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
<meta name="description" content="" />
<meta name="author" content="" />
<title>Topl-BTC Bridge</title>
<!-- Favicon-->
<link rel="icon" type="image/x-icon" href="assets/favicon.ico" />
</head>

<body>
<div class="d-flex" id="wrapper">
</div>

<!-- Bootstrap core JS-->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js"></script>
<script type="module" src="/src/main.tsx"></script>
</body>

</html>

0 comments on commit a56818f

Please sign in to comment.