Skip to content

Commit 6e1e688

Browse files
committed
feat(ui): 更换网站图标及页头图标SVG
- 将favicon和苹果触控图标由favicon.svg替换为新的linux.svg - 更新页面元信息中的Open Graph和Twitter图像链接 - 删除旧的favicon.svg文件,添加新的linux.svg文件 - 替换主页标题旁的SVG图标为新的更大尺寸且细节更丰富图标
1 parent e425b17 commit 6e1e688

File tree

3 files changed

+6
-20
lines changed

3 files changed

+6
-20
lines changed

index.html

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
<meta http-equiv="Pragma" content="no-cache" />
1010
<meta http-equiv="Expires" content="0" />
1111

12-
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
13-
<link rel="apple-touch-icon" href="/favicon.svg" />
12+
<link rel="icon" type="image/svg+xml" href="/linux.svg" />
13+
<link rel="apple-touch-icon" href="/linux.svg" />
1414

1515
<!-- SEO Meta Tags -->
1616
<title>USB IDs Database - Complete List of USB Vendor and Device IDs</title>
@@ -29,7 +29,7 @@
2929
<meta property="og:type" content="website" />
3030
<meta property="og:url" content="https://drswith.github.io/usb.ids/" />
3131
<meta property="og:site_name" content="USB IDs Database" />
32-
<meta property="og:image" content="https://drswith.github.io/usb.ids/favicon.svg" />
32+
<meta property="og:image" content="https://drswith.github.io/usb.ids/linux.svg" />
3333
<meta property="og:image:width" content="32" />
3434
<meta property="og:image:height" content="32" />
3535
<meta property="og:image:type" content="image/svg+xml" />
@@ -39,7 +39,7 @@
3939
<meta name="twitter:card" content="summary" />
4040
<meta name="twitter:title" content="USB IDs Database - Complete List of USB Vendor and Device IDs" />
4141
<meta name="twitter:description" content="Comprehensive USB IDs database with vendor and device information. Search through thousands of USB device identifiers updated daily." />
42-
<meta name="twitter:image" content="https://drswith.github.io/usb.ids/favicon.svg" />
42+
<meta name="twitter:image" content="https://drswith.github.io/usb.ids/linux.svg" />
4343
<meta name="twitter:creator" content="@usbids" />
4444
<meta name="twitter:site" content="@usbids" />
4545

@@ -79,12 +79,7 @@
7979
<div class="header-content">
8080
<div class="header-left">
8181
<h1 class="title">
82-
<svg class="icon" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" aria-hidden="true">
83-
<path d="M9 12l2 2 4-4"/>
84-
<path d="M21 12c-1 0-3-1-3-3s2-3 3-3 3 1 3 3-2 3-3 3"/>
85-
<path d="M3 12c1 0 3-1 3-3s-2-3-3-3-3 1-3 3 2 3 3 3"/>
86-
<path d="M9 12h6"/>
87-
</svg>
82+
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><!-- Icon from Material Icon Theme by Material Extensions - https://github.com/material-extensions/vscode-material-icon-theme/blob/main/LICENSE --><path fill="#f9a825" d="m13.844 7.536l-1.288-1.072A2 2 0 0 0 11.276 6H4a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h24a2 2 0 0 0 2-2V10a2 2 0 0 0-2-2H15.124a2 2 0 0 1-1.28-.464"/><path fill="#ffecb3" d="M24.62 16.35c-.42.28-1.75 1.04-1.95 1.19a.825.825 0 0 1-1.14-.01c-.2-.16-1.53-.92-1.95-1.19c-.48-.309-.45-.699.08-.919a6.16 6.16 0 0 1 4.91.03c.49.21.51.6.05.9Zm7.218 7.279A19.1 19.1 0 0 0 28 17.971a4.3 4.3 0 0 1-1.06-1.88c-.1-.33-.17-.67-.24-1.01a11.3 11.3 0 0 0-.7-2.609a4.06 4.06 0 0 0-3.839-2.47a4.2 4.2 0 0 0-3.95 2.4a6 6 0 0 0-.46 1.34c-.17.76-.32 1.55-.5 2.319a3.4 3.4 0 0 1-.959 1.71a19.5 19.5 0 0 0-3.88 5.348a6 6 0 0 0-.37.88c-.19.66.29 1.12.99.96c.44-.09.88-.18 1.3-.31c.41-.15.57-.05.67.35a6.73 6.73 0 0 0 4.24 4.498c4.119 1.56 8.928-.66 9.968-4.578c.07-.27.17-.37.47-.27c.46.14.93.24 1.4.35a.724.724 0 0 0 .92-.64a1.44 1.44 0 0 0-.16-.73Z"/></svg>
8883
USB IDs Database
8984
</h1>
9085
<p class="subtitle">Comprehensive database for quickly finding USB device vendor and product information</p>

public/favicon.svg

Lines changed: 0 additions & 10 deletions
This file was deleted.

public/linux.svg

Lines changed: 1 addition & 0 deletions
Loading

0 commit comments

Comments
 (0)