Skip to content

Commit e4930c9

Browse files
committed
feat(website): 新增 copyright 页面并更新页脚版权链接
1 parent ba2d538 commit e4930c9

4 files changed

Lines changed: 52 additions & 5 deletions

File tree

website/config/footer.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,11 @@ const footerLinks: NonNullable<ThemeConfig['footer']>['links'] = [
4141
},
4242
]
4343

44+
const copyrightYears = '2021-present'
45+
4446
export const footerCustomFields = {
4547
legal: {
46-
href: '/docs/copyright',
48+
href: '/copyright',
4749
label: 'Copyright',
4850
target: '_self',
4951
},
@@ -63,4 +65,5 @@ export const footerCustomFields = {
6365
export const footer: NonNullable<ThemeConfig['footer']> = {
6466
style: 'dark',
6567
links: footerLinks,
68+
copyright: `<a href="/copyright" target="_self" rel="noopener noreferrer">Copyright</a> © ${copyrightYears} <a href="https://github.com/sonofmagic" target="_blank" rel="noopener noreferrer">sonofmagic</a>. Released under the <a href="https://github.com/sonofmagic/weapp-tailwindcss/blob/main/LICENSE" target="_blank" rel="noopener noreferrer">MIT License</a>.`,
6669
}

website/docs/copyright.md

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
---
22
title: 版权信息
3-
description: weapp-tailwindcss 项目版权与资源归属说明,包含 logo 与文档内容的使用范围
3+
description: weapp-tailwindcss 项目版权与证书信息,包含 G-Star 认证与软件著作权证书展示
44
keywords:
55
- 版权信息
66
- copyright
7+
- 证书
8+
- G-Star
9+
- 软件著作权
710
- 版权声明
811
- 资源归属
912
- weapp-tailwindcss
@@ -15,10 +18,20 @@ keywords:
1518
- rax
1619
- mpx
1720
---
18-
<div class="text-center">
21+
## AtomGit G-Star 项目毕业认证
1922

20-
# 版权信息
23+
<div class="text-center" style="margin-bottom: 24px;">
24+
<div style="display: inline-block; background: #ffffff; padding: 16px; border-radius: 12px; border: 1px solid #e5e7eb; box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);">
25+
<img
26+
width="860"
27+
src="/img/gstar.png"
28+
alt="AtomGit G-Star 项目毕业认证证书"
29+
/>
30+
</div>
31+
</div>
2132

22-
<img width="400" src="/img/copyright.png" alt="copyright" />
33+
## 软件著作权登记证书
2334

35+
<div class="text-center">
36+
<img width="560" src="/img/copyright.png" alt="weapp-tailwindcss 软件著作权登记证书" />
2437
</div>

website/src/pages/copyright.mdx

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
title: 版权信息
3+
description: weapp-tailwindcss 项目版权与证书信息,包含 G-Star 认证与软件著作权证书展示。
4+
---
5+
6+
## AtomGit G-Star 项目毕业认证
7+
8+
<div className="text-center" style={{ marginBottom: 24 }}>
9+
<div
10+
style={{
11+
display: 'inline-block',
12+
background: '#ffffff',
13+
padding: 16,
14+
borderRadius: 12,
15+
border: '1px solid #e5e7eb',
16+
boxShadow: '0 8px 24px rgba(15, 23, 42, 0.08)',
17+
}}
18+
>
19+
<img
20+
width="860"
21+
src="/img/gstar.png"
22+
alt="AtomGit G-Star 项目毕业认证证书"
23+
/>
24+
</div>
25+
</div>
26+
27+
## 软件著作权登记证书
28+
29+
<div className="text-center">
30+
<img width="560" src="/img/copyright.png" alt="weapp-tailwindcss 软件著作权登记证书" />
31+
</div>

website/static/img/gstar.png

206 KB
Loading

0 commit comments

Comments
 (0)