├── .env.example ├── .eslintrc.cjs ├── .gitignore ├── .husky ├── pre-commit └── pre-push ├── .nvmrc ├── .swcrc ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── SECURITY.md ├── index.html ├── jest.config.cjs ├── jest ├── CSSStub.ts ├── setupTests.ts └── svgTransformer.ts ├── package.json ├── public ├── css │ ├── hirocoool.webflow.css │ ├── normalize.css │ └── webflow.css ├── favicon.png ├── favicon.png:Zone.Identifier ├── favicon.svg ├── fonts │ ├── Bueno-Black.ttf │ ├── Bueno-Bold.ttf │ ├── Bueno-Light.otf │ ├── Bueno-Light.ttf │ ├── Bueno-Medium.otf │ ├── Bueno-Regular.otf │ ├── TWKEverett-Bold.otf │ ├── TWKEverett-Extrabold-web.ttf │ ├── TWKEverett-Light.otf │ ├── TWKEverett-LightItalic.otf │ ├── TWKEverett-Medium.otf │ ├── TWKEverett-Regular.otf │ ├── TWKEverett-Super.otf │ ├── TWKEverett-Thin.otf │ └── TWKEverett-UltralightItalic.otf ├── images │ ├── 2D-Shape-p-500.png │ ├── 2D-Shape.png │ ├── Abraham-Cobos-p-500.jpeg │ ├── Abraham-Cobos-p-800.jpeg │ ├── Abraham-Cobos.jpeg │ ├── BITCOIN-WRAPPED.png │ ├── Background-p-1080.png │ ├── Background-p-500.png │ ├── Background-p-800.png │ ├── Background.png │ ├── Base-p-1080.jpeg │ ├── Base-p-500.jpeg │ ├── Base-p-800.jpeg │ ├── Base.jpeg │ ├── CheckGreen.svg │ ├── Eduardo-Rios-p-500.jpeg │ ├── Eduardo-Rios.jpeg │ ├── Ellipse-2069.png │ ├── Ellipse-2070.png │ ├── Ellipse-2071.png │ ├── Hiro-logo.png │ ├── Imagen-deposito-p-500.png │ ├── Imagen-deposito.png │ ├── Luis-Gabriel.jpeg │ ├── Model-Cone.png │ ├── Model-Sphere.png │ ├── Model-Tank.png │ ├── OG.png │ ├── Portafolio-p-1080.png │ ├── Portafolio-p-500.png │ ├── Portafolio-p-800.png │ ├── Portafolio.png │ ├── Safe-p-1080.png │ ├── Safe-p-1600.png │ ├── Safe-p-500.png │ ├── Safe-p-800.png │ ├── Safe.png │ ├── T04Q2NUKE93-U054FKGVAM6-2478d51583e0-512-p-500.png │ ├── T04Q2NUKE93-U054FKGVAM6-2478d51583e0-512.png │ ├── USDM.png │ ├── Vector-1.png │ ├── Vector-10.png │ ├── Vector-2.png │ ├── Vector.png │ ├── Vector_1.png │ ├── WhatsApp-Image-2023-08-28-at-19.51.31-p-1080.jpeg │ ├── WhatsApp-Image-2023-08-28-at-19.51.31-p-500.jpeg │ ├── WhatsApp-Image-2023-08-28-at-19.51.31-p-800.jpeg │ ├── WhatsApp-Image-2023-08-28-at-19.51.31.jpeg │ ├── bandoSwap.png │ ├── bando_full_green.png │ ├── bgKyc.png │ ├── bgKyc2.png │ ├── ezgif-2-8ea0987634.gif │ ├── favicon.png │ ├── gorduki-nounish-512-p-500.png │ ├── gorduki-nounish-512.png │ ├── image-58.png │ ├── image-58_1.png │ ├── image-60.png │ ├── image-60_1.png │ ├── image-61.png │ ├── image-61_1.png │ ├── image-62.png │ ├── ramp.gif │ ├── shiba.webp │ ├── steth-steth-logo.png │ └── webclip.png └── js │ └── webflow.js ├── src ├── assets │ ├── ArrowDown.svg │ ├── CaretDown.svg │ ├── CaretGreen.svg │ ├── CaretWhite.svg │ ├── CheckGreen.svg │ ├── CopyToClipboard.svg │ ├── Cross.svg │ ├── Mexico-01.svg │ ├── Mexico.svg │ ├── TokenPlaceholder.svg │ ├── TokenPlaceholderGray.svg │ ├── TokenPlaceholderGray.svg:Zone.Identifier │ ├── TransactionArrow.svg │ ├── UpDownArrow.svg │ ├── arbitrum.svg │ ├── bg-drawer.png │ ├── chains │ │ ├── arbitrum.png │ │ ├── bnb.png │ │ ├── brett.png │ │ ├── celo.png │ │ ├── ceur.png │ │ ├── cusd.png │ │ ├── degen.png │ │ ├── eth.png │ │ ├── maga.png │ │ ├── matic.png │ │ ├── mpeth.png │ │ ├── optimism.png │ │ ├── usdb.png │ │ ├── usdc.png │ │ ├── usdt.png │ │ └── weth.png │ ├── currency.svg │ ├── hielocos.png │ ├── image-58_1.png │ ├── ine_ref.png │ ├── killb-logo.svg │ ├── kycBg.svg │ ├── logo-bando.svg │ ├── logo.svg │ ├── logo_white.svg │ ├── networks │ │ ├── arbitrum.png │ │ ├── base.png │ │ ├── binance-smart-chain.png │ │ ├── binance-smart-chain.svg │ │ ├── blast.png │ │ ├── celo.png │ │ ├── ethereum.png │ │ ├── optimism.png │ │ ├── polygon.png │ │ ├── scroll.png │ │ └── solana.svg │ ├── telegram.svg │ ├── transactions.svg │ └── usdt.svg ├── components │ ├── Alert │ │ ├── index.test.tsx │ │ └── index.tsx │ ├── BoxContainer │ │ ├── index.test.tsx │ │ └── index.tsx │ ├── Button │ │ ├── index.test.tsx │ │ └── index.tsx │ ├── CurrencyImg │ │ └── index.tsx │ ├── DialogDrawer │ │ └── index.tsx │ ├── Footer │ │ ├── index.test.tsx │ │ └── index.tsx │ ├── Hr │ │ ├── index.test.tsx │ │ └── index.tsx │ ├── I18nSwitcher │ │ └── index.tsx │ ├── Jumbotron │ │ ├── index.test.tsx │ │ └── index.tsx │ ├── KycBulletPoints │ │ ├── index.test.tsx │ │ └── index.tsx │ ├── LimitUsage │ │ └── index.tsx │ ├── MarkDownContainer │ │ └── index.tsx │ ├── Navbar │ │ ├── DrawerLink.tsx │ │ ├── index.test.tsx │ │ └── index.tsx │ ├── PageTitle │ │ └── index.tsx │ ├── ProgressBar │ │ └── index.tsx │ ├── RampDirectionTabs │ │ └── index.tsx │ ├── SimpleFooter │ │ ├── index.test.tsx │ │ └── index.tsx │ ├── SiteSpinner │ │ ├── index.test.tsx │ │ └── index.tsx │ ├── StatusBadge │ │ └── index.tsx │ ├── StatusCircle │ │ └── index.tsx │ ├── Svgs │ │ ├── ArrowCircle.tsx │ │ └── Logout.tsx │ ├── TokensWidget │ │ ├── NetworkTiles.tsx │ │ ├── TokensList.tsx │ │ ├── alerts.tsx │ │ ├── components.tsx │ │ ├── helpers.ts │ │ └── index.tsx │ ├── TransactionDetails │ │ ├── RateText.tsx │ │ ├── TransactionCopyText.tsx │ │ ├── index.tsx │ │ └── mapProviderStatus.ts │ ├── TransactionsTable │ │ ├── CellDetailWithIcon.tsx │ │ ├── TableComponents.tsx │ │ ├── TransactionRow.tsx │ │ └── index.tsx │ ├── UserCard │ │ └── index.tsx │ ├── UserMenu │ │ └── index.tsx │ └── forms │ │ ├── ErrorBox │ │ ├── index.test.tsx │ │ └── index.tsx │ │ ├── GetQuoteForm │ │ ├── index.test.tsx │ │ ├── index.tsx │ │ ├── schema.ts │ │ └── v2 │ │ │ └── index.tsx │ │ ├── Input │ │ ├── index.test.tsx │ │ └── index.tsx │ │ ├── KycForm │ │ ├── index.tsx │ │ └── schema.ts │ │ ├── MuiInput │ │ ├── MuiPhoneInput.tsx │ │ ├── index.test.tsx │ │ ├── index.tsx │ │ └── styles.ts │ │ ├── MuiSelect │ │ ├── index.test.tsx │ │ └── index.tsx │ │ ├── OnboardingForm │ │ └── index.tsx │ │ ├── PlacesAutocomplete │ │ └── index.tsx │ │ ├── RampForm │ │ ├── CurrencyPill.tsx │ │ ├── RampTitle.tsx │ │ ├── index.test.tsx │ │ ├── index.tsx │ │ └── schema.ts │ │ └── Select │ │ ├── index.test.tsx │ │ └── index.tsx ├── config │ ├── axios.ts │ ├── constants │ │ ├── chains.ts │ │ ├── countries.ts │ │ ├── currencies.test.tsx │ │ ├── currencies.tsx │ │ ├── identification.ts │ │ ├── links.ts │ │ └── networks.ts │ ├── endpoints.ts │ ├── env.test.ts │ ├── env.ts │ ├── firebase │ │ ├── index.ts │ │ ├── remoteConfig.test.ts │ │ └── remoteConfig.ts │ ├── sentry.ts │ ├── tapfiliate.ts │ └── theme.ts ├── global.d.ts ├── helpers │ ├── TestProvider.tsx │ ├── formatNumber.ts │ ├── formatWalletNumber.ts │ ├── getStorageQuote.ts │ ├── getUserLanguage.ts │ ├── input.test.ts │ ├── inputs.ts │ ├── phoneValidation.ts │ ├── regexValidators.ts │ └── validateSolanaAddress.ts ├── hooks │ ├── useAuthCookie │ │ ├── index.test.tsx │ │ └── index.tsx │ ├── useKyc │ │ ├── index.test.tsx │ │ ├── index.tsx │ │ └── requests.ts │ ├── useMagic │ │ └── index.ts │ ├── useMagicLinkAuth │ │ ├── MagicProvider.tsx │ │ ├── index.tsx │ │ └── requests.ts │ ├── useNetworks │ │ ├── index.test.tsx │ │ ├── index.tsx │ │ ├── mock.ts │ │ └── requests.ts │ ├── useQuote │ │ ├── index.test.tsx │ │ ├── index.tsx │ │ └── requests.ts │ ├── useRecipient │ │ ├── index.test.tsx │ │ ├── index.ts │ │ └── requests.ts │ ├── useRemoteConfig │ │ ├── RemoteConfigProvider.test.tsx │ │ ├── RemoteConfigProvider.tsx │ │ └── index.ts │ ├── useTokens │ │ ├── index.test.tsx │ │ ├── index.ts │ │ ├── mock.ts │ │ └── requests.ts │ ├── useTransaction │ │ ├── index.test.tsx │ │ ├── index.ts │ │ └── requests.ts │ ├── useTransactions │ │ ├── index.test.tsx │ │ ├── index.ts │ │ └── requests.ts │ └── useUser │ │ ├── IntercomProvider.tsx │ │ ├── MagicUserProvider.tsx │ │ ├── index.tsx │ │ ├── requests.ts │ │ └── types.ts ├── index.css ├── layouts │ ├── CleanLayout │ │ ├── index.test.tsx │ │ └── index.tsx │ ├── ColumnLayout │ │ ├── index.test.tsx │ │ └── index.tsx │ ├── EmptyLayout │ │ ├── index.test.tsx │ │ └── index.tsx │ └── LandingLayout │ │ ├── index.test.tsx │ │ └── index.tsx ├── main.tsx ├── mui.d.ts ├── pages │ ├── FAQ │ │ └── index.tsx │ ├── Kyc │ │ └── index.tsx │ ├── Landing │ │ └── index.tsx │ ├── PrivacyNotice │ │ └── index.tsx │ ├── ProtectedRamp │ │ └── index.tsx │ ├── Ramp │ │ └── index.tsx │ ├── SignIn │ │ ├── index.tsx │ │ └── schema.ts │ ├── Signup │ │ └── index.tsx │ ├── Terms │ │ └── index.tsx │ └── Transactions │ │ ├── Detail │ │ └── index.tsx │ │ ├── History │ │ └── index.tsx │ │ └── KycDetail │ │ └── index.tsx ├── routes │ ├── ExposedWrapper.tsx │ ├── OnlyGuestWrapper.tsx │ ├── ProtectedWrapper.tsx │ └── index.tsx ├── tapfiliate.d.ts ├── translations │ ├── en │ │ ├── faq.ts │ │ ├── footer.ts │ │ ├── form.ts │ │ ├── index.ts │ │ ├── kycPoints.ts │ │ ├── landing.ts │ │ ├── quote.ts │ │ ├── ramp.ts │ │ ├── transactionDetail.ts │ │ ├── transactions.ts │ │ └── userMenu.ts │ ├── es │ │ ├── faq.ts │ │ ├── footer.ts │ │ ├── form.ts │ │ ├── index.ts │ │ ├── kycPoints.ts │ │ ├── landing.ts │ │ ├── quote.ts │ │ ├── ramp.ts │ │ ├── transactionDetail.ts │ │ ├── transactions.ts │ │ └── userMenu.ts │ ├── index.test.tsx │ └── index.ts └── vite-env.d.ts ├── tsconfig.json ├── tsconfig.node.json ├── vercel.json ├── vite.config.ts └── yarn.lock /.env.example: -------------------------------------------------------------------------------- 1 | VITE_APP_TITLE=Bando 2 | VITE_APP_DESCRIPTION=Bando - Tu cuenta inteligente de cripto 3 | VITE_HEAP_ID=1913562785 4 | VITE_SENTRY_DSN="https://te.st" 5 | TAPFILIATE_ACCOUNT_ID= 6 | 7 | AUTH_COOKIE_NAME=bando_local 8 | API=http://localhost:8000 9 | GOOGLE_MAPS_API_KEY= 10 | 11 | MAGIC_LINK_SECRET= 12 | MAGIC_LINK_RPC_URL= 13 | MAGIC_LINK_CHAIN_ID=11155111 14 | 15 | INTERCOM_APP_ID= 16 | 17 | # Firebase 18 | FIREBASE_API_KEY= 19 | FIREBASE_AUTH_DOMAIN= 20 | FIREBASE_PROJECT_ID= 21 | FIREBASE_STORAGE_BUCKET= 22 | FIREBASE_MESSAGING_SENDER_ID= 23 | FIREBASE_APP_ID= 24 | FIREBASE_MEASUREMENT_ID= 25 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Logs 2 | logs 3 | *.log 4 | npm-debug.log* 5 | yarn-debug.log* 6 | yarn-error.log* 7 | pnpm-debug.log* 8 | lerna-debug.log* 9 | 10 | node_modules 11 | coverage 12 | test_reports 13 | dist 14 | dist-ssr 15 | *.local 16 | 17 | # Editor directories and files 18 | .vscode/* 19 | !.vscode/extensions.json 20 | .idea 21 | .DS_Store 22 | *.suo 23 | *.ntvs* 24 | *.njsproj 25 | *.sln 26 | *.sw? 27 | .env -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env sh 2 | . "$(dirname -- "$0")/_/husky.sh" 3 | 4 | yarn lint 5 | -------------------------------------------------------------------------------- /.husky/pre-push: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env sh 2 | . "$(dirname -- "$0")/_/husky.sh" 3 | 4 | yarn test-ci 5 | -------------------------------------------------------------------------------- /.nvmrc: -------------------------------------------------------------------------------- 1 | v20.12.2 2 | -------------------------------------------------------------------------------- /.swcrc: -------------------------------------------------------------------------------- 1 | 2 | { 3 | "jsc": { 4 | "target": "es2020", 5 | "externalHelpers": false, 6 | "parser": { 7 | "syntax": "typescript", 8 | "tsx": true, 9 | "decorators": false, 10 | "dynamicImport": false 11 | }, 12 | "transform": { 13 | "react": { 14 | "pragma": "React.createElement", 15 | "pragmaFrag": "React.Fragment", 16 | "throwIfNamespace": true, 17 | "development": false, 18 | "useBuiltins": false, 19 | "runtime": "automatic" 20 | }, 21 | "hidden": { 22 | "jest": true 23 | } 24 | } 25 | }, 26 | "module": { 27 | "type": "commonjs", 28 | "strict": false, 29 | "strictMode": true, 30 | "noInterop": false, 31 | "lazy": false 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | 2 | # Contributing to React Bando 3 | 4 | 🎉 Thank you for your interest in contributing to React Bando! 🎉 5 | 6 | We welcome contributions from everyone. By participating in this project, you agree to abide by our [Code of Conduct](CODE_OF_CONDUCT.md). 7 | 8 | ## How to Contribute 9 | 10 | ### Reporting Bugs 11 | 12 | If you encounter a bug or issue with the project, please follow these steps: 13 | 14 | 1. Check the [existing issues](https://github.com/bandohq/react-bando/issues) to see if the issue has already been reported. 15 | 2. If it hasn't, [create a new issue](https://github.com/bandohq/react-bando/issues/new) with a descriptive title and detailed description of the problem, including steps to reproduce if possible. 16 | 17 | ### Suggesting Enhancements 18 | 19 | We welcome suggestions for how we can improve React Bando. If you have an idea for an enhancement, follow these steps: 20 | 21 | 1. Check the [existing issues](https://github.com/bandohq/react-bando/issues) to see if the enhancement has already been suggested. 22 | 2. If it hasn't, [create a new issue](https://github.com/bandohq/react-bando/issues/new) with a clear title and description of your enhancement idea. 23 | 24 | ### Pull Requests 25 | 26 | We actively welcome your pull requests! To contribute code to React Bando, follow these steps: 27 | 28 | 1. Fork the repository and create your own branch off the `main` branch. 29 | 2. Make your changes and ensure the code is well-documented and tested. 30 | 3. Open a pull request (PR) to the `main` branch of the original repository, describing the changes you've made. 31 | 32 | ### Code Style 33 | 34 | - Follow the coding style and conventions used throughout the project. 35 | - Ensure any new code adheres to existing patterns and practices. 36 | - Write clear commit messages and PR descriptions. 37 | 38 | ### Code of Conduct 39 | 40 | This project and everyone participating in it is governed by our [Code of Conduct](CODE_OF_CONDUCT.md). By participating, you are expected to uphold this code. Please report unacceptable behavior to [maintainer's email]. 41 | 42 | ### License 43 | 44 | By contributing to React Bando, you agree that your contributions will be licensed under the [LICENSE](LICENSE) file of the project. 45 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2024 Bando 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # React + TypeScript + Vite 2 | 3 | This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules. 4 | 5 | Currently, two official plugins are available: 6 | 7 | - [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh 8 | - [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh 9 | 10 | ## Expanding the ESLint configuration 11 | 12 | If you are developing a production application, we recommend updating the configuration to enable type aware lint rules: 13 | 14 | - Configure the top-level `parserOptions` property like this: 15 | 16 | ```js 17 | export default { 18 | // other rules... 19 | parserOptions: { 20 | ecmaVersion: 'latest', 21 | sourceType: 'module', 22 | project: ['./tsconfig.json', './tsconfig.node.json'], 23 | tsconfigRootDir: __dirname, 24 | }, 25 | } 26 | ``` 27 | 28 | - Replace `plugin:@typescript-eslint/recommended` to `plugin:@typescript-eslint/recommended-type-checked` or `plugin:@typescript-eslint/strict-type-checked` 29 | - Optionally add `plugin:@typescript-eslint/stylistic-type-checked` 30 | - Install [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) and add `plugin:react/recommended` & `plugin:react/jsx-runtime` to the `extends` list 31 | -------------------------------------------------------------------------------- /SECURITY.md: -------------------------------------------------------------------------------- 1 | # Security Policy 2 | 3 | ## Supported Versions 4 | 5 | Use this section to tell people about which versions of your project are 6 | currently being supported with security updates. 7 | 8 | | Version | Supported | 9 | | ------- | ------------------ | 10 | | 1.0.0 | :white_check_mark: | 11 | 12 | ## Reporting a Vulnerability 13 | 14 | To report vulnerabilities please email to platform@bando.cool with the following: 15 | - Description of the finding 16 | - How to replicate the vulnerability 17 | 18 | We'll review your submission and contact about its acceptance or rejection. 19 | -------------------------------------------------------------------------------- /jest.config.cjs: -------------------------------------------------------------------------------- 1 | const defaultCoverage = { 2 | branches: 80, 3 | functions: 85, 4 | lines: 95, 5 | statements: 90, 6 | }; 7 | 8 | module.exports = { 9 | roots: ['/src'], 10 | collectCoverage: true, 11 | collectCoverageFrom: [ 12 | '**/*.{js,jsx,ts,tsx}', 13 | '!**/*.d.ts', 14 | '!__mocks__/**', 15 | '!.next/**', 16 | '!coverage/**', 17 | '!.eslintrc.js', 18 | '!jest/**', 19 | '!src/helpers/**', 20 | '!src/config/axios.ts', 21 | ], 22 | coverageThreshold: { 23 | global: defaultCoverage, 24 | 'src/components/**': defaultCoverage, 25 | 'src/hooks/**': defaultCoverage, 26 | // 'src/store/**': defaultCoverage, 27 | // 'src/layouts/**': defaultCoverage, 28 | // 'src/pages/**': defaultCoverage, 29 | 'src/config/**': defaultCoverage, 30 | }, 31 | setupFiles: ['fake-indexeddb/auto'], 32 | setupFilesAfterEnv: ['jest-extended/all', './jest/setupTests.ts'], 33 | testEnvironment: 'jsdom', 34 | transform: { 35 | '^.+\\.(ts|js|tsx|jsx|mjs)$': ['@swc/jest'], 36 | '^.+\\.svg$': '/jest/svgTransformer.ts', 37 | }, 38 | transformIgnorePatterns: [ 39 | '[/\\\\]node_modules[/\\\\](?!(@uppy|nanoid|preact|exifr|camelize-ts)).+\\.(js|jsx|mjs|cjs|ts|tsx)$', 40 | '^.+\\.module\\.(css|sass|scss)$', 41 | ], 42 | modulePaths: ['/src'], 43 | moduleNameMapper: { 44 | '^.+\\.(css|scss|png)$': '/jest/CSSStub.ts', 45 | '@config/(.*)': '/src/config/$1', 46 | '@pages/(.*)': '/src/pages/$1', 47 | '@layouts/(.*)': '/src/layouts/$1', 48 | '@components/(.*)': '/src/components/$1', 49 | '@translations/(.*)': '/src/translations/$1', 50 | '@assets/(.*)': '/src/assets/$1', 51 | '@styles/(.*)': '/src/styles/$1', 52 | '@hooks/(.*)': '/src/hooks/$1', 53 | '@store/(.*)': '/src/store/$1', 54 | '@helpers/(.*)': '/src/helpers/$1', 55 | }, 56 | moduleFileExtensions: ['tsx', 'ts', 'js', 'json', 'jsx', 'node'], 57 | watchPlugins: ['jest-watch-typeahead/filename', 'jest-watch-typeahead/testname'], 58 | resetMocks: true, 59 | testEnvironmentOptions: { 60 | customExportConditions: [''], 61 | }, 62 | }; 63 | -------------------------------------------------------------------------------- /jest/CSSStub.ts: -------------------------------------------------------------------------------- 1 | module.exports = {}; 2 | -------------------------------------------------------------------------------- /jest/setupTests.ts: -------------------------------------------------------------------------------- 1 | // jest-dom adds custom jest matchers for asserting on DOM nodes. 2 | // allows you to do things like: 3 | // expect(element).toHaveTextContent(/react/i) 4 | // learn more: https://github.com/testing-library/jest-dom 5 | 6 | import '@testing-library/jest-dom'; 7 | import 'jest-localstorage-mock'; 8 | 9 | import { TextEncoder, TextDecoder } from 'util'; 10 | import { Response } from 'cross-fetch'; 11 | 12 | jest.mock('@intercom/messenger-js-sdk'); 13 | 14 | process.env.API = 'https://api.com'; 15 | process.env.AUTH_COOKIE_NAME = 'bando_test'; 16 | 17 | console.warn = jest.fn(); 18 | console.error = jest.fn(); 19 | global.window = Object.create(window); 20 | 21 | HTMLElement.prototype.scrollIntoView = jest.fn(); 22 | Object.defineProperty(window, 'location', { 23 | value: { 24 | href: '', 25 | replace: jest.fn(), 26 | origin: 'https://te.st', 27 | pathname: '/', 28 | }, 29 | }); 30 | 31 | global.ResizeObserver = require('resize-observer-polyfill'); 32 | Object.assign(global, { TextDecoder, TextEncoder, Response }); 33 | 34 | const asString = jest.fn().mockImplementation(() => '{}'); 35 | const asBoolean = jest.fn().mockImplementation(() => true); 36 | const asNumber = jest.fn().mockImplementation(() => 1); 37 | const remoteConfigValue = { 38 | asString, 39 | asBoolean, 40 | asNumber, 41 | }; 42 | 43 | jest.mock('firebase/remote-config', () => ({ 44 | getAll: jest.fn().mockReturnValue({ 45 | USE_GOOGLE_AUTOCOMPLETE: remoteConfigValue, 46 | }), 47 | getValue: jest.fn().mockReturnValue(remoteConfigValue), 48 | getRemoteConfig: jest.fn().mockImplementation(() => ({})), 49 | fetchAndActivate: jest.fn().mockResolvedValue(true), 50 | })); 51 | -------------------------------------------------------------------------------- /jest/svgTransformer.ts: -------------------------------------------------------------------------------- 1 | // See https://stackoverflow.com/questions/58603201/jest-cannot-load-svg-file 2 | module.exports = { 3 | process() { 4 | return { 5 | code: 'module.exports = {};', 6 | }; 7 | }, 8 | getCacheKey() { 9 | // The output is always the same. 10 | return 'svgTransform'; 11 | }, 12 | }; 13 | -------------------------------------------------------------------------------- /public/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/public/favicon.png -------------------------------------------------------------------------------- /public/favicon.png:Zone.Identifier: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/public/favicon.png:Zone.Identifier -------------------------------------------------------------------------------- /public/favicon.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/fonts/Bueno-Black.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/public/fonts/Bueno-Black.ttf -------------------------------------------------------------------------------- /public/fonts/Bueno-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/public/fonts/Bueno-Bold.ttf -------------------------------------------------------------------------------- /public/fonts/Bueno-Light.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/public/fonts/Bueno-Light.otf -------------------------------------------------------------------------------- /public/fonts/Bueno-Light.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/public/fonts/Bueno-Light.ttf -------------------------------------------------------------------------------- /public/fonts/Bueno-Medium.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/public/fonts/Bueno-Medium.otf -------------------------------------------------------------------------------- /public/fonts/Bueno-Regular.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/public/fonts/Bueno-Regular.otf -------------------------------------------------------------------------------- /public/fonts/TWKEverett-Bold.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/public/fonts/TWKEverett-Bold.otf -------------------------------------------------------------------------------- /public/fonts/TWKEverett-Extrabold-web.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/public/fonts/TWKEverett-Extrabold-web.ttf -------------------------------------------------------------------------------- /public/fonts/TWKEverett-Light.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/public/fonts/TWKEverett-Light.otf -------------------------------------------------------------------------------- /public/fonts/TWKEverett-LightItalic.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/public/fonts/TWKEverett-LightItalic.otf -------------------------------------------------------------------------------- /public/fonts/TWKEverett-Medium.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/public/fonts/TWKEverett-Medium.otf -------------------------------------------------------------------------------- /public/fonts/TWKEverett-Regular.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/public/fonts/TWKEverett-Regular.otf -------------------------------------------------------------------------------- /public/fonts/TWKEverett-Super.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/public/fonts/TWKEverett-Super.otf -------------------------------------------------------------------------------- /public/fonts/TWKEverett-Thin.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/public/fonts/TWKEverett-Thin.otf -------------------------------------------------------------------------------- /public/fonts/TWKEverett-UltralightItalic.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/public/fonts/TWKEverett-UltralightItalic.otf -------------------------------------------------------------------------------- /public/images/2D-Shape-p-500.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/public/images/2D-Shape-p-500.png -------------------------------------------------------------------------------- /public/images/2D-Shape.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/public/images/2D-Shape.png -------------------------------------------------------------------------------- /public/images/Abraham-Cobos-p-500.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/public/images/Abraham-Cobos-p-500.jpeg -------------------------------------------------------------------------------- /public/images/Abraham-Cobos-p-800.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/public/images/Abraham-Cobos-p-800.jpeg -------------------------------------------------------------------------------- /public/images/Abraham-Cobos.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/public/images/Abraham-Cobos.jpeg -------------------------------------------------------------------------------- /public/images/BITCOIN-WRAPPED.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/public/images/BITCOIN-WRAPPED.png -------------------------------------------------------------------------------- /public/images/Background-p-1080.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/public/images/Background-p-1080.png -------------------------------------------------------------------------------- /public/images/Background-p-500.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/public/images/Background-p-500.png -------------------------------------------------------------------------------- /public/images/Background-p-800.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/public/images/Background-p-800.png -------------------------------------------------------------------------------- /public/images/Background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/public/images/Background.png -------------------------------------------------------------------------------- /public/images/Base-p-1080.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/public/images/Base-p-1080.jpeg -------------------------------------------------------------------------------- /public/images/Base-p-500.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/public/images/Base-p-500.jpeg -------------------------------------------------------------------------------- /public/images/Base-p-800.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/public/images/Base-p-800.jpeg -------------------------------------------------------------------------------- /public/images/Base.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/public/images/Base.jpeg -------------------------------------------------------------------------------- /public/images/CheckGreen.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /public/images/Eduardo-Rios-p-500.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/public/images/Eduardo-Rios-p-500.jpeg -------------------------------------------------------------------------------- /public/images/Eduardo-Rios.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/public/images/Eduardo-Rios.jpeg -------------------------------------------------------------------------------- /public/images/Ellipse-2069.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/public/images/Ellipse-2069.png -------------------------------------------------------------------------------- /public/images/Ellipse-2070.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/public/images/Ellipse-2070.png -------------------------------------------------------------------------------- /public/images/Ellipse-2071.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/public/images/Ellipse-2071.png -------------------------------------------------------------------------------- /public/images/Hiro-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/public/images/Hiro-logo.png -------------------------------------------------------------------------------- /public/images/Imagen-deposito-p-500.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/public/images/Imagen-deposito-p-500.png -------------------------------------------------------------------------------- /public/images/Imagen-deposito.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/public/images/Imagen-deposito.png -------------------------------------------------------------------------------- /public/images/Luis-Gabriel.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/public/images/Luis-Gabriel.jpeg -------------------------------------------------------------------------------- /public/images/Model-Cone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/public/images/Model-Cone.png -------------------------------------------------------------------------------- /public/images/Model-Sphere.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/public/images/Model-Sphere.png -------------------------------------------------------------------------------- /public/images/Model-Tank.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/public/images/Model-Tank.png -------------------------------------------------------------------------------- /public/images/OG.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/public/images/OG.png -------------------------------------------------------------------------------- /public/images/Portafolio-p-1080.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/public/images/Portafolio-p-1080.png -------------------------------------------------------------------------------- /public/images/Portafolio-p-500.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/public/images/Portafolio-p-500.png -------------------------------------------------------------------------------- /public/images/Portafolio-p-800.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/public/images/Portafolio-p-800.png -------------------------------------------------------------------------------- /public/images/Portafolio.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/public/images/Portafolio.png -------------------------------------------------------------------------------- /public/images/Safe-p-1080.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/public/images/Safe-p-1080.png -------------------------------------------------------------------------------- /public/images/Safe-p-1600.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/public/images/Safe-p-1600.png -------------------------------------------------------------------------------- /public/images/Safe-p-500.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/public/images/Safe-p-500.png -------------------------------------------------------------------------------- /public/images/Safe-p-800.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/public/images/Safe-p-800.png -------------------------------------------------------------------------------- /public/images/Safe.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/public/images/Safe.png -------------------------------------------------------------------------------- /public/images/T04Q2NUKE93-U054FKGVAM6-2478d51583e0-512-p-500.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/public/images/T04Q2NUKE93-U054FKGVAM6-2478d51583e0-512-p-500.png -------------------------------------------------------------------------------- /public/images/T04Q2NUKE93-U054FKGVAM6-2478d51583e0-512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/public/images/T04Q2NUKE93-U054FKGVAM6-2478d51583e0-512.png -------------------------------------------------------------------------------- /public/images/USDM.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/public/images/USDM.png -------------------------------------------------------------------------------- /public/images/Vector-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/public/images/Vector-1.png -------------------------------------------------------------------------------- /public/images/Vector-10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/public/images/Vector-10.png -------------------------------------------------------------------------------- /public/images/Vector-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/public/images/Vector-2.png -------------------------------------------------------------------------------- /public/images/Vector.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/public/images/Vector.png -------------------------------------------------------------------------------- /public/images/Vector_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/public/images/Vector_1.png -------------------------------------------------------------------------------- /public/images/WhatsApp-Image-2023-08-28-at-19.51.31-p-1080.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/public/images/WhatsApp-Image-2023-08-28-at-19.51.31-p-1080.jpeg -------------------------------------------------------------------------------- /public/images/WhatsApp-Image-2023-08-28-at-19.51.31-p-500.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/public/images/WhatsApp-Image-2023-08-28-at-19.51.31-p-500.jpeg -------------------------------------------------------------------------------- /public/images/WhatsApp-Image-2023-08-28-at-19.51.31-p-800.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/public/images/WhatsApp-Image-2023-08-28-at-19.51.31-p-800.jpeg -------------------------------------------------------------------------------- /public/images/WhatsApp-Image-2023-08-28-at-19.51.31.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/public/images/WhatsApp-Image-2023-08-28-at-19.51.31.jpeg -------------------------------------------------------------------------------- /public/images/bandoSwap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/public/images/bandoSwap.png -------------------------------------------------------------------------------- /public/images/bando_full_green.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/public/images/bando_full_green.png -------------------------------------------------------------------------------- /public/images/bgKyc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/public/images/bgKyc.png -------------------------------------------------------------------------------- /public/images/bgKyc2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/public/images/bgKyc2.png -------------------------------------------------------------------------------- /public/images/ezgif-2-8ea0987634.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/public/images/ezgif-2-8ea0987634.gif -------------------------------------------------------------------------------- /public/images/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/public/images/favicon.png -------------------------------------------------------------------------------- /public/images/gorduki-nounish-512-p-500.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/public/images/gorduki-nounish-512-p-500.png -------------------------------------------------------------------------------- /public/images/gorduki-nounish-512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/public/images/gorduki-nounish-512.png -------------------------------------------------------------------------------- /public/images/image-58.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/public/images/image-58.png -------------------------------------------------------------------------------- /public/images/image-58_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/public/images/image-58_1.png -------------------------------------------------------------------------------- /public/images/image-60.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/public/images/image-60.png -------------------------------------------------------------------------------- /public/images/image-60_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/public/images/image-60_1.png -------------------------------------------------------------------------------- /public/images/image-61.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/public/images/image-61.png -------------------------------------------------------------------------------- /public/images/image-61_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/public/images/image-61_1.png -------------------------------------------------------------------------------- /public/images/image-62.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/public/images/image-62.png -------------------------------------------------------------------------------- /public/images/ramp.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/public/images/ramp.gif -------------------------------------------------------------------------------- /public/images/shiba.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/public/images/shiba.webp -------------------------------------------------------------------------------- /public/images/steth-steth-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/public/images/steth-steth-logo.png -------------------------------------------------------------------------------- /public/images/webclip.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/public/images/webclip.png -------------------------------------------------------------------------------- /src/assets/ArrowDown.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /src/assets/CaretDown.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/assets/CaretGreen.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/assets/CaretWhite.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/assets/CheckGreen.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /src/assets/CopyToClipboard.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/assets/Cross.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /src/assets/Mexico.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /src/assets/TokenPlaceholder.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /src/assets/TokenPlaceholderGray.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/assets/TokenPlaceholderGray.svg:Zone.Identifier: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/src/assets/TokenPlaceholderGray.svg:Zone.Identifier -------------------------------------------------------------------------------- /src/assets/TransactionArrow.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /src/assets/UpDownArrow.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /src/assets/bg-drawer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/src/assets/bg-drawer.png -------------------------------------------------------------------------------- /src/assets/chains/arbitrum.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/src/assets/chains/arbitrum.png -------------------------------------------------------------------------------- /src/assets/chains/bnb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/src/assets/chains/bnb.png -------------------------------------------------------------------------------- /src/assets/chains/brett.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/src/assets/chains/brett.png -------------------------------------------------------------------------------- /src/assets/chains/celo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/src/assets/chains/celo.png -------------------------------------------------------------------------------- /src/assets/chains/ceur.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/src/assets/chains/ceur.png -------------------------------------------------------------------------------- /src/assets/chains/cusd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/src/assets/chains/cusd.png -------------------------------------------------------------------------------- /src/assets/chains/degen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/src/assets/chains/degen.png -------------------------------------------------------------------------------- /src/assets/chains/eth.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/src/assets/chains/eth.png -------------------------------------------------------------------------------- /src/assets/chains/maga.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/src/assets/chains/maga.png -------------------------------------------------------------------------------- /src/assets/chains/matic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/src/assets/chains/matic.png -------------------------------------------------------------------------------- /src/assets/chains/mpeth.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/src/assets/chains/mpeth.png -------------------------------------------------------------------------------- /src/assets/chains/optimism.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/src/assets/chains/optimism.png -------------------------------------------------------------------------------- /src/assets/chains/usdb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/src/assets/chains/usdb.png -------------------------------------------------------------------------------- /src/assets/chains/usdc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/src/assets/chains/usdc.png -------------------------------------------------------------------------------- /src/assets/chains/usdt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/src/assets/chains/usdt.png -------------------------------------------------------------------------------- /src/assets/chains/weth.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/src/assets/chains/weth.png -------------------------------------------------------------------------------- /src/assets/hielocos.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/src/assets/hielocos.png -------------------------------------------------------------------------------- /src/assets/image-58_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/src/assets/image-58_1.png -------------------------------------------------------------------------------- /src/assets/ine_ref.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/src/assets/ine_ref.png -------------------------------------------------------------------------------- /src/assets/networks/arbitrum.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/src/assets/networks/arbitrum.png -------------------------------------------------------------------------------- /src/assets/networks/base.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/src/assets/networks/base.png -------------------------------------------------------------------------------- /src/assets/networks/binance-smart-chain.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/src/assets/networks/binance-smart-chain.png -------------------------------------------------------------------------------- /src/assets/networks/binance-smart-chain.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /src/assets/networks/blast.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/src/assets/networks/blast.png -------------------------------------------------------------------------------- /src/assets/networks/celo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/src/assets/networks/celo.png -------------------------------------------------------------------------------- /src/assets/networks/ethereum.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/src/assets/networks/ethereum.png -------------------------------------------------------------------------------- /src/assets/networks/optimism.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/src/assets/networks/optimism.png -------------------------------------------------------------------------------- /src/assets/networks/polygon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/src/assets/networks/polygon.png -------------------------------------------------------------------------------- /src/assets/networks/scroll.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bandohq/react-bando/589c6bd25d0d888695f8ceee6ab18b099df30556/src/assets/networks/scroll.png -------------------------------------------------------------------------------- /src/assets/telegram.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/assets/transactions.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/components/Alert/index.test.tsx: -------------------------------------------------------------------------------- 1 | import { render, screen } from '@testing-library/react'; 2 | import BandoAlert from '.'; 3 | 4 | describe('BandoAlert', () => { 5 | it('should render BandoInfoAlert', async () => { 6 | render( 7 | , 13 | ); 14 | screen.getByText('This is an outlined info Alert.'); 15 | }); 16 | }); 17 | -------------------------------------------------------------------------------- /src/components/Alert/index.tsx: -------------------------------------------------------------------------------- 1 | import Alert, { AlertProps } from '@mui/material/Alert'; 2 | import AlertTitle from '@mui/material/AlertTitle'; 3 | import { styled } from '@mui/material/styles'; 4 | 5 | export type BandoAlertProps = AlertProps & { 6 | title?: string; 7 | text: string; 8 | }; 9 | 10 | const StyledAlert = styled(Alert)({ 11 | margin: '0 8px', 12 | }); 13 | 14 | export default function BandoAlert({ title, text, severity, variant, icon }: BandoAlertProps) { 15 | return ( 16 | 17 | {title && {title}} 18 | {text} 19 | 20 | ); 21 | } 22 | -------------------------------------------------------------------------------- /src/components/BoxContainer/index.test.tsx: -------------------------------------------------------------------------------- 1 | import { render, screen } from '@testing-library/react'; 2 | import BoxContainer from '.'; 3 | 4 | describe('BoxContainer', () => { 5 | it('should render BoxContainer ', async () => { 6 | render(Page content); 7 | screen.getByLabelText('container-box'); 8 | screen.getByText('Page content'); 9 | }); 10 | }); 11 | -------------------------------------------------------------------------------- /src/components/BoxContainer/index.tsx: -------------------------------------------------------------------------------- 1 | import Box, { BoxProps } from '@mui/material/Box'; 2 | import { styled } from '@mui/material/styles'; 3 | 4 | const BoxContainer = styled(Box)(({ theme }) => ({ 5 | padding: theme.spacing(2), 6 | backgroundColor: theme.palette.primary.contrastText, 7 | display: 'flex', 8 | flexDirection: 'column', 9 | gap: theme.spacing(2), 10 | borderRadius: theme.spacing(1), 11 | boxShadow: '0 4px 4px rgb(0 0 0 / 25%)', 12 | })); 13 | 14 | export default BoxContainer; 15 | -------------------------------------------------------------------------------- /src/components/Button/index.test.tsx: -------------------------------------------------------------------------------- 1 | import { render, screen } from '@testing-library/react'; 2 | import userEvent from '@testing-library/user-event'; 3 | 4 | import BandoButton from '.'; 5 | 6 | describe('BandoButton', () => { 7 | const onClick = jest.fn(); 8 | 9 | it('should render button and trigger onClick action', async () => { 10 | render(Click me); 11 | const btn = screen.getByRole('button', { name: /Click me/i }); 12 | 13 | await userEvent.click(btn); 14 | expect(onClick).toHaveBeenCalledTimes(1); 15 | }); 16 | }); 17 | -------------------------------------------------------------------------------- /src/components/Button/index.tsx: -------------------------------------------------------------------------------- 1 | import ButtonBase, { ButtonProps } from '@mui/material/Button'; 2 | import { styled } from '@mui/material/styles'; 3 | 4 | const BandoButton = styled(ButtonBase)(({ theme }) => ({ 5 | borderRadius: theme.spacing(1), 6 | boxShadow: 'none', 7 | textTransform: 'none', 8 | padding: '12px 24px', 9 | fontSize: '1rem', 10 | lineHeight: '1.25rem', 11 | fontFamily: 'Kanit', 12 | fontWeight: 'bold', 13 | '&.rounded': { borderRadius: '24px' }, 14 | '&:hover:not(.MuiButton-text)': { 15 | backgroundColor: theme.palette.primary.main, 16 | backgroundImage: 'linear-gradient(rgb(0 0 0/20%) 0 0)', 17 | boxShadow: 'none', 18 | }, 19 | '&.MuiButton-sizeSmall': { 20 | padding: '10px 18px', 21 | }, 22 | })); 23 | 24 | export default BandoButton; 25 | -------------------------------------------------------------------------------- /src/components/CurrencyImg/index.tsx: -------------------------------------------------------------------------------- 1 | import { styled } from '@mui/material/styles'; 2 | 3 | const CurrencyImg = styled('img')(({ theme }) => ({ 4 | marginTop: '-10px', 5 | marginBottom: '-10px', 6 | padding: 0, 7 | marginRight: theme.spacing(1), 8 | width: 37, 9 | height: 37, 10 | })); 11 | 12 | export default CurrencyImg; 13 | -------------------------------------------------------------------------------- /src/components/Footer/index.test.tsx: -------------------------------------------------------------------------------- 1 | import { render, screen } from '@testing-library/react'; 2 | import Footer from '@components/Footer'; 3 | 4 | test('renders Footer component', () => { 5 | render(