Ver código fonte

💄 UI: better preview icon img

chenshuai2144 5 anos atrás
pai
commit
1354326624
3 arquivos alterados com 6 adições e 23 exclusões
  1. 0 17
      .github/workflows/preview.yml
  2. 5 1
      public/pro_icon.svg
  3. 1 5
      src/pages/document.ejs

+ 0 - 17
.github/workflows/preview.yml

@@ -1,17 +0,0 @@
-name: 🔂 Surge PR Preview
-
-on: [push]
-
-jobs:
-  preview:
-    runs-on: ubuntu-latest
-    steps:
-      - uses: actions/checkout@v2
-      - uses: afc163/surge-preview@v1
-        with:
-          surge_token: ${{ secrets.SURGE_TOKEN }}
-          github_token: ${{ secrets.gatsby --help }}
-          build: |
-            yarn install
-            npm run build
-          dist: dist

Diferenças do arquivo suprimidas por serem muito extensas
+ 5 - 1
public/pro_icon.svg


+ 1 - 5
src/pages/document.ejs

@@ -22,11 +22,7 @@
       content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"
     />
     <title>Ant Design Pro</title>
-    <link
-      rel="icon"
-      href="https://gw.alipayobjects.com/zos/antfincdn/r3d46eFZ7D/method-draw-image.ico"
-      type="image/x-icon"
-    />
+    <link rel="icon" href="<%= context.config.publicPath +'favicon.ico'%>" type="image/x-icon" />
   </head>
   <body>
     <noscript>Out-of-the-box mid-stage front/design solution!</noscript>