refactor: add logo url

pull/13/head
moonrailgun 4 years ago
parent 3b31a75df9
commit 0b8705074a

1
.gitignore vendored

@ -1,5 +1,6 @@
locales
.vercel
.DS_Store
# Logs
logs

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 16 KiB

@ -1,12 +1,20 @@
import { Typography } from 'antd';
import React from 'react';
import { version } from 'tailchat-shared';
import logoUrl from '@assets/images/logo.svg';
const { Paragraph, Text } = Typography;
export const SettingsAbout: React.FC = React.memo(() => {
return (
<div className="select-text">
<img
className="float-right select-none"
width={128}
height={128}
src={logoUrl}
/>
<Paragraph>
<Text className="font-bold">TailChat</Text>
<Text>: </Text>

@ -123,6 +123,7 @@ const config: Configuration = {
title: 'TailChat',
inject: true,
hash: true,
favicon: path.resolve(ROOT_PATH, './assets/images/logo.svg'),
template: path.resolve(ROOT_PATH, './assets/template.html'),
preloadImage: `data:image/svg+xml;base64,${Buffer.from(
fs.readFileSync(path.resolve(ROOT_PATH, './assets/images/ripple.svg'), {

Loading…
Cancel
Save