Skip to content

Commit

Permalink
🐛 fix: 优化 footer 展示内容
Browse files Browse the repository at this point in the history
  • Loading branch information
arvinxx committed Feb 15, 2023
1 parent 22f9650 commit 3377525
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/slots/Footer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -207,14 +207,16 @@ const Footer: FC = () => {
mobile ? (
<Center className={styles.container}>
Copyright © 2022-{new Date().getFullYear()}
<Flexbox align={'center'} horizontal>
{themeConfig.footer}
</Flexbox>
<Flexbox
align={'center'}
horizontal
dangerouslySetInnerHTML={{ __html: themeConfig.footer }}
></Flexbox>
</Center>
) : (
<Center horizontal>
Copyright © 2022-{new Date().getFullYear()} <Divider type={'vertical'} />
{themeConfig.footer}
<span dangerouslySetInnerHTML={{ __html: themeConfig.footer }} />
</Center>
)
}
Expand Down

1 comment on commit 3377525

@vercel
Copy link

@vercel vercel bot commented on 3377525 Feb 15, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.