Go to file
Linkie Link 21268e5536
UI style updates (#106)
* feat: updates on the button styles

* env: updated yarn.lock

* fix: added account actions

* fix: updated the orbs logic

* fix: fixed the blur presets

* feat: updated the button logic

* fix: wallet modal style adjustments

* fix: updated close icon

* fix: fixed the close button

* fix: fix types

* fix: fixed the build

* tidy: component cleanup

* feat:  added new AccountDetails component

* refactor: propper usage of tailwind

* refactor: imports

* feat: added pages for all scenarios

* fix: fix the loading component

* fix: remove loading from default trade

* fix: fixed the build

* fix: fixed losing the provider on hotplug

* tidy: remove unused code

* fix: added error messages

* add borrow page structure

* env: enhanced debugging by restructuring the ENV object

* fix: fixed the build

* fix: fixed the wording on missing env variables

* feat: added button hover (#112)

* feat: added button hover

* fix: added bg transition to primary buttons

* feat: pages refactored (#111)

* feat: pages refactored

* fix: added loader for AccountNavigation

* fix: fixed the wallet store management

* fix: get rid of the walletSlice and refactor

* fix: added gap to the borrow page

* fix: fixed some dependencies

* fix: added initClients back

* fix: fixed according to feedback

---------

Co-authored-by: bwvdhelm <34470358+bobthebuidlr@users.noreply.github.com>
2023-03-08 10:44:39 +01:00
.github Linter and prettier adjustments (#50) 2022-11-09 10:04:06 +01:00
.vscode Upgrade next (#100) 2023-02-24 09:47:27 +01:00
public updated cards,borrow page (#102) 2023-02-24 15:19:23 +01:00
src UI style updates (#106) 2023-03-08 10:44:39 +01:00
.env.example UI style updates (#106) 2023-03-08 10:44:39 +01:00
.eslintrc.json Linter and prettier adjustments (#50) 2022-11-09 10:04:06 +01:00
.gitignore Upgrade next (#100) 2023-02-24 09:47:27 +01:00
.prettierrc Linter and prettier adjustments (#50) 2022-11-09 10:04:06 +01:00
Dockerfile Upgrade next (#100) 2023-02-24 09:47:27 +01:00
generate_types.sh Withdraw assets from account (#43) 2022-11-07 16:36:12 +00:00
next.config.js Upgrade next (#100) 2023-02-24 09:47:27 +01:00
package.json UI style updates (#106) 2023-03-08 10:44:39 +01:00
postcss.config.js initial setup wip 2022-09-02 15:30:58 +01:00
README.md doc: Add instructions for spinning up a hive instance (#85) 2023-01-23 17:59:17 +08:00
sentry.client.config.js WIP (#12) 2022-09-29 20:21:31 +01:00
sentry.properties sentry setup 2022-09-02 22:29:22 +01:00
sentry.server.config.js WIP (#12) 2022-09-29 20:21:31 +01:00
tailwind.config.js UI style updates (#106) 2023-03-08 10:44:39 +01:00
tsconfig.json Upgrade next (#100) 2023-02-24 09:47:27 +01:00
yarn.lock UI style updates (#106) 2023-03-08 10:44:39 +01:00

This is a Next.js project bootstrapped with create-next-app.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev

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

You can start editing the page by modifying pages/index.tsx. The page auto-updates as you edit the file.

API routes can be accessed on http://localhost:3000/api/hello. This endpoint can be edited in pages/api/hello.ts.

The pages/api directory is mapped to /api/*. Files in this directory are treated as API routes instead of React pages.

Hive endpoint

Much of the requests the app sends are served via a graphql server known as 'Hive'. While this is built for Terra, it should operate fine ontop of any Cosmos chain. If you require a local or testnet deployment of hive, you need to do the following:

Clone the repo

Install all the dependencies:

npm ci

Copy the .env.sample file to .env

cp .env.sample .env

Update LCD_URL and CHAIN_ID to the endpoints of the chain you want to be querying.

In the project directory, you can run:

npm run start:dev

Runs the NodeJs services in the development mode.
Open localhost:8085/graphql to view it in the browser or Postman.

The service will reload if you make edits.

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.