-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: allow for specialized apps Signed-off-by: Norman Meier <[email protected]> * chore: use teritori-dapp as default Signed-off-by: Norman Meier <[email protected]> * fix: teritori-dapp import Signed-off-by: Norman Meier <[email protected]> * feat: configure gno dapp Signed-off-by: Norman Meier <[email protected]> * feat: improve gno app Signed-off-by: Norman Meier <[email protected]> * feat: improve gno dapp Signed-off-by: Norman Meier <[email protected]> * feat: per-app netlify config Signed-off-by: Norman Meier <[email protected]> * fix: remove root netlify.toml Signed-off-by: Norman Meier <[email protected]> * fix: sed fail Signed-off-by: Norman Meier <[email protected]> * fix: hard noobing Signed-off-by: Norman Meier <[email protected]> * fix: restore teritori-dapp Signed-off-by: Norman Meier <[email protected]> * fix: rm root netlify again Signed-off-by: Norman Meier <[email protected]> * chore: fix-typo Signed-off-by: Norman Meier <[email protected]> * fix: teritori-dapp index Signed-off-by: Norman Meier <[email protected]> * feat: custom home Signed-off-by: Norman Meier <[email protected]> * fix: commit fail Signed-off-by: Norman Meier <[email protected]> * fix: teritori-dapp home config Signed-off-by: Norman Meier <[email protected]> * fix: include RedirectHome screen Signed-off-by: Norman Meier <[email protected]> * fix: home config Signed-off-by: Norman Meier <[email protected]> --------- Signed-off-by: Norman Meier <[email protected]>
- Loading branch information
Showing
27 changed files
with
746 additions
and
555 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import { AppConfig } from "@/context/AppConfigProvider"; | ||
import AppRoot from "@/dapp-root/App"; | ||
|
||
const config: AppConfig = { | ||
disableBuyTokensButton: true, | ||
disableDAppStore: true, | ||
forceNetworkList: ["gno-test5", "gno-portal"], | ||
forceDAppsList: ["feed", "organizations"], | ||
defaultNetworkId: "gno-test5", | ||
homeScreen: "Feed", | ||
}; | ||
|
||
export const App: React.FC = () => { | ||
return <AppRoot config={config} />; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import { registerRootComponent } from "expo"; | ||
|
||
import { App } from "./App"; | ||
|
||
// registerRootComponent calls AppRegistry.registerComponent('main', () => App); | ||
// It also ensures that whether you load the app in Expo Go or in a native build, | ||
// the environment is set up appropriately | ||
registerRootComponent(App); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
[build] | ||
command = 'sed -i "s/teritori-dapp/gno-dapp/" package.json && npm i -g sharp-cli && npx expo-optimize && npx expo export -p web' | ||
publish = '/dist' | ||
[build.environment] | ||
NODE_OPTIONS = "--max_old_space_size=4096" | ||
[[redirects]] | ||
from = "/*" | ||
to = "/index.html" | ||
status = 200 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import { AppConfig } from "@/context/AppConfigProvider"; | ||
import AppRoot from "@/dapp-root/App"; | ||
|
||
const config: AppConfig = { | ||
defaultNetworkId: "teritori", | ||
homeScreen: "Home", | ||
}; | ||
|
||
export const App: React.FC = () => { | ||
return <AppRoot config={config} />; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import { registerRootComponent } from "expo"; | ||
|
||
import { App } from "./App"; | ||
|
||
// registerRootComponent calls AppRegistry.registerComponent('main', () => App); | ||
// It also ensures that whether you load the app in Expo Go or in a native build, | ||
// the environment is set up appropriately | ||
registerRootComponent(App); |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.