Skip to content

Commit

Permalink
Merge pull request #14 from Kortice/main
Browse files Browse the repository at this point in the history
add: footer related links
  • Loading branch information
klxiaoniu authored Aug 20, 2024
2 parents fc22256 + 84a4ae2 commit a5229f9
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 1 deletion.
14 changes: 13 additions & 1 deletion docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,19 @@ const config: Config = {
// 页脚
footer: {
style: 'dark',
links: [], // 这部分可以从docusaurus 文档中复现,我们删除了
links: [
{
html: `
<div style="display: flex; justify-content: center; align-items: center; color:#FFF;">
<span>本网站由</span>
<a target="_blank" rel="noopener noreferrer" href="https://www.upyun.com/?utm_source=lianmeng&utm_medium=referral" style="display: inline-flex; align-items: center;">
<img src="/img/upyun_logo.svg" alt="又拍云" height= "20px" style="margin: 0 5px;" />
</a>
<span>提供CDN加速/云存储服务</span>
</div>
`
}
], // 这部分可以从docusaurus 文档中复现,我们删除了
copyright: `版权所有 © ${new Date().getFullYear()} west2-online. 网站使用 Docusaurus 构建. <a href="https://beian.miit.gov.cn/#/Integrated/index">闽ICP备19020557号-3</a>`,
},
prism: {
Expand Down
1 change: 1 addition & 0 deletions src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
--ifm-color-primary-lightest: #f3faff;
--ifm-code-font-size: 95%;
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1);
--ifm-footer-padding-vertical: 1.6rem;
}

/* For readability concerns, you should choose a lighter palette in dark mode. */
Expand Down
13 changes: 13 additions & 0 deletions static/img/upyun_logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit a5229f9

Please sign in to comment.