Skip to content

Commit

Permalink
rename web to defi
Browse files Browse the repository at this point in the history
  • Loading branch information
steezeburger committed Jan 13, 2025
1 parent dc6bd85 commit 8fa7543
Show file tree
Hide file tree
Showing 349 changed files with 69 additions and 15 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
14 changes: 7 additions & 7 deletions apps/web/README.md → apps/defi/README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
# Astria BridgePage Web App
# Flame Defi Frontend

This directory contains the source code and tooling for the front-end for
the Astria Flame app.

## `web` application directory structure
## `defi` application directory structure

### Application directory structure

- `app/bridge` - bridge page
- `app/components` - More general React components for the app, e.g. Navbar,
Dropdown, CopyToClipboardButton, etc
- `app/config` - Configuration for the web app
- `app/config` - Configuration for the app
- `app/config/chainConfigs` - Celestia and Astria chain information
- `app/config/components` - components for config, e.g. `NetworkSelector`
- `app/config/contexts` - Config context and context provider
Expand Down Expand Up @@ -53,7 +53,7 @@ the Astria Flame app.
## Commands

```bash
# install npm deps and run web app locally
# install npm deps and run app locally
just cp-env
npm install
npm run dev
Expand All @@ -67,7 +67,7 @@ just t
just f
just l

# build web app static files
# build app static files
npm run build
```

Expand All @@ -79,11 +79,11 @@ npm run build
- create file that will contain the config values

```sh
touch app/config/chainConfigs/ChainConfigsMainnet.ts
touch ./config/chainConfigs/ChainConfigsMainnet.ts
```

- import new configs in
`astria-bridge-web-app/web/src/config/chainConfigs/index.ts`, while renaming
`./config/chainConfigs/index.ts`, while renaming
them

```typescript
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion apps/web/package.json → apps/defi/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "web",
"name": "defi",
"version": "0.1.0",
"type": "module",
"private": true,
Expand Down
File renamed without changes.
File renamed without changes
Loading

0 comments on commit 8fa7543

Please sign in to comment.