Skip to content

Commit

Permalink
docs: improve site show brandName (#2574)
Browse files Browse the repository at this point in the history
* docs: site show brandName

* docs: update site styles
  • Loading branch information
darkmice authored Dec 6, 2021
1 parent 33d8d27 commit 483f79f
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 25 deletions.
13 changes: 8 additions & 5 deletions packages/antd/.umirc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { resolve } from 'path'
export default {
mode: 'site',
logo: '//img.alicdn.com/imgextra/i2/O1CN01Kq3OHU1fph6LGqjIz_!!6000000004056-55-tps-1141-150.svg',
title: 'Formily',
title: 'Ant Design',
hash: true,
favicon:
'//img.alicdn.com/imgextra/i3/O1CN01XtT3Tv1Wd1b5hNVKy_!!6000000002810-55-tps-360-360.svg',
Expand Down Expand Up @@ -49,10 +49,13 @@ export default {
],
styles: [
`.__dumi-default-navbar-logo{
height: 60px !important;
width: 150px !important;
padding-left:0 !important;
color: transparent !important;
background-size: 140px!important;
background-position: center left!important;
background-repeat: no-repeat!important;
padding-left: 150px!important;/*可根据title的宽度调整*/
font-size: 22px!important;
color: #000!important;
font-weight: lighter!important;
}
.__dumi-default-navbar{
padding: 0 28px !important;
Expand Down
13 changes: 8 additions & 5 deletions packages/core/.umirc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { resolve } from 'path'
export default {
mode: 'site',
logo: 'https://img.alicdn.com/imgextra/i2/O1CN01Kq3OHU1fph6LGqjIz_!!6000000004056-55-tps-1141-150.svg',
title: 'Formily',
title: 'Core',
hash: true,
favicon:
'https://img.alicdn.com/imgextra/i3/O1CN01XtT3Tv1Wd1b5hNVKy_!!6000000002810-55-tps-360-360.svg',
Expand Down Expand Up @@ -47,10 +47,13 @@ export default {
},
styles: [
`.__dumi-default-navbar-logo{
height: 60px !important;
width: 150px !important;
padding-left:0 !important;
color: transparent !important;
background-size: 140px!important;
background-position: center left!important;
background-repeat: no-repeat!important;
padding-left: 150px!important;/*可根据title的宽度调整*/
font-size: 22px!important;
color: #000!important;
font-weight: lighter!important;
}
.__dumi-default-navbar{
padding: 0 28px !important;
Expand Down
13 changes: 8 additions & 5 deletions packages/next/.umirc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { resolve } from 'path'
export default {
mode: 'site',
logo: '//img.alicdn.com/imgextra/i2/O1CN01Kq3OHU1fph6LGqjIz_!!6000000004056-55-tps-1141-150.svg',
title: 'Formily',
title: 'Fusion',
favicon:
'//img.alicdn.com/imgextra/i3/O1CN01XtT3Tv1Wd1b5hNVKy_!!6000000002810-55-tps-360-360.svg',
hash: true,
Expand Down Expand Up @@ -45,10 +45,13 @@ export default {
],
styles: [
`.__dumi-default-navbar-logo{
height: 60px !important;
width: 150px !important;
padding-left:0 !important;
color: transparent !important;
background-size: 140px!important;
background-position: center left!important;
background-repeat: no-repeat!important;
padding-left: 150px!important;/*可根据title的宽度调整*/
font-size: 22px!important;
color: #000!important;
font-weight: lighter!important;
}
.__dumi-default-navbar{
padding: 0 28px !important;
Expand Down
13 changes: 8 additions & 5 deletions packages/react/.umirc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { resolve } from 'path'
export default {
mode: 'site',
logo: '//img.alicdn.com/imgextra/i2/O1CN01Kq3OHU1fph6LGqjIz_!!6000000004056-55-tps-1141-150.svg',
title: 'Formily',
title: 'React',
hash: true,
favicon:
'//img.alicdn.com/imgextra/i3/O1CN01XtT3Tv1Wd1b5hNVKy_!!6000000002810-55-tps-360-360.svg',
Expand Down Expand Up @@ -53,10 +53,13 @@ export default {
],
styles: [
`.__dumi-default-navbar-logo{
height: 60px !important;
width: 150px !important;
padding-left:0 !important;
color: transparent !important;
background-size: 140px!important;
background-position: center left!important;
background-repeat: no-repeat!important;
padding-left: 150px!important;/*可根据title的宽度调整*/
font-size: 22px!important;
color: #000!important;
font-weight: lighter!important;
}
.__dumi-default-navbar{
padding: 0 28px !important;
Expand Down
13 changes: 8 additions & 5 deletions packages/reactive/.umirc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { resolve } from 'path'
export default {
mode: 'site',
logo: '//img.alicdn.com/imgextra/i2/O1CN01Kq3OHU1fph6LGqjIz_!!6000000004056-55-tps-1141-150.svg',
title: 'Formily',
title: 'Reactive',
hash: true,
favicon:
'//img.alicdn.com/imgextra/i3/O1CN01XtT3Tv1Wd1b5hNVKy_!!6000000002810-55-tps-360-360.svg',
Expand Down Expand Up @@ -47,10 +47,13 @@ export default {
},
styles: [
`.__dumi-default-navbar-logo{
height: 60px !important;
width: 150px !important;
padding-left:0 !important;
color: transparent !important;
background-size: 140px!important;
background-position: center left!important;
background-repeat: no-repeat!important;
padding-left: 150px!important;/*可根据title的宽度调整*/
font-size: 22px!important;
color: #000!important;
font-weight: lighter!important;
}
.__dumi-default-navbar{
padding: 0 28px !important;
Expand Down

0 comments on commit 483f79f

Please sign in to comment.