diff options
Diffstat (limited to 'packages/taler-wallet-webextension/src/components/LogoHeader.tsx')
-rw-r--r-- | packages/taler-wallet-webextension/src/components/LogoHeader.tsx | 34 |
1 files changed, 19 insertions, 15 deletions
diff --git a/packages/taler-wallet-webextension/src/components/LogoHeader.tsx b/packages/taler-wallet-webextension/src/components/LogoHeader.tsx index 9b75c62a1..2330b1b95 100644 --- a/packages/taler-wallet-webextension/src/components/LogoHeader.tsx +++ b/packages/taler-wallet-webextension/src/components/LogoHeader.tsx @@ -1,6 +1,6 @@ /* This file is part of GNU Taler - (C) 2021 Taler Systems S.A. + (C) 2022 Taler Systems S.A. GNU Taler is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software @@ -14,18 +14,22 @@ GNU Taler; see the file COPYING. If not, see <http://www.gnu.org/licenses/> */ -import { h } from "preact"; +import { h, VNode } from "preact"; +import logo from "../svg/logo-2021.inline.svg"; -export function LogoHeader() { - return <div style={{ - display: 'flex', - justifyContent: 'space-around', - margin: '2em', - }}> - <img style={{ - width: 150, - height: 70, - }} src="/static/img/logo-2021.svg" width="150" /> - </div> - -}
\ No newline at end of file +export function LogoHeader(): VNode { + return ( + <div + style={{ + display: "flex", + justifyContent: "space-around", + margin: "2em", + }} + > + <div + style={{ width: 150, height: 70 }} + dangerouslySetInnerHTML={{ __html: logo }} + ></div> + </div> + ); +} |