chore: update resources file format

This commit is contained in:
Steven 2022-09-01 07:36:14 +08:00
parent b88846fff5
commit e330159f55
12 changed files with 19 additions and 20 deletions

View file

@ -1,4 +1,4 @@
<p align="center"><img height="64px" src="https://raw.githubusercontent.com/usememos/memos/main/resources/logo-full.png" alt="✍️ memos" /></p>
<p align="center"><a href="https://usememos.com"><img height="64px" src="https://raw.githubusercontent.com/usememos/memos/main/resources/logo-full.webp" alt="✍️ memos" /></a></p>
<p align="center">An open source, self-hosted knowledge base that works with a SQLite db file.</p>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 208 KiB

BIN
resources/logo-full.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 87 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 156 KiB

BIN
resources/logo.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

View file

@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" href="/logo.png" type="image/*" />
<link rel="icon" href="/logo.webp" type="image/*" />
<meta name="theme-color" content="#f6f5f4" />
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
<link rel="manifest" href="/manifest.json" />

Binary file not shown.

Before

Width:  |  Height:  |  Size: 208 KiB

BIN
web/public/logo-full.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 87 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 156 KiB

BIN
web/public/logo.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

View file

@ -1,18 +1,17 @@
{
"short_name": "Memos",
"name": "Memos",
"icons": [
{
"src": "/logo.png",
"type": "image/png",
"sizes": "200x200"
}
],
"start_url": "/",
"background_color": "#f6f5f4",
"display": "standalone",
"scope": "/",
"theme_color": "#f6f5f4",
"description": "usememos/memos"
}
"short_name": "Memos",
"name": "Memos",
"icons": [
{
"src": "/logo.webp",
"type": "image/*",
"sizes": "200x200"
}
],
"start_url": "/",
"background_color": "#f6f5f4",
"display": "standalone",
"scope": "/",
"theme_color": "#f6f5f4",
"description": "usememos/memos"
}

View file

@ -124,7 +124,7 @@ const Auth: React.FC<Props> = () => {
<div className="auth-form-wrapper">
<div className="page-header-container">
<div className="title-container">
<img className="logo-img" src="/logo-full.png" alt="" />
<img className="logo-img" src="/logo-full.webp" alt="" />
</div>
<p className="slogan-text">{t("slogan")}</p>
</div>