algodex / algodex-react

Frontend for Algodex
https://app.algodex.com/about
GNU Affero General Public License v3.0
17 stars 3 forks source link
algodex algorand blockchain cryptocurrency nextjs react

algodex-react

story-book semantic-release

CI Sauce Test Status Maintainability Test Coverage

Sauce Test Status

Main UI Project for Algodex. This is a Next.js project bootstrapped with create-next-app. Note that development is the default branch.

Getting Started

Clone and install the necessary libraries

yarn

Run the development server:

npm run dev
# or
yarn dev

Open http://localhost:3000 with your browser to see the result.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.

How to add additional languages

How to add additional languages:

  1. Edit i18n.json to add additional supported locales under key "locales". { "locales": ["en", "es"], // < --- add new locales to this array ... }
  2. Copy the json files inside locales/en into another folder per locale
  3. JSON files are separated by section mostly
  4. Change the text to language of choice per json file, key names must stay the same
  5. In components/header/index.jsx, update localeToFlags with the appropriate locale key to flag country code. Country codes will display flags according to the react-country-flag library