Ver Fonte

chore(sfc-playground): use svg logo

Evan You há 5 anos atrás
pai
commit
e097bd4dd5

+ 1 - 1
packages/sfc-playground/index.html

@@ -4,7 +4,7 @@
   <meta charset="UTF-8">
   <meta http-equiv="X-UA-Compatible" content="IE=edge">
   <meta name="viewport" content="width=device-width, initial-scale=1.0">
-  <link rel="icon" type="image/png" href="/icon.png">
+  <link rel="icon" type="image/svg" href="/logo.svg">
   <title>Vue SFC Playground</title>
 
   <link rel="preconnect" href="https://fonts.gstatic.com">

BIN
packages/sfc-playground/public/icon.png


+ 4 - 0
packages/sfc-playground/public/logo.svg

@@ -0,0 +1,4 @@
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 196.32 170.02">
+  <path fill="#42b883" d="M120.83 0L98.16 39.26 75.49 0H0l98.16 170.02L196.32 0h-75.49z"/>
+  <path fill="#35495e" d="M120.83 0L98.16 39.26 75.49 0H39.26l58.9 102.01L157.06 0h-36.23z"/>
+</svg>

+ 1 - 1
packages/sfc-playground/src/Header.vue

@@ -1,7 +1,7 @@
 <template>
   <nav>
     <h1>
-      <img alt="logo" src="/icon.png">
+      <img alt="logo" src="/logo.svg">
       <span>Vue SFC Playground</span>
     </h1>
     <div class="links">