diff options
author | Sebastian <sebasjm@gmail.com> | 2022-02-16 15:15:47 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2022-02-16 15:16:21 -0300 |
commit | 3e92c2496868d7905b58be87925f5835965c6bda (patch) | |
tree | 6a9a7967c498cca283ea138766f5b49c9c41c73b /packages/taler-wallet-webextension/src/walletEntryPoint.tsx | |
parent | bc1c33e1ce4ea760fb87de0dee66ca22cce9b7b7 (diff) | |
download | wallet-core-3e92c2496868d7905b58be87925f5835965c6bda.tar.xz |
settings new design
Diffstat (limited to 'packages/taler-wallet-webextension/src/walletEntryPoint.tsx')
-rw-r--r-- | packages/taler-wallet-webextension/src/walletEntryPoint.tsx | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/packages/taler-wallet-webextension/src/walletEntryPoint.tsx b/packages/taler-wallet-webextension/src/walletEntryPoint.tsx index 629b93fc5..7023ad0f3 100644 --- a/packages/taler-wallet-webextension/src/walletEntryPoint.tsx +++ b/packages/taler-wallet-webextension/src/walletEntryPoint.tsx @@ -20,14 +20,19 @@ * @author Florian Dold <dold@taler.net> */ -import { setupI18n } from "@gnu-taler/taler-util"; +import { i18n, setupI18n } from "@gnu-taler/taler-util"; import { createHashHistory } from "history"; import { Fragment, h, render, VNode } from "preact"; import Router, { route, Route } from "preact-router"; import Match from "preact-router/match"; import { useEffect, useState } from "preact/hooks"; import { LogoHeader } from "./components/LogoHeader"; -import { SuccessBox, WalletBox } from "./components/styled"; +import { + NavigationHeader, + NavigationHeaderHolder, + SuccessBox, + WalletBox, +} from "./components/styled"; import { DevContextProvider } from "./context/devContext"; import { IoCProviderForRuntime } from "./context/iocContext"; import { PayPage } from "./cta/Pay"; @@ -35,7 +40,7 @@ import { RefundPage } from "./cta/Refund"; import { TipPage } from "./cta/Tip"; import { WithdrawPage } from "./cta/Withdraw"; import { strings } from "./i18n/strings"; -import { NavBar, Pages } from "./NavigationBar"; +import { Pages, WalletNavBar } from "./NavigationBar"; import { DeveloperPage } from "./popup/DeveloperPage"; import { BackupPage } from "./wallet/BackupPage"; import { DepositPage } from "./wallet/DepositPage"; @@ -94,7 +99,7 @@ function Application(): VNode { return ( <Fragment> <LogoHeader /> - <NavBar devMode={devMode} path={path} /> + <WalletNavBar path={path} /> </Fragment> ); }} |