Skip to content

Commit 6de7b8e

Browse files
committed
Add special sponsors
1 parent 840e09a commit 6de7b8e

File tree

8 files changed

+45
-2
lines changed

8 files changed

+45
-2
lines changed

README-zh.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,13 @@ bin/spc micro:combine my-app.phar -I "memory_limit=4G" -I "disable_functions=sys
292292

293293
你可以在 [我的个人赞助页](https://github.com/crazywhalecc/crazywhalecc/blob/master/FUNDING.md) 支持我和我的项目。你捐赠的一部分将会被用于维护 **static-php.dev** 服务器。
294294

295+
**特别赞助商**:
296+
297+
<a href="https://beyondco.de/"><img src="/docs/public/images/beyondcode-seeklogo.png" width="300" alt="Beyond Code Logo" /></a>
298+
299+
<a href="https://nativephp.com/"><img src="/docs/public/images/nativephp-logo.svg" width="300" alt="NativePHP Logo" /></a>
300+
301+
295302
## 开源协议
296303

297304
本项目采用 MIT License 许可开源,下面是类似的项目:

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -317,6 +317,12 @@ Now there is a [static-php](https://github.com/static-php) organization, which i
317317

318318
You can sponsor me or my project from [GitHub Sponsor](https://github.com/crazywhalecc). A portion of your donation will be used to maintain the **static-php.dev** server.
319319

320+
**Special thanks to sponsors below**:
321+
322+
<a href="https://beyondco.de/"><img src="/docs/public/images/beyondcode-seeklogo.png" width="300" alt="Beyond Code Logo" /></a>
323+
324+
<a href="https://nativephp.com/"><img src="/docs/public/images/nativephp-logo.svg" width="300" alt="NativePHP Logo" /></a>
325+
320326
## Open-Source License
321327

322328
This project itself is based on MIT License,

docs/.vitepress/config.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,10 @@ export default {
4747
nav: [],
4848
socialLinks: [
4949
{icon: 'github', link: 'https://github.com/crazywhalecc/static-php-cli'}
50-
]
50+
],
51+
footer: {
52+
message: 'Released under the MIT License.',
53+
copyright: 'Copyright © 2023-present crazywhalecc'
54+
}
5155
}
5256
}

docs/.vitepress/theme/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
import DefaultTheme from 'vitepress/theme'
33
import {inBrowser, useData} from "vitepress";
44
import {watchEffect} from "vue";
5+
import './style.css';
56

67
export default {
78
...DefaultTheme,
@@ -13,4 +14,4 @@ export default {
1314
}
1415
})
1516
}
16-
}
17+
}

docs/.vitepress/theme/style.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
/** override default styles */
2+
.vp-sponsor-grid-image {
3+
max-height:36px !important;
4+
max-width: 1000px !important;
5+
}
6+

docs/index.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,16 @@ features:
2121
- title: Dependency Management
2222
details: static-php-cli comes with dependency management and supports installation of different types of PHP extensions.
2323
---
24+
25+
<script setup>
26+
import {VPSponsors} from "vitepress/theme";
27+
const sponsors = [
28+
{ name: 'Beyond Code', img: '/images/beyondcode-seeklogo.png', url: 'https://beyondco.de/' },
29+
{ name: 'NativePHP', img: '/images/nativephp-logo.svg', url: 'https://nativephp.com/' },
30+
];
31+
</script>
32+
33+
## Special Sponsors
34+
35+
<VPSponsors :data="sponsors"/>
36+
28.7 KB
Loading

docs/public/images/nativephp-logo.svg

Lines changed: 6 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)