瀏覽代碼

Add new favicon (#786)

vanilla_orig
Lipis 5 年之前
父節點
當前提交
c2855e2cb8
No account linked to committer's email address
共有 3 個文件被更改,包括 8 次插入4 次删除
  1. 二進制
      public/favicon.ico
  2. 8
    4
      public/index.html
  3. 二進制
      public/logo.png

二進制
public/favicon.ico 查看文件


+ 8
- 4
public/index.html 查看文件

@@ -19,7 +19,7 @@
19 19
       name="description"
20 20
       content="Excalidraw is a whiteboard tool that lets you easily sketch diagrams that have a hand-drawn feel to them."
21 21
     />
22
-    <meta name="image" content="https://excalidraw.com/og-image.png" />
22
+    <meta name="image" content="%PUBLIC_URL%/og-image.png" />
23 23
 
24 24
     <!-- OpenGraph tags -->
25 25
     <meta property="og:url" content="https://excalidraw.com" />
@@ -33,7 +33,7 @@
33 33
     <meta
34 34
       property="og:image"
35 35
       name="twitter:image"
36
-      content="https://excalidraw.com/og-image.png"
36
+      content="%PUBLIC_URL%/og-image.png"
37 37
     />
38 38
     <meta property="og:image:width" content="1280" />
39 39
     <meta property="og:image:height" content="669" />
@@ -45,9 +45,13 @@
45 45
       name="twitter:description"
46 46
       content="Excalidraw is a whiteboard tool that lets you easily sketch diagrams that have a hand-drawn feel to them."
47 47
     />
48
-    <meta name="twitter:image" content="https://excalidraw.com/og-image.png" />
48
+    <meta name="twitter:image" content="%PUBLIC_URL%/og-image.png" />
49 49
 
50
-    <link rel="icon" href="%PUBLIC_URL%/logo.png" />
50
+    <link
51
+      rel="shortcut icon"
52
+      href="%PUBLIC_URL%/favicon.ico"
53
+      type="image/x-icon"
54
+    />
51 55
     <link rel="stylesheet" href="%PUBLIC_URL%/fonts.css" />
52 56
     <link
53 57
       rel="preload"

二進制
public/logo.png 查看文件


Loading…
取消
儲存