Skip to content

Commit 268f153

Browse files
committed
feat: 新增优秀案例投稿页面
1 parent c02fb7c commit 268f153

File tree

3 files changed

+272
-0
lines changed

3 files changed

+272
-0
lines changed

docs/.vitepress/config.mts

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ export default defineConfig({
1818
{ text: '首页', link: '/' },
1919
{ text: '指南', link: '/guide/getting-started' },
2020
{ text: 'API', link: '/api/' },
21+
{ text: '优秀案例', link: '/showcase' },
2122
{ text: 'Demo', link: 'https://share.lanol.cn' },
2223
{
2324
text: '了解更多',
@@ -68,6 +69,14 @@ export default defineConfig({
6869
],
6970
},
7071
],
72+
'/showcase': [
73+
{
74+
text: '优秀案例',
75+
items: [
76+
{ text: '案例展示', link: '/showcase' },
77+
],
78+
},
79+
],
7180
},
7281
socialLinks: [
7382
{ icon: 'github', link: 'https://github.com/vastsa/FileCodeBox' },
@@ -96,6 +105,7 @@ export default defineConfig({
96105
{ text: 'Home', link: '/en/' },
97106
{ text: 'Guide', link: '/en/guide/getting-started' },
98107
{ text: 'API', link: '/en/api/' },
108+
{ text: 'Showcase', link: '/en/showcase' },
99109
{ text: 'Demo', link: 'https://share.lanol.cn' },
100110
{
101111
text: 'More',
@@ -152,6 +162,14 @@ export default defineConfig({
152162
],
153163
},
154164
],
165+
'/en/showcase': [
166+
{
167+
text: 'Showcase',
168+
items: [
169+
{ text: 'Case Studies', link: '/en/showcase' },
170+
],
171+
},
172+
],
155173
},
156174
socialLinks: [
157175
{ icon: 'github', link: 'https://github.com/vastsa/FileCodeBox' },

docs/en/showcase.md

Lines changed: 127 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,127 @@
1+
# Showcase
2+
3+
Here are some excellent sites built with FileCodeBox. If you've deployed FileCodeBox, feel free to submit a PR to add your site here!
4+
5+
## Official Demo
6+
7+
<div class="showcase-grid">
8+
9+
<div class="showcase-item">
10+
11+
### 🌟 FileCodeBox Demo
12+
13+
- **URL**: [share.lanol.cn](https://share.lanol.cn)
14+
- **Description**: Official demo site with the latest features
15+
- **Highlights**: Stable, full-featured
16+
17+
</div>
18+
19+
</div>
20+
21+
## Community Sites
22+
23+
::: tip Submit Your Site
24+
If you've built your own file sharing service using FileCodeBox, you can submit it through:
25+
26+
1. Submit a PR on [GitHub](https://github.com/vastsa/FileCodeBox) to edit this page
27+
2. Open an [Issue](https://github.com/vastsa/FileCodeBox/issues) with your site info
28+
3. Join QQ Group 739673698 to contact the admin
29+
:::
30+
31+
<!--
32+
Submission format example:
33+
34+
<div class="showcase-item">
35+
36+
### Site Name
37+
38+
- **URL**: [example.com](https://example.com)
39+
- **Description**: Brief description of your site
40+
- **Highlights**: List your site's features
41+
42+
</div>
43+
-->
44+
45+
<div class="showcase-grid">
46+
47+
<div class="showcase-item">
48+
49+
### QuWenJian
50+
51+
- **URL**: [quwenjian.cn](https://quwenjian.cn)
52+
- **Description**: QuWenJian - Unlimited storage, portable and limitless
53+
- **Highlights**: Free file transfer station
54+
- **Operator**: QuWenJian
55+
56+
</div>
57+
58+
<div class="showcase-item">
59+
60+
### Pandora Box
61+
62+
- **URL**: [pan.duo.la](https://pan.duo.la)
63+
- **Description**: Pandora Box
64+
- **Highlights**: Classic v1.6 version
65+
- **Operator**: WuXingQueXinYan
66+
67+
</div>
68+
69+
</div>
70+
71+
## Submission Requirements
72+
73+
To ensure quality, please make sure your site meets the following criteria:
74+
75+
1. **Stable**: Your site should be stable and accessible
76+
2. **Legal**: Content must be legal and compliant
77+
3. **Attribution**: We recommend keeping FileCodeBox attribution
78+
4. **HTTPS**: We recommend enabling HTTPS
79+
80+
## Submission Template
81+
82+
If you want to submit your site, please use the following format:
83+
84+
```markdown
85+
### Site Name
86+
87+
- **URL**: [domain](https://domain)
88+
- **Description**: One-line description of your site
89+
- **Highlights**: Special features or highlights
90+
- **Operator**: Optional, your name or organization
91+
```
92+
93+
<style>
94+
.showcase-grid {
95+
display: grid;
96+
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
97+
gap: 20px;
98+
margin: 20px 0;
99+
}
100+
101+
.showcase-item {
102+
border: 1px solid var(--vp-c-divider);
103+
border-radius: 8px;
104+
padding: 20px;
105+
transition: all 0.3s ease;
106+
}
107+
108+
.showcase-item:hover {
109+
border-color: var(--vp-c-brand);
110+
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
111+
}
112+
113+
.showcase-item h3 {
114+
margin-top: 0;
115+
color: var(--vp-c-brand);
116+
}
117+
118+
.showcase-item ul {
119+
list-style: none;
120+
padding: 0;
121+
margin: 0;
122+
}
123+
124+
.showcase-item li {
125+
margin: 8px 0;
126+
}
127+
</style>

docs/showcase.md

Lines changed: 127 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,127 @@
1+
# 优秀案例
2+
3+
这里收录了一些使用 FileCodeBox 搭建的优秀站点。如果你也部署了 FileCodeBox,欢迎提交 PR 将你的站点添加到这里!
4+
5+
## 官方演示站
6+
7+
<div class="showcase-grid">
8+
9+
<div class="showcase-item">
10+
11+
### 🌟 FileCodeBox Demo
12+
13+
- **网址**[share.lanol.cn](https://share.lanol.cn)
14+
- **简介**:官方演示站点,体验最新功能
15+
- **特点**:稳定运行,功能完整
16+
17+
</div>
18+
19+
</div>
20+
21+
## 社区站点
22+
23+
::: tip 提交你的站点
24+
如果你使用 FileCodeBox 搭建了自己的文件分享服务,欢迎通过以下方式提交:
25+
26+
1.[GitHub](https://github.com/vastsa/FileCodeBox) 提交 PR,编辑此页面
27+
2.[Issues](https://github.com/vastsa/FileCodeBox/issues) 中提交你的站点信息
28+
3. 加入 QQ 群 739673698 联系管理员
29+
:::
30+
31+
<!--
32+
提交格式示例:
33+
34+
<div class="showcase-item">
35+
36+
### 站点名称
37+
38+
- **网址**:[example.com](https://example.com)
39+
- **简介**:简短描述你的站点
40+
- **特点**:列出站点特色
41+
42+
</div>
43+
-->
44+
45+
<div class="showcase-grid">
46+
47+
<div class="showcase-item">
48+
49+
### 取文件
50+
51+
- **网址**[quwenjian.cn](https://quwenjian.cn)
52+
- **简介**:取文件 - 存储无界,便携无限
53+
- **特点**:永久免费的文件中转站
54+
- **运营者**:取文件&取文件网盘
55+
56+
</div>
57+
58+
<div class="showcase-item">
59+
60+
### 潘多拉盒子
61+
62+
- **网址**[pan.duo.la](https://pan.duo.la)
63+
- **简介**:潘多拉盒子
64+
- **特点**:经典1.6版本
65+
- **运营者**:五行缺心眼
66+
67+
</div>
68+
69+
</div>
70+
71+
## 提交要求
72+
73+
为了保证收录站点的质量,请确保你的站点满足以下条件:
74+
75+
1. **稳定运行**:站点需要稳定运行,能够正常访问
76+
2. **合法合规**:站点内容需要合法合规,不得包含违法违规内容
77+
3. **保留版权**:建议保留 FileCodeBox 的版权信息
78+
4. **HTTPS 支持**:建议启用 HTTPS 加密访问
79+
80+
## 案例展示模板
81+
82+
如果你想提交站点,请按照以下格式:
83+
84+
```markdown
85+
### 站点名称
86+
87+
- **网址**:[域名](https://域名)
88+
- **简介**:一句话描述站点用途
89+
- **特点**:站点的特色功能或亮点
90+
- **运营者**:可选,你的名字或组织
91+
```
92+
93+
<style>
94+
.showcase-grid {
95+
display: grid;
96+
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
97+
gap: 20px;
98+
margin: 20px 0;
99+
}
100+
101+
.showcase-item {
102+
border: 1px solid var(--vp-c-divider);
103+
border-radius: 8px;
104+
padding: 20px;
105+
transition: all 0.3s ease;
106+
}
107+
108+
.showcase-item:hover {
109+
border-color: var(--vp-c-brand);
110+
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
111+
}
112+
113+
.showcase-item h3 {
114+
margin-top: 0;
115+
color: var(--vp-c-brand);
116+
}
117+
118+
.showcase-item ul {
119+
list-style: none;
120+
padding: 0;
121+
margin: 0;
122+
}
123+
124+
.showcase-item li {
125+
margin: 8px 0;
126+
}
127+
</style>

0 commit comments

Comments
 (0)