diff --git a/tauri-wallet/src/images/logo-background.svg b/tauri-wallet/src/images/logo-background.svg new file mode 100644 index 0000000000..ad11626724 --- /dev/null +++ b/tauri-wallet/src/images/logo-background.svg @@ -0,0 +1,43 @@ + + + + + + + + + + + + + + + + + diff --git a/tauri-wallet/src/index.d.ts b/tauri-wallet/src/index.d.ts index 2706089afa..c661e49fbf 100644 --- a/tauri-wallet/src/index.d.ts +++ b/tauri-wallet/src/index.d.ts @@ -1,2 +1,3 @@ declare module '*.jpg' declare module '*.png' +declare module '*.svg' diff --git a/tauri-wallet/src/layouts/AppLayout.tsx b/tauri-wallet/src/layouts/AppLayout.tsx index a263c8e384..1c9f6d0d66 100644 --- a/tauri-wallet/src/layouts/AppLayout.tsx +++ b/tauri-wallet/src/layouts/AppLayout.tsx @@ -1,7 +1,7 @@ import React from 'react' import { Divider } from '@material-ui/core' import { AddressCard, BalanceCard, Nav } from '../components' -import Logo from '../images/logo.png' +import Logo from '../images/logo-background.svg' import { theme } from '../theme' export const ApplicationLayout = ({ diff --git a/tauri-wallet/src/routes/sign-in.tsx b/tauri-wallet/src/routes/sign-in.tsx index 2852fb775b..ce21aeeab3 100644 --- a/tauri-wallet/src/routes/sign-in.tsx +++ b/tauri-wallet/src/routes/sign-in.tsx @@ -1,4 +1,4 @@ -import React, { useContext, useEffect, useState } from 'react' +import React, { useContext, useState } from 'react' import { TextField, CircularProgress, @@ -12,7 +12,7 @@ import { import { Alert } from '@material-ui/lab' import { useTheme } from '@material-ui/styles' import { invoke } from '@tauri-apps/api' -import logo from '../images/logo.png' +import logo from '../images/logo-background.svg' import { ClientContext } from '../context/main' import { TClientDetails } from '../types/global' diff --git a/tauri-wallet/webpack.config.js b/tauri-wallet/webpack.config.js index 98f0e568ab..41b65dee5a 100644 --- a/tauri-wallet/webpack.config.js +++ b/tauri-wallet/webpack.config.js @@ -30,7 +30,7 @@ module.exports = { use: ['style-loader', 'css-loader'], }, { - test: /\.(png|jpe?g|gif)$/i, + test: /\.(png|jpe?g|gif|svg)$/i, use: [ { loader: 'file-loader',