Skip to content

Commit 1cec856

Browse files
draw icon and config favicon (#387)
* config favicon * put logo in navigation * set mobile log big * upload logo * use remote logo file * edit title * update alt content
1 parent 8fe2edf commit 1cec856

File tree

3 files changed

+17
-1
lines changed

3 files changed

+17
-1
lines changed

index.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
<html lang="en">
33
<head>
44
<meta charset="UTF-8" />
5+
<link rel="icon" type="image/svg+xml" href="https://webp.yitianyigexiangfa.com/1766053623_3c67f075.svg" />
6+
<link rel="icon" type="image/png" sizes="32x32" href="https://webp.yitianyigexiangfa.com/1766053624_80abc6d3.png" />
7+
<link rel="icon" type="image/png" sizes="16x16" href="https://webp.yitianyigexiangfa.com/1766053611_f80be3bd.png" />
8+
<link rel="shortcut icon" href="https://webp.yitianyigexiangfa.com/1766053614_2d2616b5.ico" />
9+
<link rel="apple-touch-icon" sizes="180x180" href="https://webp.yitianyigexiangfa.com/1766053616_0276731f.png" />
510
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
611
<title>With them you are not alone</title>
712
<!-- GitHub Pages SPA support -->

public/logo.svg

Lines changed: 4 additions & 0 deletions
Loading

src/App.tsx

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,14 @@ function App() {
9999
<div>
100100
{/* 导航栏 */}
101101
<nav className="bg-gray-100 p-4 mb-4">
102-
<div className="max-w-7xl mx-auto flex gap-10">
102+
<div className="max-w-7xl mx-auto flex gap-10 items-center">
103+
<Link to="/" className="flex items-center">
104+
<img
105+
src="https://webp.yitianyigexiangfa.com/1766053621_3c67f075.svg"
106+
alt="kuzi ai logo"
107+
className="h-16 w-16 shrink-0 md:h-12 md:w-12"
108+
/>
109+
</Link>
103110
<div className='flex flex-col'>
104111
<Link to="/">
105112
<div>

0 commit comments

Comments
 (0)