diff options
author | Sebastian <sebasjm@gmail.com> | 2023-09-27 11:15:36 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2023-09-27 11:15:36 -0300 |
commit | 649d7046936f6964737028385e3cbe9ad0097c88 (patch) | |
tree | 9e7dc09642dc67b8311908f18cf773d4d999ff81 | |
parent | 1e4f21cc76345f3881ea8e5ea0e94d27d26da609 (diff) | |
download | wallet-core-649d7046936f6964737028385e3cbe9ad0097c88.tar.xz |
login time
-rw-r--r-- | packages/demobank-ui/src/hooks/useCredentialsChecker.ts | 2 | ||||
-rw-r--r-- | packages/demobank-ui/src/pages/BankFrame.tsx | 11 | ||||
-rw-r--r-- | packages/demobank-ui/src/pages/RegistrationPage.tsx | 4 |
3 files changed, 9 insertions, 8 deletions
diff --git a/packages/demobank-ui/src/hooks/useCredentialsChecker.ts b/packages/demobank-ui/src/hooks/useCredentialsChecker.ts index 02f4544db..7745e2f5e 100644 --- a/packages/demobank-ui/src/hooks/useCredentialsChecker.ts +++ b/packages/demobank-ui/src/hooks/useCredentialsChecker.ts @@ -15,7 +15,7 @@ export function useCredentialsChecker() { scope: "readwrite" as "write", //FIX: different than merchant duration: { // d_us: "forever" //FIX: should return shortest - d_us: 1000 * 1000 * 5 //60 * 60 * 24 * 7 + d_us: 60 * 60 * 24 * 7 }, refreshable: true, } diff --git a/packages/demobank-ui/src/pages/BankFrame.tsx b/packages/demobank-ui/src/pages/BankFrame.tsx index 3d09fcec7..15ef8a036 100644 --- a/packages/demobank-ui/src/pages/BankFrame.tsx +++ b/packages/demobank-ui/src/pages/BankFrame.tsx @@ -81,7 +81,7 @@ export function BankFrame({ <div class="relative flex h-16 items-center justify-between "> <div class="flex items-center px-2 lg:px-0"> <div class="flex-shrink-0 bg-white rounded-lg"> - <a href="#/"> + <a href="http://test.taler.net/" target="_blank" rel="noreferrer noopener"> <img class="h-8 w-auto" src={logo} @@ -365,7 +365,6 @@ function StatusBanner(): VNode { n.remove(); }} > - Close <svg class="h-8 w-8" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true"> <path d="M6.28 5.22a.75.75 0 00-1.06 1.06L8.94 10l-3.72 3.72a.75.75 0 101.06 1.06L10 11.06l3.72 3.72a.75.75 0 101.06-1.06L11.06 10l3.72-3.72a.75.75 0 00-1.06-1.06L10 8.94 6.28 5.22z" /> </svg> @@ -402,18 +401,20 @@ function TestingTag(): VNode { } function Footer() { + const { i18n } = useTranslationContext() return ( <footer class="bottom-4 mb-4"> <div class="mt-8 mx-8 md:order-1 md:mt-0"> <div> <p class="text-xs leading-5 text-gray-400"> - You can learn more about GNU Taler on our{" "} - <a target="_blank" rel="noreferrer noopener" class="font-semibold text-gray-500 hover:text-gray-400" href="https://taler.net">main website</a>. + <i18n.Translate> + Learn more about <a target="_blank" rel="noreferrer noopener" class="font-semibold text-gray-500 hover:text-gray-400" href="https://taler.net">GNU Taler</a> + </i18n.Translate> </p> </div> <div style="flex-grow:1" /> <p class="text-xs leading-5 text-gray-400"> - Copyright © 2014—2022 Taler Systems SA. {versionText}{" "} + Copyright © 2014—2023 Taler Systems SA. {versionText}{" "} <TestingTag /> </p> </div> diff --git a/packages/demobank-ui/src/pages/RegistrationPage.tsx b/packages/demobank-ui/src/pages/RegistrationPage.tsx index 2e931a144..9ac93bb34 100644 --- a/packages/demobank-ui/src/pages/RegistrationPage.tsx +++ b/packages/demobank-ui/src/pages/RegistrationPage.tsx @@ -181,7 +181,7 @@ function RegistrationForm({ onComplete, onCancel }: { onComplete: () => void, on <div class="flex min-h-full flex-col justify-center"> <div class="sm:mx-auto sm:w-full sm:max-w-sm"> - <h2 class="text-center text-2xl font-bold leading-9 tracking-tight text-gray-900">{i18n.str`Registration form`}</h2> + <h2 class="text-center text-2xl font-bold leading-9 tracking-tight text-gray-900">{i18n.str`Account registration`}</h2> </div> <div class="mt-10 sm:mx-auto sm:w-full sm:max-w-sm"> @@ -374,7 +374,7 @@ function RegistrationForm({ onComplete, onCancel }: { onComplete: () => void, on doRegistrationStep() }} > - <i18n.Translate>Confirm</i18n.Translate> + <i18n.Translate>Register</i18n.Translate> </button> </div> |