codefactor-io
1 year ago
No known key found for this signature in database
GPG Key ID: B66B2D63282C190F
1 changed files with
2 additions and
4 deletions
-
.dumi/pages/index/components/Banner.tsx
|
|
@ -24,8 +24,7 @@ const locales = { |
|
|
|
|
|
|
|
const useStyle = () => { |
|
|
|
const { isMobile } = React.useContext(SiteContext); |
|
|
|
return createStyles(({ token }) => { |
|
|
|
return { |
|
|
|
return createStyles(({ token }) => ({ |
|
|
|
titleBase: css` |
|
|
|
h1& { |
|
|
|
font-family: AliPuHui, ${token.fontFamily}; |
|
|
@ -47,8 +46,7 @@ const useStyle = () => { |
|
|
|
font-size: 68px; |
|
|
|
} |
|
|
|
`,
|
|
|
|
}; |
|
|
|
})(); |
|
|
|
}))(); |
|
|
|
}; |
|
|
|
|
|
|
|
export interface BannerProps { |
|
|
|