Browse Source

💄 UI: add new icon

pull/7207/head
chenshuai2144 6 years ago
parent
commit
64b572a727
  1. 17
      .github/workflows/preview.yml
  2. BIN
      public/favicon.ico
  3. BIN
      public/favicon.png
  4. 6
      src/pages/document.ejs

17
.github/workflows/preview.yml

@ -0,0 +1,17 @@
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

BIN
public/favicon.ico

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

BIN
public/favicon.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

6
src/pages/document.ejs

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

Loading…
Cancel
Save