diff --git a/.circleci/config.yml b/.circleci/config.yml index d99e01caab..0c76b8ce75 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -182,7 +182,7 @@ jobs: environment: - COMMIT_AUTHOR_EMAIL: "yann@ethereum.org" - COMMIT_AUTHOR: "Circle CI" - - FILES_TO_PACKAGE: "dist/apps/remix-ide/assets dist/apps/remix-ide/index.html dist/apps/remix-ide/main.js dist/apps/remix-ide/polyfills.js dist/apps/remix-ide/runtime.js dist/apps/remix-ide/vendor.js dist/apps/remix-ide/favicon.ico" + - FILES_TO_PACKAGE: "dist/apps/remix-ide/assets dist/apps/remix-ide/index.html dist/apps/remix-ide/main.js dist/apps/remix-ide/polyfills.js dist/apps/remix-ide/runtime.js dist/apps/remix-ide/vendor.js dist/apps/remix-ide/favicon.ico dist/apps/remix-ide/vendors~app.js dist/apps/remix-ide/app.js" working_directory: ~/remix-project parallelism: 7 steps: @@ -220,7 +220,7 @@ jobs: environment: - COMMIT_AUTHOR_EMAIL: "yann@ethereum.org" - COMMIT_AUTHOR: "Circle CI" - - FILES_TO_PACKAGE: "dist/apps/remix-ide/assets dist/apps/remix-ide/production.index.html dist/apps/remix-ide/main.js dist/apps/remix-ide/polyfills.js dist/apps/remix-ide/favicon.ico" + - FILES_TO_PACKAGE: "dist/apps/remix-ide/assets dist/apps/remix-ide/production.index.html dist/apps/remix-ide/main.js dist/apps/remix-ide/polyfills.js dist/apps/remix-ide/favicon.ico dist/apps/remix-ide/vendors~app.js dist/apps/remix-ide/app.js" working_directory: ~/remix-project steps: @@ -248,7 +248,7 @@ jobs: environment: - COMMIT_AUTHOR_EMAIL: "yann@ethereum.org" - COMMIT_AUTHOR: "Circle CI" - - FILES_TO_PACKAGE: "dist/apps/remix-ide/assets dist/apps/remix-ide/production.index.html dist/apps/remix-ide/main.js dist/apps/remix-ide/polyfills.js dist/apps/remix-ide/favicon.ico" + - FILES_TO_PACKAGE: "dist/apps/remix-ide/assets dist/apps/remix-ide/production.index.html dist/apps/remix-ide/main.js dist/apps/remix-ide/polyfills.js dist/apps/remix-ide/favicon.ico dist/apps/remix-ide/vendors~app.js dist/apps/remix-ide/app.js" working_directory: ~/remix-project steps: @@ -274,7 +274,7 @@ jobs: environment: - COMMIT_AUTHOR_EMAIL: "yann@ethereum.org" - COMMIT_AUTHOR: "Circle CI" - - FILES_TO_PACKAGE: "dist/apps/remix-ide/assets dist/apps/remix-ide/production.index.html dist/apps/remix-ide/main.js dist/apps/remix-ide/polyfills.js dist/apps/remix-ide/favicon.ico" + - FILES_TO_PACKAGE: "dist/apps/remix-ide/assets dist/apps/remix-ide/production.index.html dist/apps/remix-ide/main.js dist/apps/remix-ide/polyfills.js dist/apps/remix-ide/favicon.ico dist/apps/remix-ide/vendors~app.js dist/apps/remix-ide/app.js" working_directory: ~/remix-project steps: @@ -302,7 +302,7 @@ jobs: environment: - COMMIT_AUTHOR_EMAIL: "yann@ethereum.org" - COMMIT_AUTHOR: "Circle CI" - - FILES_TO_PACKAGE: "dist/apps/remix-ide/assets dist/apps/remix-ide/production.index.html dist/apps/remix-ide/main.js dist/apps/remix-ide/polyfills.js dist/apps/remix-ide/favicon.ico" + - FILES_TO_PACKAGE: "dist/apps/remix-ide/assets dist/apps/remix-ide/production.index.html dist/apps/remix-ide/main.js dist/apps/remix-ide/polyfills.js dist/apps/remix-ide/favicon.ico dist/apps/remix-ide/vendors~app.js dist/apps/remix-ide/app.js" working_directory: ~/remix-project steps: diff --git a/apps/remix-ide/ci/deploy_from_travis_remix-alpha.sh b/apps/remix-ide/ci/deploy_from_travis_remix-alpha.sh index 93c82585ca..9769545425 100755 --- a/apps/remix-ide/ci/deploy_from_travis_remix-alpha.sh +++ b/apps/remix-ide/ci/deploy_from_travis_remix-alpha.sh @@ -15,7 +15,7 @@ cp -r $FILES_TO_PACKAGE "./" rm -rf dist ls mv production.index.html index.html -FILES_TO_DEPLOY="assets index.html main.js polyfills.js favicon.ico" +FILES_TO_DEPLOY="assets index.html main.js polyfills.js favicon.ico vendors~app.js app.js" # ZIP the whole directory zip -r remix-$SHA.zip $FILES_TO_DEPLOY # -f is needed because "build" is part of .gitignore diff --git a/apps/remix-ide/ci/deploy_from_travis_remix-beta.sh b/apps/remix-ide/ci/deploy_from_travis_remix-beta.sh index c128d3b400..82f1dfbec8 100755 --- a/apps/remix-ide/ci/deploy_from_travis_remix-beta.sh +++ b/apps/remix-ide/ci/deploy_from_travis_remix-beta.sh @@ -15,7 +15,7 @@ cp -r $FILES_TO_PACKAGE "./" rm -rf dist ls mv production.index.html index.html -FILES_TO_DEPLOY="assets index.html main.js polyfills.js favicon.ico" +FILES_TO_DEPLOY="assets index.html main.js polyfills.js favicon.ico vendors~app.js app.js" # ZIP the whole directory zip -r remix-$SHA.zip $FILES_TO_DEPLOY # -f is needed because "build" is part of .gitignore diff --git a/apps/remix-ide/ci/deploy_from_travis_remix-live.sh b/apps/remix-ide/ci/deploy_from_travis_remix-live.sh index c99980d6d3..0e4afb3109 100755 --- a/apps/remix-ide/ci/deploy_from_travis_remix-live.sh +++ b/apps/remix-ide/ci/deploy_from_travis_remix-live.sh @@ -15,7 +15,7 @@ cp -r $FILES_TO_PACKAGE "./" rm -rf dist ls mv production.index.html index.html -FILES_TO_DEPLOY="assets index.html main.js polyfills.js" +FILES_TO_DEPLOY="assets index.html main.js polyfills.js vendors~app.js app.js" # ZIP the whole directory zip -r remix-$SHA.zip $FILES_TO_DEPLOY # -f is needed because "build" is part of .gitignore diff --git a/apps/remix-ide/src/index.css b/apps/remix-ide/src/index.css new file mode 100644 index 0000000000..8396f022e7 --- /dev/null +++ b/apps/remix-ide/src/index.css @@ -0,0 +1,22 @@ +.centered { + position : fixed; + top : 20%; + left : 45%; + width : 200px; + height : 200px; +} +.centered svg path { + fill: var(--secondary); +} +.centered svg polygon { + fill : var(--secondary); +} +.splash { + text-align: center; +} +.version { + cursor: pointer; + font-size: 0.8rem; + font-weight: normal; + max-width: 300px; +} \ No newline at end of file diff --git a/apps/remix-ide/src/index.tsx b/apps/remix-ide/src/index.tsx index ff690d4c5e..fde108b852 100644 --- a/apps/remix-ide/src/index.tsx +++ b/apps/remix-ide/src/index.tsx @@ -3,6 +3,8 @@ import React from 'react' import { render } from 'react-dom' // eslint-disable-next-line no-unused-vars import { RemixApp } from '@remix-ui/app' +import * as packageJson from '../../../package.json' +import './index.css' (function () { render( @@ -15,6 +17,11 @@ import { RemixApp } from '@remix-ui/app'