Skip to content

Commit

Permalink
Merge pull request alibaba#86 from ice-lab/feat/logo
Browse files Browse the repository at this point in the history
feat: add logo
  • Loading branch information
chenbin92 authored Jun 7, 2020
2 parents 9d99c55 + 373baea commit 1f81d75
Show file tree
Hide file tree
Showing 5 changed files with 73 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .umirc.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,16 @@ export default {
],
mode: 'site',
title: 'ahooks',
favicon: '/simple-logo.svg',
logo: '/logo.svg',
dynamicImport: {},
manifest: {},
links: [{ rel: "manifest", href: "/asset-manifest.json" }],
hash: true,
resolve: {
includes: ['docs', 'packages/hooks/src', 'packages/use-request'],
},
styles: [
`a[title='站长统计'] { display: none; } input,button{ padding: 4px }`,
],
links: [{ rel: 'stylesheet', href: '/style.css' }],
navs: {
'zh-CN': [
null,
Expand Down
2 changes: 1 addition & 1 deletion docs/index.en-US.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: ahooks - React Hooks Library
hero:
title: ahooks
title: a hooks library
desc: Born for React Hooks
actions:
- text: Getting Started
Expand Down
41 changes: 41 additions & 0 deletions public/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions public/simple-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions public/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
.__dumi-default-navbar-logo {
color: transparent !important;
}

a[title='站长统计'] {
display: none;
}

input,
button {
padding: 4px
}

0 comments on commit 1f81d75

Please sign in to comment.