Fix favicon.

This commit is contained in:
Yang Luo
2021-02-13 20:13:32 +08:00
parent 6e015a959f
commit 7bffb03b29
7 changed files with 13 additions and 6 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

BIN
web/public/favicon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

View File

@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
<link rel="icon" href="%PUBLIC_URL%/favicon.png" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.4 KiB

View File

@ -1,9 +1,9 @@
{
"short_name": "React App",
"name": "Create React App Sample",
"short_name": "Casdoor",
"name": "Casdoor Authentication",
"icons": [
{
"src": "favicon.ico",
"src": "favicon.png",
"sizes": "64x64 32x32 24x24 16x16",
"type": "image/x-icon"
},

View File

@ -162,8 +162,15 @@ class UserListPage extends React.Component {
title: 'Email',
dataIndex: 'email',
key: 'email',
width: '150px',
width: '180px',
sorter: (a, b) => a.email.localeCompare(b.email),
render: (text, record, index) => {
return (
<a href={`mailto:${text}`}>
{text}
</a>
)
}
},
{
title: 'Phone',