Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release/0.13.5 - Master #119

Merged
merged 13 commits into from
Dec 5, 2021
Merged
Show file tree
Hide file tree
Changes from 12 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
3 changes: 3 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,19 @@ jobs:
deploy_stage:
docker:
- image: cimg/node:14.17.3
resource_class: large
steps:
- checkout
- run: rm yarn.lock && yarn install --network-concurrency 1
- run: yarn build-staging
- run: ssh -oStrictHostKeyChecking=no -v $EC2_PROD_USER@$EC2_PROD_IP "sh /home/ubuntu/remove.sh reactdemo-staging"
- run: scp -oStrictHostKeyChecking=no -v -r /home/circleci/project/build/* $EC2_PROD_USER@$EC2_PROD_IP:/home/ubuntu/reactdemo-staging/
- run: ssh -oStrictHostKeyChecking=no -v $EC2_PROD_USER@$EC2_PROD_IP "sh /home/ubuntu/move.sh reactdemo-staging"

deploy_prod:
docker:
- image: cimg/node:14.17.3
resource_class: large
steps:
- checkout
- run: yarn cache clean && yarn install --network-concurrency 1
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ For detailed documentation, head to [docs.blocknative.com](https://docs.blocknat


<div align="center">
<img style="border-radius: 8px" width="75%" src="assets/react-demo.png">
<img style="border-radius: 8px" width="75%" src="assets/react-demo-updated.png">
</div>

View live demo [here](https://reactdemo.blocknative.com/)!
Expand Down
Binary file added assets/react-demo-updated.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed assets/react-demo.png
Binary file not shown.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "onboard-notify-react",
"version": "0.13.2",
"version": "0.13.5",
"dependencies": {
"bnc-notify": "^1.9.1",
"bnc-notify": "^1.9.2",
"bnc-notify-staging": "https://github.com/blocknative/notify#develop",
"bnc-onboard": "^1.35.4",
"bnc-onboard-staging": "https://github.com/blocknative/onboard#develop",
"ethers": "^5.2.0",
"ethers": "^5.5.2",
"react": "^16.9.0",
"react-dom": "^16.9.0",
"react-scripts": "3.1.1",
Expand Down
52 changes: 34 additions & 18 deletions src/App.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
body {
font-family: "Helvetica Neue";
background-color: rgb(206, 175, 206);
background-image: url("bn-logo.png");
background-repeat: repeat;
font-family: sans-serif;;
font-style: normal;
background-color: #1a1d26;
max-width: 100vw;
overflow: hidden;
margin: 0;
Expand All @@ -15,10 +14,6 @@ main {
box-sizing: border-box;
}

section {
display: flex;
}

@media screen and (max-width: 750px) {
body {
overflow: unset;
Expand All @@ -39,19 +34,30 @@ section {
}
}

.main-content {
display: flex;
justify-content: center;
padding-top: 24px;
}

.vertical-main-container {
display: grid;
}

.container {
background: rgba(255, 255, 255, 0.4);
background: #383c48;
display: flex;
justify-content: center;
align-items: center;
flex-flow: column nowrap;
padding: 1rem;
/* width: 20rem; */
border: 1px solid #eeeeee;
border-radius: 4px;
margin: 0.25rem;
padding: 1.5rem;
border-radius: 8px;
margin: 0.75rem 1rem;
border: 1px solid #6c707d;
color: #fff;
}


.container div {
display: flex;
justify-content: center;
Expand Down Expand Up @@ -93,13 +99,13 @@ section {
}

.bn-demo-button {
background: #ffffff;
background: #ffffffee;
font-size: 0.889rem;
border: 1px solid #eeeeee;
border-radius: 40px;
border-radius: 8px;
padding: 0.55rem 1.4rem;
color: #4a90e2;
margin: 0.25rem 0.5rem;
color: #6370e5;
margin: 0.4rem 0.75rem;
transition: background 200ms ease-in-out, color 200ms ease-in-out;
}

Expand All @@ -110,3 +116,13 @@ section {
.bn-demo-button:hover {
cursor: pointer;
}

.selected-toggle-btn {
background: #6370e5;
color: white;
}

.unselected-toggle-btn {
color: #6370e5;
background: #ffffffee;
}
Loading