From 26e77181d8c1d44a27849679d35ac6ac871c1dcd Mon Sep 17 00:00:00 2001
From: Sebastian <sebasjm@gmail.com>
Date: Tue, 3 Oct 2023 13:28:44 -0300
Subject: icon link

---
 packages/demobank-ui/src/pages/BankFrame.tsx | 26 +++++++++++++-------------
 1 file changed, 13 insertions(+), 13 deletions(-)

(limited to 'packages/demobank-ui/src/pages/BankFrame.tsx')

diff --git a/packages/demobank-ui/src/pages/BankFrame.tsx b/packages/demobank-ui/src/pages/BankFrame.tsx
index fc8dfd599..6ab6ba3e4 100644
--- a/packages/demobank-ui/src/pages/BankFrame.tsx
+++ b/packages/demobank-ui/src/pages/BankFrame.tsx
@@ -14,19 +14,18 @@
  GNU Taler; see the file COPYING.  If not, see <http://www.gnu.org/licenses/>
  */
 
-import { Amounts, Logger, PaytoUriIBAN, TranslatedString, parsePaytoUri, stringifyPaytoUri } from "@gnu-taler/taler-util";
-import { NotificationMessage, notifyError, notifyException, useNotifications, useTranslationContext } from "@gnu-taler/web-util/browser";
-import { ComponentChildren, Fragment, h, VNode } from "preact";
-import { StateUpdater, useEffect, useErrorBoundary, useState } from "preact/hooks";
+import { Amounts, Logger, TranslatedString, parsePaytoUri } from "@gnu-taler/taler-util";
+import { notifyError, notifyException, useNotifications, useTranslationContext } from "@gnu-taler/web-util/browser";
+import { ComponentChildren, Fragment, VNode, h } from "preact";
+import { useEffect, useErrorBoundary, useState } from "preact/hooks";
+import logo from "../assets/logo-2021.svg";
+import { Attention } from "../components/Attention.js";
+import { CopyButton } from "../components/CopyButton.js";
 import { LangSelector } from "../components/LangSelector.js";
 import { useBackendContext } from "../context/backend.js";
-import { useBusinessAccountDetails } from "../hooks/circuit.js";
-import { bankUiSettings } from "../settings.js";
-import { useSettings } from "../hooks/settings.js";
-import { CopyButton, CopyIcon } from "../components/CopyButton.js";
-import logo from "../assets/logo-2021.svg";
 import { useAccountDetails } from "../hooks/access.js";
-import { Attention } from "../components/Attention.js";
+import { useSettings } from "../hooks/settings.js";
+import { bankUiSettings } from "../settings.js";
 import { RenderAmount } from "./PaytoWireTransferForm.js";
 
 const GIT_HASH = typeof __GIT_HASH__ !== "undefined" ? __GIT_HASH__ : undefined;
@@ -34,11 +33,12 @@ const VERSION = typeof __VERSION__ !== "undefined" ? __VERSION__ : undefined;
 
 const versionText = VERSION
   ? GIT_HASH
-    ? `Version ${VERSION} (${GIT_HASH.substring(0, 8)})`
+    ? <a href={`https://git.taler.net/wallet-core.git/tree/?id=${GIT_HASH}`} target="_blank" rel="noreferrer noopener">
+      Version {VERSION} ({GIT_HASH.substring(0, 8)})
+    </a>
     : VERSION
   : "";
 
-const logger = new Logger("BankFrame");
 
 export function BankFrame({
   children,
@@ -83,7 +83,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="http://test.taler.net/" target="_blank" rel="noreferrer noopener">
+                <a href={bankUiSettings.iconLinkURL ?? "#"}>
                   <img
                     class="h-8 w-auto"
                     src={logo}
-- 
cgit v1.2.3

