Skip to content
This repository was archived by the owner on Mar 11, 2026. It is now read-only.

Commit cfbd84d

Browse files
committed
chore: rice
1 parent b79b807 commit cfbd84d

3 files changed

Lines changed: 17 additions & 0 deletions

File tree

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<template>
2+
<div style="display: flex; justify-content: center; align-items: center; margin-top: 16px; gap: 12px;">
3+
<span style="font-size: 13px; color: #666; font-style: italic;;">Deployed on</span>
4+
<a href="https://www.rainyun.com/NjY3OTQ1_"><img src="https://www.rainyun.com/img/logo.d193755d.png" width="50" alt="Rainyun Logo"></a>
5+
6+
</div>
7+
</template>

.vitepress/theme/Sponsors.vue

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<template>
2+
<div style="background-color: #F6F6F7; padding: 24px; border-radius: 8px; font-size: 11px; display: flex; justify-content: center; align-items: center; flex-direction: column; gap: 8px;">
3+
<a href="https://www.rainyun.com/NjY3OTQ1_"><img width="80" src="https://www.rainyun.com/img/logo.d193755d.png"></a>
4+
<span>本站由<a href="https://www.rainyun.com/NjY3OTQ1_">雨云</a>提供云计算服务</span>
5+
</div>
6+
</template>

.vitepress/theme/index.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,17 @@
22
import { h } from 'vue'
33
import DefaultTheme from 'vitepress/theme'
44
import './style.css'
5+
import Sponsors from './Sponsors.vue'
6+
import HomeFeaturesAfter from './HomeFeaturesAfter.vue'
57

68
/** @type {import('vitepress').Theme} */
79
export default {
810
extends: DefaultTheme,
911
Layout: () => {
1012
return h(DefaultTheme.Layout, null, {
1113
// https://vitepress.dev/guide/extending-default-theme#layout-slots
14+
"aside-ads-after": () => h(Sponsors),
15+
"home-features-after": () => h(HomeFeaturesAfter),
1216
})
1317
},
1418
enhanceApp({ app, router, siteData }) {

0 commit comments

Comments
 (0)