Skip to content

New theme #1

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

Open
wants to merge 23 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
ad0f52f
feat: latest style changes
igorgoldobin Jan 30, 2024
16780a9
feat: applying button styles
igorgoldobin Jan 31, 2024
86de4ea
feat: new look and feel
igorgoldobin Feb 5, 2024
16dc55d
Merge branch 'main' of https://github.com/stratisproject/Masternode-F…
igorgoldobin Feb 5, 2024
a80cff6
ci: add Azure Static Web Apps workflow file
fenix2222 Feb 5, 2024
94d231a
Update azure-static-web-apps-icy-pebble-0baf5bd03.yml
fenix2222 Feb 5, 2024
66e7997
Update package.json
fenix2222 Feb 5, 2024
b58bed0
fix for home path
fenix2222 Feb 5, 2024
f87c5ea
feat: social icons fix and metadata
igorgoldobin Feb 6, 2024
644c7e2
Merge branch 'feature/styling' of https://github.com/stratisproject/M…
igorgoldobin Feb 6, 2024
a2d22e2
feat: connect button style
igorgoldobin Feb 6, 2024
33359c2
feat: small styling fix for highlight background
igorgoldobin Feb 6, 2024
789942a
fix: update home path
fenix2222 Feb 5, 2024
7556991
Lowered standard collateral amount to 25k
SergeevDmitry Feb 5, 2024
914c816
added confirmation dialog
igorgoldobin Feb 9, 2024
fe8e6f8
fix for time calc
igorgoldobin Feb 9, 2024
bfa8a39
fix warning for collateral
igorgoldobin Feb 9, 2024
fd53998
fix for message while registering
igorgoldobin Feb 9, 2024
2c19947
fix typo
igorgoldobin Feb 9, 2024
2e803be
fix for claim amount
igorgoldobin Feb 9, 2024
c7488bc
feat: metamask fix fro mobile
igorgoldobin Mar 5, 2024
e2f615d
fix: removed unused packages
igorgoldobin Mar 5, 2024
bc26b03
Update azure-static-web-apps-icy-pebble-0baf5bd03.yml
StratisIain Jul 10, 2024
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
52 changes: 52 additions & 0 deletions .github/workflows/azure-static-web-apps-icy-pebble-0baf5bd03.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: Azure Static Web Apps CI/CD

on:
push:
branches:
- update/wallet
pull_request:
types: [opened, synchronize, reopened, closed]
branches:
- update/wallet

jobs:
build_and_deploy_job:
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed')
runs-on: ubuntu-latest
name: Build and Deploy Job
steps:
- uses: actions/checkout@v3
with:
submodules: true
lfs: false

- name: Setup Node.js environment
uses: actions/[email protected]
with:
node-version: 18.x

- name: Build And Deploy
id: builddeploy
uses: Azure/static-web-apps-deploy@v1
with:
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_ICY_PEBBLE_0BAF5BD03 }}
repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments)
action: "upload"
###### Repository/Build Configurations - These values can be configured to match your app requirements. ######
# For more information regarding Static Web App workflow configurations, please visit: https://aka.ms/swaworkflowconfig
app_location: "/" # App source code path
api_location: "" # Api source code path - optional
output_location: "build" # Built app content directory - optional
###### End of Repository/Build Configurations ######

close_pull_request_job:
if: github.event_name == 'pull_request' && github.event.action == 'closed'
runs-on: ubuntu-latest
name: Close Pull Request Job
steps:
- name: Close Pull Request
id: closepullrequest
uses: Azure/static-web-apps-deploy@v1
with:
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_ICY_PEBBLE_0BAF5BD03 }}
action: "close"
18 changes: 15 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@
"name": "masternode-dapp",
"version": "0.1.0",
"private": true,
"homepage": "/dapp",
"engines": {
"node": ">=18.0.0"
},
"homepage": "/",
"scripts": {
"contracts:compile:abi": "typechain --target ethers-v5 --out-dir src/constants/abis/types \"./src/constants/abis/**/*.json\"",
"prestart": "yarn contracts:compile:abi",
Expand All @@ -14,6 +17,9 @@
},
"dependencies": {
"@coinbase/wallet-sdk": "^3.7.2",
"@headlessui/react": "^1.7.18",
"@heroicons/react": "^2.1.1",
"@metamask/sdk-react": "^0.15.0",
"@reduxjs/toolkit": "^2.0.1",
"@typechain/ethers-v5": "^11.1.2",
"@web3-react/coinbase-wallet": "^8.2.3",
Expand All @@ -24,22 +30,27 @@
"@web3-react/types": "^8.2.3",
"@web3-react/walletconnect": "^8.2.3",
"@web3-react/walletconnect-v2": "^8.5.1",
"aos": "^2.3.4",
"classnames": "^2.5.1",
"ethers": "^5.7.2",
"jotai": "^2.6.2",
"lodash": "^4.17.21",
"node-sass": "^9.0.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-modal": "^3.16.1",
"react-redux": "^9.1.0",
"react-scripts": "5.0.1",
"react-social-icons": "^6.10.0",
"redux-persist": "^6.0.0",
"sass": "^1.70.0",
"typechain": "^8.3.2",
"ua-parser-js": "^1.0.37",
"web-vitals": "^2.1.4"
},
"devDependencies": {
"@tailwindcss/forms": "^0.5.7",
"@tailwindcss/typography": "^0.5.10",
"@types/aos": "^3.0.7",
"@types/jest": "^27.5.2",
"@types/lodash": "^4.14.202",
"@types/node": "^16.18.74",
Expand All @@ -58,6 +69,7 @@
"react-app-rewired": "^2.2.1",
"stream-browserify": "^3.0.0",
"stream-http": "^3.2.0",
"tailwindcss": "^3.4.1",
"typescript": "^4.9.5",
"url": "^0.11.3"
},
Expand All @@ -73,4 +85,4 @@
"last 1 safari version"
]
}
}
}
Binary file added public/android-chrome-192x192.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 added public/android-chrome-512x512.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 added public/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
180 changes: 180 additions & 0 deletions public/css/additional-styles/theme.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,180 @@
.form-input:focus,
.form-textarea:focus,
.form-multiselect:focus,
.form-select:focus,
.form-checkbox:focus,
.form-radio:focus {
@apply ring-0;
}

/* Hamburger button */
.hamburger svg>*:nth-child(1),
.hamburger svg>*:nth-child(2),
.hamburger svg>*:nth-child(3) {
transform-origin: center;
transform: rotate(0deg);
}

.hamburger svg>*:nth-child(1) {
transition: y 0.1s 0.25s ease-in, transform 0.22s cubic-bezier(0.55, 0.055, 0.675, 0.19), opacity 0.1s ease-in;
}

.hamburger svg>*:nth-child(2) {
transition: transform 0.22s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.hamburger svg>*:nth-child(3) {
transition: y 0.1s 0.25s ease-in, transform 0.22s cubic-bezier(0.55, 0.055, 0.675, 0.19), width 0.1s 0.25s ease-in;
}

.hamburger.active svg>*:nth-child(1) {
opacity: 0;
y: 9;
transform: rotate(225deg);
transition: y 0.1s ease-out, transform 0.22s 0.12s cubic-bezier(0.215, 0.61, 0.355, 1), opacity 0.1s 0.12s ease-out;
}

.hamburger.active svg>*:nth-child(2) {
transform: rotate(225deg);
transition: transform 0.22s 0.12s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.hamburger.active svg>*:nth-child(3) {
y: 9;
transform: rotate(135deg);
transition: y 0.1s ease-out, transform 0.22s 0.12s cubic-bezier(0.215, 0.61, 0.355, 1), width 0.1s ease-out;
}

/* Custom Swiper styles */
.swiper-button-disabled {
@apply opacity-50 cursor-default pointer-events-none;
}

.stellar-carousel .swiper-slide {
@apply opacity-80;
}

.stellar-carousel .swiper-slide.swiper-slide-active {
@apply opacity-100;
}

/* Pulsing animation */
@keyframes pulseLoop {
0% {
opacity: 0;
transform: scale(.25) translateZ(0);
}

30% {
opacity: .4;
}

70% {
opacity: 0;
}

80% {
transform: scale(1) translateZ(0);
}
}

.pulse {
opacity: 0;
transform-origin: center;
animation: pulseLoop 12000ms linear infinite;
}

.pulse-1 {
animation-delay: -4000ms;
}

.pulse-2 {
animation-delay: -8000ms;
}

.translate-z-0 {
transform: translateZ(0);
}

/* Custom AOS distance */
@media screen {
html:not(.no-js) [data-aos=fade-up] {
-webkit-transform: translate3d(0, 14px, 0);
transform: translate3d(0, 14px, 0);
}

html:not(.no-js) [data-aos=fade-down] {
-webkit-transform: translate3d(0, -14px, 0);
transform: translate3d(0, -14px, 0);
}

html:not(.no-js) [data-aos=fade-right] {
-webkit-transform: translate3d(-14px, 0, 0);
transform: translate3d(-14px, 0, 0);
}

html:not(.no-js) [data-aos=fade-left] {
-webkit-transform: translate3d(14px, 0, 0);
transform: translate3d(14px, 0, 0);
}

html:not(.no-js) [data-aos=fade-up-right] {
-webkit-transform: translate3d(-14px, 14px, 0);
transform: translate3d(-14px, 14px, 0);
}

html:not(.no-js) [data-aos=fade-up-left] {
-webkit-transform: translate3d(14px, 14px, 0);
transform: translate3d(14px, 14px, 0);
}

html:not(.no-js) [data-aos=fade-down-right] {
-webkit-transform: translate3d(-14px, -14px, 0);
transform: translate3d(-14px, -14px, 0);
}

html:not(.no-js) [data-aos=fade-down-left] {
-webkit-transform: translate3d(14px, -14px, 0);
transform: translate3d(14px, -14px, 0);
}

html:not(.no-js) [data-aos=zoom-in-up] {
-webkit-transform: translate3d(0, 14px, 0) scale(.6);
transform: translate3d(0, 14px, 0) scale(.6);
}

html:not(.no-js) [data-aos=zoom-in-down] {
-webkit-transform: translate3d(0, -14px, 0) scale(.6);
transform: translate3d(0, -14px, 0) scale(.6);
}

html:not(.no-js) [data-aos=zoom-in-right] {
-webkit-transform: translate3d(-14px, 0, 0) scale(.6);
transform: translate3d(-14px, 0, 0) scale(.6);
}

html:not(.no-js) [data-aos=zoom-in-left] {
-webkit-transform: translate3d(14px, 0, 0) scale(.6);
transform: translate3d(14px, 0, 0) scale(.6);
}

html:not(.no-js) [data-aos=zoom-out-up] {
-webkit-transform: translate3d(0, 14px, 0) scale(1.2);
transform: translate3d(0, 14px, 0) scale(1.2);
}

html:not(.no-js) [data-aos=zoom-out-down] {
-webkit-transform: translate3d(0, -14px, 0) scale(1.2);
transform: translate3d(0, -14px, 0) scale(1.2);
}

html:not(.no-js) [data-aos=zoom-out-right] {
-webkit-transform: translate3d(-14px, 0, 0) scale(1.2);
transform: translate3d(-14px, 0, 0) scale(1.2);
}

html:not(.no-js) [data-aos=zoom-out-left] {
-webkit-transform: translate3d(14px, 0, 0) scale(1.2);
transform: translate3d(14px, 0, 0) scale(1.2);
}
}
Loading