This directory contains the source code and tooling for the front-end for the Astria bridge.
public/index.html
- html meta stuff, import styles and fonts
- define React root element
src/index.tsx
- React application setup
- import styles
src/App.tsx
- main application component
- define routes
- use context providers
src/chainInfos
- Celestia and Astria chain informationsrc/components
- React componentssrc/contexts
- React context definitionssrc/pages
- React components for each page
src/pages/Layout.tsx
- page layout component using
<Outlet />
- contains
<Navbar />
,<Notification />
- page layout component using
src/providers
- React context provider definitionssrc/services
- api services
- Keplr services
- IBC services
- 3rd party wrappers
src/styles
- all style definitions
- using scss
- using bulma css framework
src/types
- type definitionssrc/utils
- utility functions
# install npm deps and run web app locally
just install-web-deps
just generate-initial-web-env
just run-web-local
# build web app static files
just build-web